egroupware/preferences/templates/default/category_form.tpl

68 lines
1.6 KiB
Smarty
Raw Normal View History

<!-- $Id$ -->
2001-05-15 01:33:42 +02:00
<!-- BEGIN form -->
2003-06-25 00:33:40 +02:00
<center>
{message}<br>
2002-01-12 05:09:56 +01:00
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<form name="form" action="{actionurl}" method="POST">
2003-06-25 00:33:40 +02:00
<tr class="row_off">
<td colspan="2">{lang_parent}</td>
<td><select name="values[parent]"><option value="">{lang_none}</option>{category_list}</select></td>
2002-01-12 05:09:56 +01:00
</tr>
<tr class="row_on">
2003-06-25 00:33:40 +02:00
<td colspan="2">{lang_name}</td>
<td><input name="values[name]" size="50" value="{cat_name}"></td>
2002-01-12 05:09:56 +01:00
</tr>
<tr class="row_off">
2003-06-25 00:33:40 +02:00
<td colspan="2">{lang_descr}</td>
<td><textarea name="values[descr]" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></td>
2002-01-12 05:09:56 +01:00
</tr>
<tr class="row_on">
2003-06-25 00:33:40 +02:00
<td colspan="2">{lang_access}</td>
<td><input type="checkbox" name="values[access]" value="True" {access}></td>
2002-01-12 05:09:56 +01:00
</tr>
{rows}
{buttons}
2003-06-25 00:33:40 +02:00
</table>
</center>
<!-- END form -->
<!-- BEGIN add -->
2001-05-15 01:33:42 +02:00
2003-06-25 00:33:40 +02:00
<tr valign="bottom" height="50">
<td colspan="2"><input type="submit" name="save" value="{lang_save}"></form></td>
<td align="right">
<form method="POST" action="{cancel_url}"><input type="submit" name="cancel" value="{lang_cancel}"></form>
</td>
2002-01-12 05:09:56 +01:00
</tr>
2001-05-15 01:33:42 +02:00
<!-- END add -->
<!-- BEGIN edit -->
2001-05-15 01:33:42 +02:00
2003-06-25 00:33:40 +02:00
<tr valign="bottom" height="50">
<td>
<input type="hidden" name="values[old_parent]" value="{old_parent}">
2003-06-25 00:33:40 +02:00
<input type="submit" name="save" value="{lang_save}"></form></td>
<td>
2003-06-25 00:33:40 +02:00
<form method="POST" action="{cancel_url}">
<input type="submit" name="cancel" value="{lang_cancel}"></form></td>
<td align="right">{delete}</td>
2002-01-12 05:09:56 +01:00
</tr>
2003-06-25 00:33:40 +02:00
2001-05-15 01:33:42 +02:00
<!-- END edit -->
2001-05-15 01:33:42 +02:00
<!-- BEGIN data_row -->
2003-06-25 00:33:40 +02:00
<tr class="row_off">
<td colspan="2">{lang_data}</td>
<td>{td_data}</td>
</tr>
<!-- END data_row -->