fixed a bug: synchronization now really optional
[mir.git] / templates / admin / languagelist.template
index 5ea92b3..d22c92a 100755 (executable)
@@ -1,49 +1,61 @@
 <html>
-<head>
-       <title>${config["Mir.Name"]} | ${lang("languagelist.htmltitle")}</title>
-        <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
-</head>
+  <head>
+    <title>${config["Mir.Name"]} | ${lang("languagelist.htmltitle")}</title>
+    <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
+  </head>
+  <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
+    <include "templates/admin/head.template">
 
-<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
+    <p>
+      <a class="majorcommand" href="${config.actionRoot}?module=Language&do=add">${lang("add")}</a> |
+      <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
+    </p>
 
-<include "templates/admin/head.template">
-<if data.contentlist>
-<table border="0" cellpadding="2" cellspacing="1">
-  <tr class="darkgrey">
-    <td><span class="witesmall"><b>${lang("language.name")}</b></span></td>
-    <td><span class="witesmall"><b>${lang("language.code")}</b></span></td>
-       <td>&nbsp;</td>
-  </tr>
+    <if data.contentlist>
+      <table border="0" cellpadding="2" cellspacing="1">
+        <tr class="darkgrey">
+          <td><span class="witesmall"><b>${lang("language.name")}</b></span></td>
+          <td><span class="witesmall"><b>${lang("language.code")}</b></span></td>
+               <td>&nbsp;</td>
+        </tr>
+      
+        <list data.contentlist as entry>
+          <if grey=="1"><assign grey="0"><tr class="list1"><else><tr class="list2"><assign grey="1"></if>
+            <td>${entry.name}&nbsp;</td>
+            <td>${entry.code}&nbsp;</td>
+            <td>
+              <span class="text">&nbsp;
+                <a href="${config.actionRoot}?module=Language&do=delete&id=${entry.id}">${lang("delete")}</a> | 
+                <a href="${config.actionRoot}?module=Language&do=edit&id=${entry.id}">${lang("edit")}</a>
+              </span>
+            </td>
+          </tr>
+        </list>
+        <tr>
+          <td colspan="3" class="darkgrey"><span class="witetext">${data.count} ${lang("records")}
+            / ${lang("show_from_to", data.from, data.to)}</span></td>
+          <td>&nbsp;</td>
+        </tr>
+      </table>
+      
+      <p>
+      <if data.prev>
+         <a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&prevoffset=${data.prev}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
+      </if>
+      <if data.next>
+      <a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&nextoffset=${data.next}&next=weiter">${lang("list.next")}</a>
+      </if>
+    <else>
+      <P align="center">${lang("no_matches_found")}</p>
+    </if>
 
-  <list data.contentlist as entry>
-  <tr>
-       <if grey=="1"><assign grey="0">class="list1"<else>class="list2"<assign grey="1"> </if>>
-  <td>${entry.name}&nbsp;</td>
-  <td>${entry.code}&nbsp;</td>
-  <td><span class="text">&nbsp;<a href="${config.actionRoot}?module=Language&do=delete&id=${entry.id}">${lang("delete")}</a>
-    | <a href="${config.actionRoot}?module=Language&do=edit&id=${entry.id}">${lang("edit")}</a></span></td>
-  </tr>
-  </list>
-  <tr>
-    <td colspan="3" class="darkgrey"><span class="witetext">${data.count} ${lang("records")}
-      / ${lang("show_from_to", data.from, data.to)}</span></td>
-    <td>&nbsp;</td>
-  </tr>
-</table>
+    <p>
+      <a class="majorcommand" href="${config.actionRoot}?module=Language&do=add">${lang("add")}</a> |
+      <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
+    </p>
 
-      <P>
-<if data.prev>
-       <a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&prevoffset=${data.prev}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
-</if>
-<if data.next>
-<a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&nextoffset=${data.next}&next=weiter">${lang("list.next")}</a>
-</if>
-
-<else>
-  <P align="center">${lang("no_matches_found")}</p>
-</if>
-<include "templates/admin/foot.template">
-</body>
+    <include "templates/admin/foot.template">
+  </body>
 </html>