admin template/stylesheet fix
[mir.git] / templates / admin / breaking.template
index d0ed020..8292cf4 100755 (executable)
@@ -6,37 +6,47 @@
 
 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
 
-<include "templates/admin/head.template">
+<include "head.template">
+<include "FUNCTIONS.template">
+
+
 <form action="${config.actionRoot}" method="post">
        <input type="hidden" name="module" value="Breaking">
        <input type="hidden" name="id" value="${data.id}">
        <if data.new><input type="hidden" name="do" value="insert">
        <else><input type="hidden" name="do" value="update"></if>
 <table border="0">
+  
   <tr>
-    <td align="right" class="darkgrey"><span class="witesmall">
-       <B>${lang("breaking.date")}:</B></span></td>
-    <td>
+    <td align="right" class="table-left">
+        <B>${lang("breaking.date")}:</B>
+       </td>
+    <td class="listrow2">
       ${data.webdb_create_formatted}
     </td>
   </tr>
 
+  
+  
   <tr>
-    <td align="right" class="darkgrey"><span class="witesmall">
-       <B>${lang("breaking.text")}:</B> ${lang("breaking.textinfo")}</span></td>
-    <td>
-        <textarea cols="50" rows="3" name="text" wrap=virtual>${data.text}</textarea>
+    <td align="right" class="table-left">
+       <B>${lang("breaking.text")}:</B><br> ${lang("breaking.textinfo")}</td>
+    <td class="listrow2">
+        <textarea cols="50" rows="5" name="text" wrap=virtual>${data.text}</textarea>
     </td>
   </tr>
 
   <tr>
-    <td colspan="2" align="right"> <span class="wite"><if data.new>
-      <input type="submit" name="save" value="${lang("insert")}">
-    <else>
-    <input type="submit" name="save" value="${lang("save")}">
-    </if> </span></form></span>
+    <td colspan="2" align="right" class="table-foot">
+               <if data.new>
+                       <input type="submit" name="save" value="${lang("insert")}">
+               <else>
+                       <input type="submit" name="save" value="${lang("save")}">
+               </if> 
     </td>
 </table>
-<include "templates/admin/foot.template">
+</form>
+<p><a class="link-box" href="${config.actionRoot}?module=Breaking&do=list">[&lt;] ${lang("back")}</a></p>
+<include "foot.template">
 </body>
 </html>