Reverted of changes in 1704, see ticket #160
[mailer.git] / templates / de / html / admin / admin_add_cat.tpl
index 36353a787caea8938637bbded63ded99de1a2d5e..a1a93834f7f9464ef72fe05b4714797c3f06e73c 100644 (file)
@@ -1,62 +1,49 @@
-<FORM action="{!URL!}/modules.php?module=admin&amp;what=config_cats"
-       method="POST" style="margin-bottom: 0px">
-<TABLE border="0" cellspacing="0" cellpadding="0" align="center"
-       class="admin_table dashed">
-       <TR>
-               <TD class="admin_title bottom2 seperator" width="10" height="30">&nbsp;</TD>
-               <TD class="admin_title bottom2" align="center" colspan="3"><STRONG>{--ADD_NEW_CATEGORY--}</STRONG>
-               </TD>
-               <TD class="admin_title bottom2 seperator" width="10">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD height="7" colspan="5" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD class="seperator" width="10">&nbsp;</TD>
-               <TD align="right" width="200"><STRONG>{--ENTER_CATNAME--}:</STRONG>
-               </TD>
-               <TD class="seperator" width="7">&nbsp;</TD>
-               <TD><INPUT type="text" name="catname" size="30" maxlength="255"
-                       class="admin_normal"></TD>
-               <TD class="seperator" width="10">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD height="7" colspan="5" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD class="seperator" width="10">&nbsp;</TD>
-               <TD align="right" width="200"><STRONG>{--SELECT_PARENT--}</STRONG>
-               </TD>
-               <TD class="seperator" width="7">&nbsp;</TD>
-               <TD><SELECT name="parent" size="1" class="admin_select">
-                       {--CATS--}
-                       <OPTION value="-1">{--IS_TOP_CATEGORY--}</OPTION>
-               </SELECT></TD>
-               <TD class="seperator" width="10">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD height="7" colspan="5" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD class="seperator" width="10">&nbsp;</TD>
-               <TD align="right" width="200"><STRONG>{--CAT_IS_VISIBLE--}</STRONG>
-               </TD>
-               <TD class="seperator" width="7">&nbsp;</TD>
-               <TD>{--YES--}: <INPUT type="radio" name="visible" value='Y'
-                       class="admin_normal" checked>&nbsp;&nbsp; {--NO--}: <INPUT
-                       type="radio" name="visible" value='N' class="admin_normal"></TD>
-               <TD class="seperator" width="10">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD height="7" colspan="5" class="seperator bottom2">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD class="admin_footer seperator" width="10">&nbsp;</TD>
-               <TD class="admin_footer" align="center" colspan="3"><INPUT
-                       type="reset" class="admin_reset" value="{--CLEAR_FORM--}">&nbsp;*&nbsp;<INPUT
-                       type="submit" name="add" class="admin_submit"
-                       value="{--ADD_NEW_CAT--}"></TD>
-               <TD class="admin_footer seperator" width="10">&nbsp;</TD>
-       </TR>
-</TABLE>
-</FORM>
\ No newline at end of file
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&amp;what=config_cats%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+       <tr>
+               <td class="admin_title bottom" align="center" colspan="2">
+                       <strong>{--ADD_NEW_CATEGORY--}</strong>
+               </td>
+       </tr>
+
+       <tr>
+               <td align="right">
+                       <strong>{--ENTER_CATNAME--}:</strong>
+               </td>
+               <td>
+                       <input type="text" class="admin_normal" name="catname" size="30" maxlength="255" />
+               </td>
+       </tr>
+
+       <tr>
+               <td align="right">
+                       <strong>{--SELECT_PARENT--}</strong>
+               </td>
+               <td>
+                       <select name="parent" size="1" class="admin_select">
+                               $content[cats]
+                               <option value="-1">{--IS_TOP_CATEGORY--}</option>
+                       </select>
+               </td>
+       </tr>
+
+       <tr>
+               <td class="bottom" align="right">
+                       <strong>{--CAT_IS_VISIBLE--}</strong>
+               </td>
+               <td class="bottom">
+                       <input type="radio" class="admin_normal" name="visible" value="Y" checked="checked" /> {--YES--}<br />
+                       <input type="radio" class="admin_normal" name="visible" value="N" /> {--NO--}
+               </td>
+       </tr>
+
+       <tr>
+               <td class="admin_footer" colspan="2">
+                       <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
+                       <input type="submit" name="add" class="admin_submit" value="{--ADD_NEW_CAT--}" />
+               </td>
+       </tr>
+</table>
+</form>
+</div>