forked from extern/egroupware
fd9e935e63
- new "advanced search" function / dialog - customfields can now be of type text, selectbox, radio and checkbox
96 lines
2.9 KiB
Smarty
96 lines
2.9 KiB
Smarty
<!-- 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>
|
|
<style type="text/css">
|
|
.letter_box,.letter_box_active {
|
|
background-color: #D3DCE3;
|
|
width: 25px;
|
|
border: 1px solid #D3DCE3;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
cusror: hand;
|
|
}
|
|
.letter_box_active {
|
|
font-weight: bold;
|
|
background-color: #E8F0F0;
|
|
}
|
|
.letter_box_active,.letter_box:hover {
|
|
border: 1px solid black;
|
|
background-color: #E8F0F0;
|
|
}
|
|
</style>
|
|
<div align="center">
|
|
{lang_showing}
|
|
<br>{searchreturn}
|
|
{search_filter}
|
|
|
|
<table width="95%" border="0">
|
|
<tr>
|
|
{alphalinks}
|
|
</tr>
|
|
</table>
|
|
<table width="95%" border="0" cellspacing="1" cellpadding="3">
|
|
<form name="addr_index" action="{action_url}" method="POST">
|
|
<tr class="th">{cols}
|
|
<td width="5%" height="21"><font face="Arial, Helvetica, sans-serif" size="-1">{lang_actions}</font>
|
|
<a href="javascript:check_all('select')"><img src="{check}" border="0" height="16" width="21" alt="{select_all}"></a></td>
|
|
</tr>
|
|
<!-- END addressbook_header -->
|
|
|
|
<!-- BEGIN column -->
|
|
<td valign="top"><font face="Arial, Helvetica, san-serif" size="2">{col_data} </font></td>
|
|
<!-- END column -->
|
|
|
|
<!-- BEGIN row -->
|
|
<tr bgcolor="{row_tr_color}">{columns}
|
|
<td valign="top" nowrap>{actions}</td>
|
|
</tr>
|
|
<!-- END row -->
|
|
|
|
<!-- BEGIN delete_block -->
|
|
<tr bgcolor="{row_tr_color}"><td colspan="{column_count}"> </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 class="th">
|
|
<form action="{add_url}" method="post"><td><input type="submit" name="Add" value="{lang_add}" onclick="{add_onclick}"/></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 class="{charclass}" onclick="location.href='{charlink}';">{char}</td>
|
|
<!-- END addressbook_alpha -->
|