summaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-06 06:03:06 +0200
committergerv%gerv.net <>2002-04-06 06:03:06 +0200
commit53ebea8e40ed58dae86f11ef17da737143f550ab (patch)
tree8b299758d57cc333c1788b35fab902f49e426581 /template/default
parent181d044266e61ffa073d1aa7ba252e812ac03c65 (diff)
downloadbugzilla-53ebea8e40ed58dae86f11ef17da737143f550ab.tar.gz
bugzilla-53ebea8e40ed58dae86f11ef17da737143f550ab.tar.xz
Bug 126456 - fix our error handling. Change the name of the functions to something more sane; a few enhancements. Patch by gerv, 2xr=myk.
Diffstat (limited to 'template/default')
-rw-r--r--template/default/global/code-error.html.tmpl24
1 files changed, 15 insertions, 9 deletions
diff --git a/template/default/global/code-error.html.tmpl b/template/default/global/code-error.html.tmpl
index 47987729a..9f1fe2964 100644
--- a/template/default/global/code-error.html.tmpl
+++ b/template/default/global/code-error.html.tmpl
@@ -23,13 +23,17 @@
[% INCLUDE global/header %]
[% END %]
- <p>
- <tt>
- Bugzilla has suffered an internal error. Please save this page and send
- it, and its URL, to [% Param("maintainer") %], with details of what you
- were doing at the time this message appeared.
- </tt>
- </p>
+<tt>
+ <p>
+ Bugzilla has suffered an internal error. Please save this page and send
+ it to [% Param("maintainer") %] with details of what you were doing at
+ the time this message appeared.
+ </p>
+ <script> <!--
+ document.write("<p>URL: " + document.location + "</p>");
+ // -->
+ </script>
+</tt>
<table cellpadding="20">
<tr>
@@ -41,11 +45,13 @@
</tr>
</table>
-<pre>
+[% IF variables %]
+ <pre>
Variables:
[% FOREACH key = variables.keys %]
[%+ key %]: [%+ variables.$key %]
[% END %]
-</pre>
+ </pre>
+[% END %]
[% INCLUDE global/footer %]