egroupware/preferences/templates/default/category_form.tpl

70 lines
1.7 KiB
Smarty

<!-- $Id$ -->
<!-- BEGIN form -->
<br>
<center>
{message}<br>
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<form name="form" action="{actionurl}" method="POST">
<tr class="th">
<td>{lang_parent}</td>
<td><select name="values[parent]"><option value="">{lang_none}</option>{category_list}</select></td>
</tr>
<tr class="row_on">
<td>{lang_name}</td>
<td><input name="values[name]" size="50" value="{cat_name}"></td>
</tr>
<tr class="row_off">
<td>{lang_descr}</td>
<td><textarea name="values[descr]" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></td>
</tr>
<tr class="row_on">
<td>{lang_access}</td>
<td><input type="checkbox" name="values[access]" value="True" {access}></td>
</tr>
{rows}
</table>
{buttons}
</center>
<!-- END form -->
<!-- BEGIN add -->
<table width="80%" border="0" cellspacing="5">
<tr valign="top">
<td><input type="submit" name="submit" value="{lang_save}"></form></td>
<td><form method="POST" action="{doneurl}"><input type="submit" name="done" value="{lang_done}"></form></td>
<td width="80%">&nbsp;</td>
</tr>
</table>
<!-- END add -->
<!-- BEGIN edit -->
<table width="80%" border="0" cellspacing="5">
<tr valign="top">
<td>
<input type="hidden" name="values[old_parent]" value="{old_parent}">
<input type="submit" name="submit" value="{lang_save}"></form></td>
<td>
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}"></form></td>
<td width="80%" align="right">{delete}</td>
</tr>
</table>
<!-- END edit -->
<!-- BEGIN data_row -->
<tr class="{tr_color}">
<td>{lang_data}</td>
<td>{td_data}</td>
</tr>
<!-- END data_row -->