Added log, settings and stats to detail report

This commit is contained in:
Latif Khalifa
2013-10-05 03:01:14 +02:00
parent dc57f4e5ae
commit c316bedf52
2 changed files with 28 additions and 2 deletions

View File

@@ -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();

View File

@@ -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;
}