plugins/admin/SecurityLog.php
changeset 1352 d97cf005f674
parent 1227 bdac73ed481e
equal deleted inserted replaced
1351:a57727e67241 1352:d97cf005f674
   178 		case "u_from_admin"    : $return .= $lang->get('acpsl_entry_u_from_admin'     , array('username' => $r['page_text'])); break;
   178 		case "u_from_admin"    : $return .= $lang->get('acpsl_entry_u_from_admin'     , array('username' => $r['page_text'])); break;
   179 		case "u_from_mod"      : $return .= $lang->get('acpsl_entry_u_from_mod'       , array('username' => $r['page_text'])); break;
   179 		case "u_from_mod"      : $return .= $lang->get('acpsl_entry_u_from_mod'       , array('username' => $r['page_text'])); break;
   180 		case "u_to_admin"      : $return .= $lang->get('acpsl_entry_u_to_admin'       , array('username' => $r['page_text'])); break;
   180 		case "u_to_admin"      : $return .= $lang->get('acpsl_entry_u_to_admin'       , array('username' => $r['page_text'])); break;
   181 		case "u_to_mod"        : $return .= $lang->get('acpsl_entry_u_to_mod'         , array('username' => $r['page_text'])); break;
   181 		case "u_to_mod"        : $return .= $lang->get('acpsl_entry_u_to_mod'         , array('username' => $r['page_text'])); break;
   182 		case "view_comment_ip" : $return .= $lang->get('acpsl_entry_view_comment_ip'  , array('username' => htmlspecialchars($r['page_text']))); break;
   182 		case "view_comment_ip" : $return .= $lang->get('acpsl_entry_view_comment_ip'  , array('username' => htmlspecialchars($r['page_text']))); break;
       
   183 		case "pass_reset"      : $return .= $lang->get('acpsl_entry_pass_reset'); break;
   183 	}
   184 	}
   184 	$author_bit = '<span style="';
   185 	$author_bit = '<span style="';
   185 	$rank_info = $session->get_user_rank($r['author_uid']);
   186 	$rank_info = $session->get_user_rank($r['author_uid']);
   186 	$author_bit .= $rank_info['rank_style'];
   187 	$author_bit .= $rank_info['rank_style'];
   187 	$author_bit .= '">';
   188 	$author_bit .= '">';