Add category editing templates

This commit is contained in:
Miles Lott 2001-03-25 02:45:58 +00:00
parent 9afde0a674
commit a5bf90d42e
2 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,52 @@
<!-- $Id$ -->
<!-- BEGIN form -->
<center>
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="1" align="center" bgcolor="#c9c9c9"><font face="{font}"><b>{title_categories}:&nbsp;{user_name}<b/></font></td>
</tr>
</table>
<font face="{font}">{message}</font>
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<form name="form" action="{actionurl}" method="POST">
<tr>
<td><font face="{font}">{lang_name}:</font></td>
<td><font face="{font}"><input name="cat_name" size="50" value="{cat_name}"></font></td>
</tr>
<tr>
<td><font face="{font}">{lang_descr}:</td>
<td colspan=2><font face="{font}"><textarea name="cat_description" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></font></td>
</tr>
</table>
<!-- BEGIN add -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
{hidden_vars}
<font face="{font}"><input type="submit" name="submit" value="{lang_add}"></font></td>
<td height="50" align="center">
<font face="{font}"><input type="reset" name="reset" value="{lang_reset}"></font></td>
</tr>
</table>
</form>
</center>
<!-- END add -->
<!-- BEGIN edit -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
{hidden_vars}
<font face="{font}"><input type="submit" name="submit" value="{lang_edit}"></font>
</form></td>
<td height="50" align="center">
<form method="POST" action="{deleteurl}">
{hidden_vars}
<font face="{font}"><input type="submit" name="delete" value="{lang_delete}"></font>
</form></td>
</tr>
</table>
</center>
<!-- END edit -->
<!-- END form -->

View File

@ -0,0 +1,53 @@
<!-- $Id$ -->
<center>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td colspan="5" align="center" bgcolor="#c9c9c9"><font face="{font}"><b>{title_categories}:&nbsp;{user_name}<b/></font></td>
</tr>
<tr>
<td colspan="5" align=left>
<table border="0" width="100%">
<tr>
{left}
<td align="center"><font face="{font}">{lang_showing}</font></td>
{right}
</tr>
</table>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="5" align=right>
<form method="post" action="{actionurl}">
<font face="{font}"><input type="text" name="query">&nbsp;<input type="submit" name="search" value="{lang_search}"></font>
</form></td>
</tr>
<tr bgcolor="{th_bg}">
<td width=20% bgcolor="{th_bg}"><font face="{font}">{sort_name}</font></td>
<td width=32% bgcolor="{th_bg}"><font face="{font}">{sort_description}</font></td>
<td width=8% bgcolor="{th_bg}" align="center"><font face="{font}">{lang_addressbook}</font></td>
<td width=8% bgcolor="{th_bg}" align=center><font face="{font}">{lang_edit}</font></td>
<td width=8% bgcolor="{th_bg}" align=center><font face="{font}">{lang_delete}</font></td>
</tr>
<!-- BEGIN cat_list -->
<tr bgcolor="{tr_color}">
<td><font face="{font}">{name}</font></td>
<td><font face="{font}">{descr}</font></td>
<td align="center"><font face="{font}"><a href="{addressbook}">{lang_addressbook}</a></font></td>
<td align="center"><font face="{font}"><a href="{edit}">{lang_edit_entry}</a></font></td>
<td align="center"><font face="{font}"><a href="{delete}">{lang_delete_entry}</font></td>
</tr>
<!-- END cat_list -->
<!-- BEGINN add -->
<tr valign="bottom">
<td colspan="5">
<form method="POST" action="{add_action}">
<font face="{font}"><input type="submit" value="{lang_add}"></font>
</form>
</td>
</tr>
<!-- END add -->
</table>
</center>