Reverted of changes in 1704, see ticket #160
[mailer.git] / templates / de / html / admin / admin_add_cat.tpl
index a8c1e2b1a03dafc6c321fa6113396ee7a4a40fdc..a1a93834f7f9464ef72fe05b4714797c3f06e73c 100644 (file)
@@ -1,66 +1,48 @@
 <div align="center">
-<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">
+<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 bottom2 seperator" width="10" height="30">&nbsp;</td>
-               <td class="admin_title bottom2" align="center" colspan="3">
+               <td class="admin_title bottom" align="center" colspan="2">
                        <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">
+               <td align="right">
                        <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" />
+                       <input type="text" class="admin_normal" name="catname" size="30" maxlength="255" />
                </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">
+               <td align="right">
                        <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>
+               <td>
+                       <select name="parent" size="1" class="admin_select">
+                               $content[cats]
+                               <option value="-1">{--IS_TOP_CATEGORY--}</option>
+                       </select>
+               </td>
        </tr>
+
        <tr>
-               <td class="seperator" width="10">&nbsp;</td>
-               <td align="right" width="200">
+               <td class="bottom" align="right">
                        <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="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>
+               <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 seperator" width="10">&nbsp;</td>
-               <td class="admin_footer" colspan="3">
+               <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>
-               <td class="admin_footer seperator" width="10">&nbsp;</td>
        </tr>
 </table>
 </form>