plugins/admin/SecurityLog.php
changeset 359 e0787bb6285b
parent 358 b25d34fbc7ab
child 387 92664d2efab8
equal deleted inserted replaced
358:b25d34fbc7ab 359:e0787bb6285b
   160     case "magick_enable"   : $return .= $lang->get('acpsl_entry_magick_enable')   ; break;
   160     case "magick_enable"   : $return .= $lang->get('acpsl_entry_magick_enable')   ; break;
   161     case "magick_disable"  : $return .= $lang->get('acpsl_entry_magick_disable')  ; break;
   161     case "magick_disable"  : $return .= $lang->get('acpsl_entry_magick_disable')  ; break;
   162     case "filehist_enable" : $return .= $lang->get('acpsl_entry_filehist_enable') ; break;
   162     case "filehist_enable" : $return .= $lang->get('acpsl_entry_filehist_enable') ; break;
   163     case "filehist_disable": $return .= $lang->get('acpsl_entry_filehist_disable'); break;
   163     case "filehist_disable": $return .= $lang->get('acpsl_entry_filehist_disable'); break;
   164     case "magick_path"     : $return .= $lang->get('acpsl_entry_magick_path')     ; break;
   164     case "magick_path"     : $return .= $lang->get('acpsl_entry_magick_path')     ; break;
   165     case "plugin_disable"  : $return .= $lang->get('acpsl_entry_plugin_disable'   , array('plugin' => $r['page_text']))  ; break;
   165     case "plugin_disable"  : $return .= $lang->get('acpsl_entry_plugin_disable'   , array('plugin' => $r['page_text'])); break;
   166     case "plugin_enable"   : $return .= $lang->get('acpsl_entry_plugin_enable'    , array('plugin' => $r['page_text']))   ; break;
   166     case "plugin_enable"   : $return .= $lang->get('acpsl_entry_plugin_enable'    , array('plugin' => $r['page_text'])); break;
   167     case "seclog_unauth"   : $return .= $lang->get('acpsl_entry_seclog_unauth')   ; break;
   167     case "seclog_unauth"   : $return .= $lang->get('acpsl_entry_seclog_unauth')   ; break;
   168     case "u_from_admin"    : $return .= $lang->get('acpsl_entry_u_from_admin'     , array('username' => $r['page_text']))    ; break;
   168     case "u_from_admin"    : $return .= $lang->get('acpsl_entry_u_from_admin'     , array('username' => $r['page_text'])); break;
   169     case "u_from_mod"      : $return .= $lang->get('acpsl_entry_u_from_mod'       , array('username' => $r['page_text']))      ; break;
   169     case "u_from_mod"      : $return .= $lang->get('acpsl_entry_u_from_mod'       , array('username' => $r['page_text'])); break;
   170     case "u_to_admin"      : $return .= $lang->get('acpsl_entry_u_to_admin'       , array('username' => $r['page_text']))      ; break;
   170     case "u_to_admin"      : $return .= $lang->get('acpsl_entry_u_to_admin'       , array('username' => $r['page_text'])); break;
   171     case "u_to_mod"        : $return .= $lang->get('acpsl_entry_u_to_mod'         , array('username' => $r['page_text']))        ; break;
   171     case "u_to_mod"        : $return .= $lang->get('acpsl_entry_u_to_mod'         , array('username' => $r['page_text'])); break;
       
   172     case "view_comment_ip" : $return .= $lang->get('acpsl_entry_view_comment_ip'  , array('username' => htmlspecialchars($r['page_text']))); break;
   172   }
   173   }
   173   $return .= '</td><td class="'.$cls.'">'.enano_date('d M Y h:i a', $r['time_id']).'</td><td class="'.$cls.'">'.$r['author'].'</td><td class="'.$cls.'" style="cursor: pointer;" onclick="ajaxReverseDNS(this);" title="' . $lang->get('acpsl_tip_reverse_dns') . '">'.$r['edit_summary'].'</td></tr>';
   174   $return .= '</td><td class="'.$cls.'">'.enano_date('d M Y h:i a', $r['time_id']).'</td><td class="'.$cls.'">'.$r['author'].'</td><td class="'.$cls.'" style="cursor: pointer;" onclick="ajaxReverseDNS(this);" title="' . $lang->get('acpsl_tip_reverse_dns') . '">'.$r['edit_summary'].'</td></tr>';
   174   return $return;
   175   return $return;
   175 }
   176 }
   176 
   177