Added log, settings and stats to detail report
This commit is contained in:
@@ -5,7 +5,6 @@ require_once SITE_ROOT . "/lib/init.php";
|
|||||||
$S->requireUser();
|
$S->requireUser();
|
||||||
|
|
||||||
$report = CrashReport::getReport((int)$_GET["id"]);
|
$report = CrashReport::getReport((int)$_GET["id"]);
|
||||||
|
|
||||||
if (!$report)
|
if (!$report)
|
||||||
{
|
{
|
||||||
Layout::header();
|
Layout::header();
|
||||||
@@ -15,6 +14,9 @@ if (!$report)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$full = ReportParser::parse($report->id);
|
||||||
|
//print_r (array_keys($full));
|
||||||
|
|
||||||
Layout::header();
|
Layout::header();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@@ -111,6 +113,30 @@ Layout::header();
|
|||||||
<?php endfor ?>
|
<?php endfor ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if (strlen($full["StatsLog"])): ?>
|
||||||
|
<h3>Stats</h3>
|
||||||
|
<pre>
|
||||||
|
<?php echo htmlentities($full["StatsLog"]) ?>
|
||||||
|
</pre>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if (strlen($full["SecondLifeLog"])): ?>
|
||||||
|
<h3>Log</h3>
|
||||||
|
<pre>
|
||||||
|
<?php echo htmlentities($full["SecondLifeLog"]) ?>
|
||||||
|
</pre>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if (strlen($full["SettingsXml"])): ?>
|
||||||
|
<h3>Settings</h3>
|
||||||
|
<pre>
|
||||||
|
<?php echo htmlentities($full["SettingsXml"]) ?>
|
||||||
|
</pre>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
Layout::footer();
|
Layout::footer();
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ tr.rowhighlight:hover {
|
|||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 8pt;
|
font-size: 9pt;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user