Make the error page more informative, and include platform information.

This commit is contained in:
Bharat Mediratta
2010-08-08 01:48:09 -07:00
parent 4e95ec843a
commit 0d2237979a

View File

@@ -102,6 +102,10 @@
.number {
padding-right: 1em;
}
#g-platform h2 {
font-size: 1.1em;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?= t("Something went wrong!") ?></title>
@@ -144,6 +148,17 @@
<h2>
<?= t("Hey wait, you're an admin! We can tell you stuff.") ?>
</h2>
<p>
There's an error message below and you can find more details
in gallery3/var/logs (look for the file with the most recent
date on it). Stuck? Stop by the <a href="http://gallery.menalto.com/forum/96">Gallery 3
Forums</a> and ask for help. You can also look at our list
of <a href="http://sourceforge.net/apps/trac/gallery/roadmap">open
tickets</a> to see if the problem you're seeing has been
reported. If you post a request, here's some useful
information to include: <? @$block =
gallery_block::get("platform_info"); @print $block; ?>
</p>
<div id="kohana_error">
<h3>
<span class="type">