egroupware/addressbook/templates/default/index.tpl

79 lines
3.0 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>
<div align="center">
{lang_showing}
<br>{searchreturn}
{search_filter}
<!-- <table width="95%" border="1" cellspacing="1" cellpadding="3">
<form name="addr_type" action="{self_url}" method="POST">
<tr bgcolor="{th_bg}"><td>{lang_show}&nbsp;&nbsp;{contact_type_list}</td></tr></form>
</table>-->
<table width="95%" border="1" cellspacing="1" cellpadding="3">
<tr>{alphalinks}
</tr>
</table>
<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 border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="{th_bg}">
<form action="{add_url}" method="post"><td><input type="submit" name="Add" value="{lang_add}" /></td></form>
<form action="{vcard_url}" method="post"><td><input type="submit" name="AddVcard" value="{lang_addvcard}" /></td></form>
<form action="{import_url}" method="post"><td><input type="submit" name="Import" value="{lang_import}" /></td></form>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="{th_bg}">
<form action="{import_alt_url}" method="post"><td><input type="submit" name="Import" value="{lang_import_alt}" /></td></form>
<form action="{export_url}" method="post"><td><input type="submit" name="Export" value="{lang_export}" /></td></form>
</tr>
</table>
</div>
<!-- END addressbook_footer -->
<!-- BEGIN addressbook_alpha --><td bgcolor="{charbgcolor}" align="center" onMouseOver="this.style.backgroundColor='{charhovbgcolor}';" onMouseOut="this.style.backgroundColor='{charbgcolor}';" onClick="window.location='{charlink}';"><a href="{charlink}"><font color="{charcolor}">{char}</a></font></td>
<!-- END addressbook_alpha -->