mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
Add category editing templates
This commit is contained in:
parent
9afde0a674
commit
a5bf90d42e
52
addressbook/templates/default/category_form.tpl
Normal file
52
addressbook/templates/default/category_form.tpl
Normal 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}: {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 -->
|
53
addressbook/templates/default/listcats.tpl
Normal file
53
addressbook/templates/default/listcats.tpl
Normal 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}: {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> </td>
|
||||
<td colspan="5" align=right>
|
||||
<form method="post" action="{actionurl}">
|
||||
<font face="{font}"><input type="text" name="query"> <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>
|
||||
|
Loading…
Reference in New Issue
Block a user