Changeset 2945


Ignore:
Timestamp:
05/30/10 05:36:16 (21 months ago)
Author:
nuxwin
Message:
  • [GUI] Fixed: tohtml() must not be applied on admin logs
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r2943 r2945  
    1313                * Fixed doc/typo in Config, IspCP_ConfigHandler and IspCP_Registry 
    1414                        classes 
     15                * Fixed: tohtml() must not be applied on admin logs 
    1516 
    16172010-05-29 Laurent Declercq 
  • trunk/gui/admin/admin_log.php

    r2941 r2945  
    143143                        ); 
    144144 
    145                         $log_message = htmlentities($rs->fields['log_message']); 
     145                        $log_message = $rs->fields['log_message']; 
     146 
    146147                        $replaces = array( 
    147148                                '/[^a-zA-Z](delete[sd]?)[^a-zA-Z]/i'    => ' <strong style="color:#FF0000">\\1</strong> ', 
     
    165166                        $tpl->assign( 
    166167                                array( 
    167                                         'MESSAGE'       => tohtml($log_message), 
     168                                        'MESSAGE'       => $log_message, 
    168169                                        'DATE'          => date($date_formt, strtotime($rs->fields['dat'])), 
    169170                                ) 
Note: See TracChangeset for help on using the changeset viewer.