summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-06 16:11:29 +0300
committerAndrew Dolgov <[email protected]>2021-02-06 16:11:29 +0300
commit73070544cac953fa48f8059b6d406a7a4654ceae (patch)
tree905d5e2c60fd1aefd2672fe925af983cbe11021d /classes
parent5cfc5914f29a9ff9ad5231bc4eb9027ad1bc2523 (diff)
error log: make it more readable
Diffstat (limited to 'classes')
-rw-r--r--classes/pref/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php
index 9b8ce29be..e21209427 100644
--- a/classes/pref/system.php
+++ b/classes/pref/system.php
@@ -98,7 +98,7 @@ class Pref_System extends Handler_Protected {
print '<div style="padding : 0px" dojoType="dijit.layout.ContentPane" region="center">';
- print "<table width='100%' cellspacing='10' class='prefErrorLog'>";
+ print "<table width='100%' class='event-log'>";
print "<tr class='title'>
<td width='5%'>".__("Error")."</td>
@@ -129,7 +129,7 @@ class Pref_System extends Handler_Protected {
print "<td class='errno'>" . Logger::$errornames[$line["errno"]] . " (" . $line["errno"] . ")</td>";
print "<td class='filename'>" . $line["filename"] . ":" . $line["lineno"] . "</td>";
- print "<td class='errstr'>" . $line["errstr"] . "<hr/>" . nl2br($line["context"]) . "</td>";
+ print "<td class='errstr'>" . $line["errstr"] . "\n" . $line["context"] . "</td>";
print "<td class='login'>" . $line["login"] . "</td>";
print "<td class='timestamp'>" .