rebuilding head
[mir.git] / templates / admin / usererror.template
index fc61c25..3b7bc0c 100755 (executable)
@@ -1,37 +1,19 @@
 <html>
-<head>
-<title>${lang("usererror.htmltitle")}</title>
-</head>
-<body>
-<include "templates/admin/head_nonavi.template">
-<table width="100%" border="0" align="center">
-       <tr bgcolor="#006600">
-               <td>
-                       <div align="center"><h2><font color="Pink">${lang("usererror.title")}</font></h2>
-                       </div>
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       <p>${lang("usererror.text")}
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       <p>
-                       <p align="center"><font size="5" color="Red"><b> ${data.errorstring}</b></font>
-            <p>
-                       <p> 
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       <p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1">${lang("usererror.what_to_do")}
-                       </a></font>
-                       <p>
-               </td>
-       </tr>
-</table>
-<include "foot.template">
-</body>
+  <head>
+    <title>${config["Mir.Name"]} | ${lang("error.htmltitle")}</title>
+    <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
+  </head>
+  <body>
+    <include "head.template">
+
+    <table width="70%" align="center"><tr><td>
+
+      <p class="box-head" align="center"><font size="+2"><b>${lang("usererror.title")}</b></font></p>
+      <p align="center" class="bg-neutral"><br><font color="red">${date.format(config["Mir.DefaultDateTimeFormat"])} -- ${errorstring}</font><br><br></p>
+      <p align="center">${lang("usererror.what_to_do")}</p>
+
+    </td></tr></table>
+
+    <include "foot.template">
+  </body>
 </html>