-<FORM action="{!URL!}/modules.php?module=admin&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"> </TD>
- <TD class="admin_title bottom2" align="center" colspan="3"><STRONG>{--ADD_NEW_CATEGORY--}</STRONG>
- </TD>
- <TD class="admin_title bottom2 seperator" width="10"> </TD>
- </TR>
- <TR>
- <TD height="7" colspan="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD class="seperator" width="10"> </TD>
- <TD align="right" width="200"><STRONG>{--ENTER_CATNAME--}:</STRONG>
- </TD>
- <TD class="seperator" width="7"> </TD>
- <TD><INPUT type="text" name="catname" size="30" maxlength="255"
- class="admin_normal"></TD>
- <TD class="seperator" width="10"> </TD>
- </TR>
- <TR>
- <TD height="7" colspan="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD class="seperator" width="10"> </TD>
- <TD align="right" width="200"><STRONG>{--SELECT_PARENT--}</STRONG>
- </TD>
- <TD class="seperator" width="7"> </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"> </TD>
- </TR>
- <TR>
- <TD height="7" colspan="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD class="seperator" width="10"> </TD>
- <TD align="right" width="200"><STRONG>{--CAT_IS_VISIBLE--}</STRONG>
- </TD>
- <TD class="seperator" width="7"> </TD>
- <TD>{--YES--}: <INPUT type="radio" name="visible" value="Y"
- class="admin_normal" checked> {--NO--}: <INPUT
- type="radio" name="visible" value="N" class="admin_normal"></TD>
- <TD class="seperator" width="10"> </TD>
- </TR>
- <TR>
- <TD height="7" colspan="5" class="seperator bottom2"> </TD>
- </TR>
- <TR>
- <TD class="admin_footer seperator" width="10"> </TD>
- <TD class="admin_footer" align="center" colspan="3"><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"> </TD>
- </TR>
-</TABLE>
-</FORM>
\ No newline at end of file
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&what=config_cats%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td class="table_header bottom" align="center" colspan="2">
+ <strong>{--ADMIN_ADD_NEW_CATEGORY_TITLE--}</strong>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right">
+ {--ADMIN_ENTER_CATEGORY_NAME--}:
+ </td>
+ <td>
+ <input type="text" class="form_field" name="catname" size="30" maxlength="255" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right">
+ {--ADMIN_SELECT_PARENT_CATEGORY--}
+ </td>
+ <td>
+ <select name="parent" size="1" class="form_select">
+ $content[cats]
+ <option value="-1">{--IS_TOP_CATEGORY--}</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="bottom" align="right">
+ {--ADMIN_CATEGORY_IS_VISIBLE--}
+ </td>
+ <td class="bottom">
+ <input type="radio" class="form_field" name="visible" value="Y" checked="checked" /> {--YES--}<br />
+ <input type="radio" class="form_field" name="visible" value="N" /> {--NO--}
+ </td>
+ </tr>
+
+ <tr>
+ <td class="table_footer" colspan="2">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" name="add" class="form_submit" value="{--ADMIN_ADD_NEW_CATEGORY--}" />
+ </td>
+ </tr>
+</table>
+{%form_close%}
+</div>