Changeset 518 for trunk


Ignore:
Timestamp:
Feb 18, 2013, 10:30:36 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Zobrazení záznamů v administraci.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Version.php

    r515 r518  
    11<?php
    22
    3 $Revision = 515; // Subversion revision
     3$Revision = 518; // Subversion revision
    44$DatabaseRevision = 510;
    5 $ReleaseTime = '2013-02-16';
     5$ReleaseTime = '2013-02-18';
    66
    77?>
  • trunk/log.php

    r507 r518  
    8686 
    8787  $sql = 'SELECT *, `LogType`.`Color` AS `LogColor`, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `Log`.`User`) AS `UserName` FROM `Log` LEFT JOIN `LogType` ON `LogType`.`Id`=`Log`.`Type` '.$Where.$Order['SQL'].$PageList['SQLLimit'];
    88   //echo($sql);
    8988  $DbResult = $System->Database->query($sql);
    9089  while($Line = $DbResult->fetch_assoc())
    9190  {
    92     //$Output .= '<tr><td>'.$Line['Date'].'</td><td><span style="color: '.$Line['LogColor'].'">'.$Line['Text'].'</span></td><td>'.$Line['UserName'].'</td><td>'.$Line['IP'].'</td></tr>';
     91    $Output .= '<tr><td>'.$Line['Date'].'</td>'.
     92    '<td><span style="color: '.$Line['LogColor'].'">'.htmlspecialchars($Line['Text']).'</span></td>'.
     93    '<td>'.$Line['UserName'].'</td>'.
     94    '<td>'.$Line['IP'].'</td></tr>';
    9395  }
    9496  $Output .= '</table>'.
Note: See TracChangeset for help on using the changeset viewer.