Changeset 538 for trunk/log.php
- Timestamp:
- May 14, 2013, 9:21:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/log.php
r536 r538 57 57 $Output .= '<a href="log.php?type='.$LogType['Id'].'" style="color:'.$LogType['Color'].'" title="'.$LogType['Name'].'">'.$LogType['Name'].'</a> '; 58 58 } 59 }60 59 // echo ' Formát: datum: text zprávy (uživatel, IP)<br /><br />'; 61 60 $Output .= '<br /><br />'; … … 92 91 { 93 92 if($Line['Type'] == LOG_TYPE_ERROR) $Line['Text'] = htmlspecialchars($Line['Text']); 94 $Output .= '<tr><td>'.$Line['Date'].'</td>'. 93 $Line['Text'] = str_replace("\n", '<br>', $Line['Text']); 94 $Output .= '<tr><td>'.$Line['Date'].'</td>'. 95 95 '<td>'.$Line['LogName'].'</td>'. 96 96 '<td><span style="color: '.$Line['LogColor'].'">'.$Line['Text'].'</span></td>'. … … 100 100 $Output .= '</table>'. 101 101 $PageList['Output']; 102 102 } else $Output .= ShowMessage('Nemáte oprávnění.', MESSAGE_CRITICAL); 103 103 104 ShowPage($Output); 104 105 }
Note:
See TracChangeset
for help on using the changeset viewer.