Half way through rewriting web interface. Don't even think about
[disorder] / templates / error.tmpl
diff --git a/templates/error.tmpl b/templates/error.tmpl
new file mode 100644 (file)
index 0000000..64ad6ff
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!--
+This file is part of DisOrder.
+Copyright (C) 2005, 2007, 2008 Richard Kettlewell
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+USA
+-->
+<html>
+ <head>
+@include:stdhead@
+  <title>@label:error.title@</title>
+ </head>
+ <body>
+@include{topbar}@
+   <h1>@label:error.title@</h1>
+    
+  <div class=error>
+    <p class=error>@label{error.@label:error@}@</p>
+
+    <p class=error>@label:error.generic@</p>
+  </div>
+
+@include{topbarend}@
+ </body>
+</html>
+@@
+<!--
+Local variables:
+mode:sgml
+sgml-always-quote-attributes:nil
+sgml-indent-step:1
+sgml-indent-data:t
+End:
+-->