major cleanup:
[mir.git] / templates / admin / head.template
index b482efc..0c942f7 100755 (executable)
@@ -1,22 +1,21 @@
 <a name="top"></a>
-<table width="100%" cellspacing="0" cellpadding="0">
- <tr class="dark">
-  <td colspan="2">
-   <img src="${config.docRoot}/img/logo_small.gif" border="0" align="middle">&nbsp;
-    <span class="witesmall">
-       <b>${config["Mir.Name"]}</b></span></td></tr>
-<tr>
-<if returnurl>
-<td align="left">
-<a href="${config.actionRoot}?${returnurl}"><span class="spezialtext">${lang("back")}</span></a>
-</td>
-</if>
 
-
-<td align="right"><span class="spezialtext">
-       <a href="${config.actionRoot}"><span class="spezialtext">${lang("head.start")}</span></a> |
-       <a href="${config.actionRoot}?module=logout"><span class="spezialtext">${lang("head.logout")}</span></a> |
-       <a href="${config.docRoot}/help/help.html"><span class="spezialtext">${lang("head.help")}</span></a> | ${lang("head.search")}</span></td></tr>
-<tr>  <td colspan="2">
-<hr></td></tr>
+<table class="table-head" width="100%" cellspacing="0" cellpadding="0">
+  <tr>
+    <td><img src="${config.docRoot}/img/logo_small.gif" border="0" align="left"></td>
+    <td>
+      ${config["Mir.Name"]} &nbsp; | &nbsp; ${config.now.format(config["Mir.DefaultDateTimeFormat"])} 
+    </td>
+    <td class="table-head" align="right">
+      <a href="${config.actionRoot}?module=Users&amp;do=changepassword&amp;id=${login_user.id}&amp;returnurl="><span class="table-head">${lang("head.changepassword")}</span></a> &nbsp; | &nbsp;
+      <if returnurl>
+        <a href="${config.actionRoot}?${returnurl}"><span class="table-head">[ &lt; ] ${lang("back")}</span></a> &nbsp; | &nbsp;
+      </if> 
+      <a href="${config.actionRoot}"><span class="table-head">${lang("head.start")}</span></a> &nbsp; | &nbsp;
+      <a href="${config.actionRoot}?module=logout"><span class="table-head">${lang("head.logout")}
+      <if login_user> <i>${login_user.login}</i> </if>
+      </span></a>
+    </td>
+  </tr>
 </table>
+<hr>