egroupware/addressbook/templates/default/index.tpl

64 lines
2.3 KiB
Smarty
Raw Normal View History

<!-- BEGIN addressbook_header -->
<script>
function check_all(which)
{
for (i=0; i<document.addr_index.elements.length; i++)
{
if (document.addr_index.elements[i].type == "checkbox" && document.addr_index.elements[i].name.substring(0,which.length) == which)
{
if (document.addr_index.elements[i].checked)
{
document.addr_index.elements[i].checked = false;
}
else
{
document.addr_index.elements[i].checked = true;
}
}
}
}
</script>
<center>
{lang_showing}
<br>{searchreturn}
{search_filter}
<table width="95%" border="0" cellspacing="1" cellpadding="3">
<form name="addr_index" action="{action_url}" method="POST">
<tr bgcolor="{th_bg}">{cols}
<td width="5%" height="21"><font face="Arial, Helvetica, sans-serif" size="-1">{lang_actions}</font>
&nbsp;<a href="javascript:check_all('select')"><img src="{check}" border="0" height="16" width="21" alt="{select_all}"></a></td>
</tr>
<!-- END addressbook_header -->
2001-08-09 02:41:41 +02:00
<!-- BEGIN column -->
<td valign="top"><font face="Arial, Helvetica, san-serif" size="2">{col_data}&nbsp;</font></td>
<!-- END column -->
2001-08-09 02:41:41 +02:00
<!-- BEGIN row -->
<tr bgcolor="{row_tr_color}">{columns}
<td valign="top" nowrap>{actions}</td>
</tr>
<!-- END row -->
2001-08-09 02:41:41 +02:00
<!-- BEGIN delete_block -->
<tr bgcolor="{row_tr_color}"><td colspan="{column_count}">&nbsp;</td>
<td align="right"><input type="submit" name="Delete" value="{lang_delete}"></td>
</tr>
<!-- END delete_block -->
<!-- BEGIN addressbook_footer -->{delete_button}
</form>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="4">
<tr bgcolor="{th_bg}">
2001-08-09 02:41:41 +02:00
<form action="{add_url}" method="post"><td width="16%"><input type="submit" name="Add" value="{lang_add}"></td></form>
<form action="{vcard_url}" method="post"><td width="16%"><input type="submit" name="AddVcard" value="{lang_addvcard}"></td></form>
<form action="{import_url}" method="post"><td width="16%"><input type="submit" name="Import" value="{lang_import}"></td></form>
<form action="{import_alt_url}" method="post"><td width="16%"><input type="submit" name="Import" value="{lang_import_alt}"></td></form>
<form action="{export_url}" method="post"><td width="16%"><input type="submit" name="Export" value="{lang_export}"></td></form>
</tr>
</table>
</center>
<!-- END addressbook_footer -->