diff --git a/htdocs/report_detail.php b/htdocs/report_detail.php index baa573b..8ec034f 100644 --- a/htdocs/report_detail.php +++ b/htdocs/report_detail.php @@ -2,6 +2,8 @@ define("SITE_ROOT", realpath(dirname(__file__))); require_once SITE_ROOT . "/lib/init.php"; +require_once SITE_ROOT.'/lib/llsd_classes.php'; +require_once SITE_ROOT.'/lib/llsd_decode.php'; $S->requireUser(); $report = CrashReport::getReport((int)$_GET["id"]); @@ -175,12 +177,46 @@ $(function() { - + $val) +{ + if (is_array($val["Value"])) + { + $val["Value"] = "[" . implode(", ", $val["Value"]) . "]"; + } + + if ($val["Type"] == "Boolean") + { + $val["Value"] = $val["Value"] ? "True" : "False"; + } + + if ($val["Type"] != "Rect") + { + $first[$key] = $val; + } + else + { + $second[$key] = $val; + } +} + +$settings = array_merge($first, $second); +?>
-
-
-
-
+ + + $val): ?> + "> + + + + + +
+