merged in trez's css templates
[mir.git] / templates-dist / admin / messagelist.template
index 45b7164..0e352e3 100755 (executable)
@@ -1,36 +1,37 @@
 <html>
 <head>
-       <title>${lang("messagelist.htmltitle")}</title>
+       <title>${config["Mir.Name"]} | ${lang("messagelist.htmltitle")}</title>
+        <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
 </head>
 
-<body bgcolor="#FFFFFF">
+<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
+
 <include "admin/head.template">
 <if data.contentlist>
 <table border="0" cellpadding="2" cellspacing="1">
-  <tr bgcolor="#006600">
-    <td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
-               <b>${lang("message.date")}</b></font></td>
-    <td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
-               <b>${lang("message.title")}<br>${lang("message.creator")}</b></font></td>
-    <td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
-               <b>${lang("message.text")}</b></font></td>
+  <tr class="darkgrey">
+    <td><span class="witesmall">
+               <b>${lang("message.date")}</b></span></td>
+    <td><span class="witesmall">
+               <b>${lang("message.title")}<br>${lang("message.creator")}</b></span></td>
+    <td><span class="witesmall">
+               <b>${lang("message.text")}</b></span></td>
   </tr>
 
   <list data.contentlist as entry>
   <tr
-       <if grey=="1"><assign grey="0">bgcolor="#dddddd" <else><assign grey="1"> </if>
-  >
+       <if grey=="1"><assign grey="0">class="list1"<else>class="list2"<assign grey="1"> </if>>
   <td>${entry.webdb_create}&nbsp;</td>
   <td><b>${entry.title}</b><br>
       <i>${entry.creator}</i></td>
-  <td bgcolor="Pink">${entry.description}&nbsp;</td>
-  <td><font size="1">&nbsp;<a href="${config.actionRoot}?module=Message&do=delete&id=${entry.id}">${lang("delete")}</a>
-    | <a href="${config.actionRoot}?module=Message&do=edit&id=${entry.id}">${lang("edit")}</a></font></td>
+  <td class="pink">${entry.description}&nbsp;</td>
+  <td><span class="text">&nbsp;<a href="${config.actionRoot}?module=Message&do=delete&id=${entry.id}">${lang("delete")}</a>
+    | <a href="${config.actionRoot}?module=Message&do=edit&id=${entry.id}">${lang("edit")}</a></span></td>
   </tr>
   </list>
   <tr>
-    <td colspan="3" bgcolor="#006600"><font color="#ffffff">${data.count} ${lang("records")} /
-        ${lang("show_from_to", data.from, data.to)}</font></td>
+    <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>