2006-04-23 16:40:31 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2006-04-30 11:34:24 +02:00
<template id="addressbook.index.left" template="" lang="" group="0" version="1.3.001">
2006-10-26 15:40:47 +02:00
<menulist class="bold">
2006-12-11 08:35:49 +01:00
<menupopup rows="1" cols="1" id="org_view" no_lang="1" statustext="Select a view" onchange="1" options="All contacts"/>
2006-04-30 11:34:24 +02:00
</menulist>
</template>
2011-02-15 12:38:20 +01:00
<template id="addressbook.index.right_add" template="" lang="" group="0" version="1.7.001">
2007-05-25 20:20:57 +02:00
<hbox>
2008-05-10 14:02:49 +02:00
<buttononly id="search" label="Advanced search" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;"/>
<buttononly id="add" label="Add" statustext="Add a new contact" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="rightPadAdd"/>
2007-05-25 20:20:57 +02:00
</hbox>
2007-06-17 15:55:43 +02:00
<styles>.rightPadAdd { width: 30px; }</styles>
2006-04-23 16:40:31 +02:00
</template>
2011-04-17 16:10:05 +02:00
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.9.004">
2009-07-22 09:24:05 +02:00
<grid width="100%">
2006-04-23 16:40:31 +02:00
<columns>
2007-03-07 13:31:48 +01:00
<column/>
2006-04-23 16:40:31 +02:00
<column/>
2008-05-10 14:02:49 +02:00
<column disabled="@no_role"/>
2006-04-23 16:40:31 +02:00
<column/>
<column width="60" disabled="@no_photo"/>
<column/>
2009-05-29 10:37:47 +02:00
<column/>
2007-03-07 13:31:48 +01:00
<column disabled="@no_home"/>
2006-04-23 16:40:31 +02:00
<column/>
<column/>
<column disabled="@no_customfields"/>
2011-02-15 12:38:20 +01:00
<column disabled="@no_note"/>
2008-04-23 10:22:22 +02:00
<column disabled="@no_distribution_list"/>
2007-03-07 13:31:48 +01:00
<column/>
2007-09-14 12:03:18 +02:00
<column/>
2011-02-15 12:38:20 +01:00
<column/>
<column/>
2009-05-11 08:47:38 +02:00
<column width="75"/>
2006-04-23 16:40:31 +02:00
</columns>
<rows>
<row class="th">
2011-02-15 12:38:20 +01:00
<description options="1"/>
2006-04-23 16:40:31 +02:00
<grid spacing="0" padding="0">
<columns>
<column/>
<column/>
</columns>
<rows>
2006-04-24 13:15:10 +02:00
<row disabled="!@order=n_fileas">
<nextmatch-sortheader span="all" label="own sorting" id="n_fileas"/>
</row>
2006-04-23 16:40:31 +02:00
<row disabled="!@order=n_given">
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="Firstname" id="n_given"/>
2006-04-23 16:40:31 +02:00
<nextmatch-sortheader label="Name" id="n_family"/>
</row>
<row disabled="!@order=n_family">
<nextmatch-sortheader label="Name" id="n_family"/>
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="Firstname" id="n_given"/>
2006-04-23 16:40:31 +02:00
</row>
<row>
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="Organisation" span="all" id="org_name"/>
2006-04-23 16:40:31 +02:00
</row>
2008-01-19 06:41:04 +01:00
<row disabled="!@order=/^(org_name|n_fileas|adr_one_postalcode|contact_modified|contact_created|#)/">
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="Name" id="n_family"/>
<nextmatch-sortheader label="Firstname" id="n_given" class="leftPad5"/>
2006-04-24 13:15:10 +02:00
</row>
<row disabled="@order=n_fileas">
<nextmatch-sortheader span="all" label="own sorting" id="n_fileas"/>
2006-04-23 16:40:31 +02:00
</row>
</rows>
</grid>
2008-05-10 14:02:49 +02:00
<nextmatch-header label="role" id="role"/>
2007-03-07 13:31:48 +01:00
<nextmatch-header label="Category" id="cat_id"/>
<nextmatch-header label="Photo" id="photo"/>
2011-04-17 16:10:05 +02:00
<nextmatch-header label="Birthday" id="bday"/>
2006-12-11 08:35:49 +01:00
<vbox options="0,0">
2007-03-07 13:31:48 +01:00
<nextmatch-header label="Business address" id="business"/>
2011-02-15 12:38:20 +01:00
<nextmatch-customfilter id="adr_one_countrycode" options="select-country,Country,0,No country selected" class="countrySelect"/>
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="zip code" id="adr_one_postalcode"/>
2006-12-11 08:35:49 +01:00
</vbox>
2007-03-07 13:31:48 +01:00
<nextmatch-header label="Home address" id="home"/>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<nextmatch-header label="Business phone" id="tel_work"/>
2007-03-07 13:31:48 +01:00
<nextmatch-header label="Mobile phone" id="tel_cell"/>
2011-04-17 16:10:05 +02:00
<nextmatch-header label="Home phone" id="tel_home"/>
2008-01-19 06:41:04 +01:00
<description value="Fax"/>
2006-04-23 16:40:31 +02:00
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<nextmatch-header label="Url" id="url"/>
2007-03-07 13:31:48 +01:00
<nextmatch-header label="Business email" id="email"/>
2011-04-17 16:10:05 +02:00
<nextmatch-header label="Home email" id="email_home"/>
2007-03-07 13:31:48 +01:00
</vbox>
2008-01-19 06:41:04 +01:00
<nextmatch-customfields id="customfields"/>
2011-02-15 12:38:20 +01:00
<nextmatch-header label="Note" id="note"/>
2008-04-23 10:22:22 +02:00
<nextmatch-header label="Distribution lists" id="distribution_list"/>
2011-02-15 12:38:20 +01:00
<nextmatch-header label="Addressbook" id="owner"/>
<nextmatch-sortheader label="ID" id="contact_id"/>
2007-09-14 12:03:18 +02:00
<vbox options="0,0">
<nextmatch-header label="Last date" id="calendar"/>
<nextmatch-header label="Next date" id="calendar"/>
</vbox>
2007-03-07 13:31:48 +01:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<nextmatch-sortheader label="Created" id="contact_created"/>
<nextmatch-sortheader label="Last modified" id="contact_modified"/>
2006-04-23 16:40:31 +02:00
</vbox>
<hbox align="center" class="noPrint">
2011-04-17 16:10:05 +02:00
<nextmatch-header align="center" label="Actions" id="legacy_actions"/>
<button label="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1" align="right" id="check_all" image="check" statustext="Check all"/>
2006-04-23 16:40:31 +02:00
</hbox>
</row>
2011-04-17 23:25:01 +02:00
<row class="$row_cont[cat_id] $row_cont[class]" valign="top">
2011-04-17 16:10:05 +02:00
<image label="$row_cont[type_label]" align="center" no_lang="1" src="${row}[type]"/>
<vbox id="${row}[id]" options="0,0">
<description no_lang="1" id="${row}[line1]"/>
<description no_lang="1" id="${row}[line2]"/>
<description no_lang="1" id="${row}[org_unit]"/>
<description no_lang="1" id="${row}[title]"/>
<description no_lang="1" id="${row}[first_org]"/>
2006-04-23 16:40:31 +02:00
</vbox>
2008-05-10 14:02:49 +02:00
<description id="${row}[role]"/>
2007-03-07 13:31:48 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup type="select-cat" readonly="true" id="${row}[cat_id]" options="1"/>
2007-03-07 13:31:48 +01:00
</menulist>
2009-07-22 09:24:05 +02:00
<image src="${row}[photo]" class="iphoto"/>
2011-04-17 16:10:05 +02:00
<date readonly="true" id="${row}[bday]" options="Y-m-d"/>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_one_countryname]"/>
2011-02-15 12:38:20 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup type="select-country" readonly="true" id="${row}[adr_one_countrycode]"/>
2011-02-15 12:38:20 +01:00
</menulist>
2011-04-17 16:10:05 +02:00
<hbox orient="0" options="0,0">
2006-04-23 16:40:31 +02:00
<description no_lang="1" id="${row}[adr_one_locality]"/>
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_one_region]" class="leftPad5"/>
<description no_lang="1" id="${row}[adr_one_postalcode]" value=" " class="leftPad5"/>
2006-04-23 16:40:31 +02:00
</hbox>
<description no_lang="1" id="${row}[adr_one_street]"/>
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_one_street2]"/>
2006-04-23 16:40:31 +02:00
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_two_countryname]"/>
2011-02-15 12:38:20 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup type="select-country" readonly="true" id="${row}[adr_two_countrycode]"/>
2011-02-15 12:38:20 +01:00
</menulist>
2006-10-26 15:40:47 +02:00
<hbox options="0,0">
2006-04-23 16:40:31 +02:00
<description no_lang="1" id="${row}[adr_two_locality]"/>
2007-06-23 09:14:01 +02:00
<description no_lang="1" id="${row}[adr_two_region]" class="leftPad5"/>
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_two_postalcode]" value=" " class="leftPad5"/>
2006-04-23 16:40:31 +02:00
</hbox>
<description no_lang="1" id="${row}[adr_two_street]"/>
2011-04-17 16:10:05 +02:00
<description no_lang="1" id="${row}[adr_two_street2]"/>
2006-04-23 16:40:31 +02:00
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<url-phone readonly="true" id="${row}[tel_work]" class="telNumbers"/>
<url-phone readonly="true" id="${row}[tel_cell]" class="telNumbers"/>
<url-phone readonly="true" id="${row}[tel_home]" class="telNumbers"/>
<url-phone readonly="true" id="${row}[tel_fax]"/>
<description no_lang="1" id="${row}[tel_prefered]" options=",$row_cont[tel_prefered_link],,,calling,$cont[call_popup]"/>
2006-04-23 16:40:31 +02:00
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<url readonly="true" id="${row}[url]" class="fixedHeight"/>
<url-email readonly="true" id="${row}[email]" class="fixedHeight"/>
<url-email readonly="true" id="${row}[email_home]" class="fixedHeight"/>
2006-04-23 16:40:31 +02:00
</vbox>
2007-07-11 17:39:41 +02:00
<customfields-list rows="1" cols="1" id="$row" class="customfields"/>
2011-04-17 16:10:05 +02:00
<textbox multiline="true" no_lang="1" readonly="true" id="${row}[note]"/>
2008-04-23 10:22:22 +02:00
<description id="${row}[distrib_lists]"/>
2011-02-15 12:38:20 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup readonly="true" id="${row}[owner]"/>
2011-02-15 12:38:20 +01:00
</menulist>
2011-04-17 16:10:05 +02:00
<description id="${row}[id]" class="contactid"/>
2007-09-14 12:03:18 +02:00
<vbox options="0,0">
<link id="${row}[last_link]"/>
<link id="${row}[next_link]"/>
</vbox>
2007-03-07 13:31:48 +01:00
<vbox options="0,0">
2011-04-17 16:10:05 +02:00
<date-time readonly="true" id="${row}[created]" class="noWrap"/>
2007-03-07 13:31:48 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup type="select-account" readonly="true" id="${row}[creator]"/>
2007-03-07 13:31:48 +01:00
</menulist>
2011-04-17 16:10:05 +02:00
<date-time readonly="true" id="${row}[modified]" class="noBreak"/>
2007-03-07 13:31:48 +01:00
<menulist>
2011-04-17 16:10:05 +02:00
<menupopup type="select-account" readonly="true" id="${row}[modifier]"/>
2007-03-07 13:31:48 +01:00
</menulist>
</vbox>
2011-04-17 16:10:05 +02:00
<vbox class="noPrint" options="0,0">
<hbox>
<image label="View" options="addressbook.addressbook_ui.view&contact_id=$row_cont[id]" src="view"/>
<button label="Edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]'),'_blank','dependent=yes,width=870,height=460,scrollbars=yes,status=yes'); return false;" id="edit[$row_cont[id]]" image="edit"/>
<button label="Delete" onclick="return confirm('Delete this contact');" id="delete[$row_cont[id]]" image="delete" statustext="Delete this contact"/>
<checkbox align="right" id="checked[]" options="$row_cont[id]" statustext="Select multiple contacts for a further action"/>
2009-05-11 08:47:38 +02:00
</hbox>
2011-04-17 16:10:05 +02:00
<hbox>
<button label="Insert in document" id="document[$row_cont[id]]" image="etemplate/merge" class="image16"/>
<image label="Filemanager" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]" src="filemanager/navbar" class="image16"/>
<button label="Add appointment" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&participants=c$row_cont[id]'),'_blank','dependent=yes,width=750,height=410,scrollbars=yes,status=yes'); return false;" id="calendar" image="calendar/navbar" class="image16"/>
2009-05-11 08:47:38 +02:00
</hbox>
</vbox>
2006-04-23 16:40:31 +02:00
</row>
</rows>
</grid>
</template>
2011-04-17 16:10:05 +02:00
<template id="addressbook.index" template="" lang="" group="0" version="1.9.001">
2006-04-23 16:40:31 +02:00
<grid width="100%">
<columns>
<column/>
<column/>
2011-04-17 16:10:05 +02:00
<column/>
2006-04-23 16:40:31 +02:00
</columns>
<rows>
<row disabled="!@msg">
2011-04-17 16:10:05 +02:00
<description span="all" class="redItalic" align="center" no_lang="1" id="msg"/>
<description/>
2006-04-23 16:40:31 +02:00
<description/>
</row>
<row disabled="1">
2006-04-30 11:34:24 +02:00
<template id="addressbook.index.left"/>
2007-05-25 20:20:57 +02:00
<template align="right" id="addressbook.index.right_add"/>
2006-04-23 16:40:31 +02:00
</row>
<row>
2011-04-17 16:10:05 +02:00
<nextmatch span="all" id="nm" options="addressbook.index.rows"/>
2006-04-23 16:40:31 +02:00
</row>
2011-04-17 16:10:05 +02:00
<row class="noPrint" disabled="!@nm[selectcols]=/legacy_actions/">
<button label="Add" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" id="add" statustext="Add a new contact"/>
<hbox align="right" span="all">
2011-04-17 23:25:01 +02:00
<buttononly id="legacy_actions" statustext="Select action" label="Select action" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
2011-04-17 16:10:05 +02:00
<button label="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/>
2006-04-23 16:40:31 +02:00
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>