filter page bugs resolved
[mir.git] / templates / admin / head.template
index 37fb6c0..54a269f 100755 (executable)
@@ -1,13 +1,40 @@
 <a name="top"></a>
-<table width="100%" cellspacing="0" cellpadding="0">
- <tr class="dark">
-  <td>
-   <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><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><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>
+<if loggedinusers>
+  <table cellpadding="3" cellspacing="0" width="100%">
+    <tr >
+      <td class="bg-neutral small" align="left">
+        <b>${lang("system.loggedin")}
+        <list loggedinusers as u>
+          ${u.name} (${u.count})
+        </list>
+        </b>
+      </td>
+      <td class="bg-neutral small" align="right">
+        <b>${lang("system.status")}
+        ${systemstatus}
+        </b>
+      </td>
+    </tr>
+  </table>
+<hr>
+</if>