plugins/admin/SecurityLog.php
changeset 950 36289dcb5c8a
parent 801 eb8b23f11744
child 1013 8626bb38410f
equal deleted inserted replaced
949:e06789dba481 950:36289dcb5c8a
   138     $class = ( isPage($paths->nslist[$illegal_ns] . $illegal_id) ) ? '' : ' class="wikilink-nonexistent"';
   138     $class = ( isPage($paths->nslist[$illegal_ns] . $illegal_id) ) ? '' : ' class="wikilink-nonexistent"';
   139     $illegal_link = '<a href="' . $url . '"' . $class . ' onclick="window.open(this.href); return false;">' . $title . '</a>';
   139     $illegal_link = '<a href="' . $url . '"' . $class . ' onclick="window.open(this.href); return false;">' . $title . '</a>';
   140   }
   140   }
   141   else if ( $r['action'] == 'plugin_enable' || $r['action'] == 'plugin_disable' )
   141   else if ( $r['action'] == 'plugin_enable' || $r['action'] == 'plugin_disable' )
   142   {
   142   {
   143     $row['page_text'] = htmlspecialchars($row['page_text']);
   143     $r['page_text'] = htmlspecialchars($r['page_text']);
   144   }
   144   }
   145   $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   145   $cls = ( $cls == 'row2' ) ? 'row1' : 'row2';
   146   $return .= '<tr><td class="'.$cls.'">';
   146   $return .= '<tr><td class="'.$cls.'">';
   147   switch($r['action'])
   147   switch($r['action'])
   148   {
   148   {