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();
|
||||
|
||||
$report = CrashReport::getReport((int)$_GET["id"]);
|
||||
|
||||
if (!$report)
|
||||
{
|
||||
Layout::header();
|
||||
@@ -15,6 +14,9 @@ if (!$report)
|
||||
}
|
||||
|
||||
|
||||
$full = ReportParser::parse($report->id);
|
||||
//print_r (array_keys($full));
|
||||
|
||||
Layout::header();
|
||||
?>
|
||||
|
||||
@@ -111,6 +113,30 @@ Layout::header();
|
||||
<?php endfor ?>
|
||||
</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
|
||||
Layout::footer();
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ tr.rowhighlight:hover {
|
||||
|
||||
pre {
|
||||
font-family: monospace;
|
||||
font-size: 8pt;
|
||||
font-size: 9pt;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
Reference in New Issue
Block a user