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">
2011-11-11 17:56:08 +01:00
<menulist class="bold">
2013-09-26 16:42:18 +02:00
<menupopup cols="1" statustext="Select a view" id="org_view" no_lang="1" rows="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>
2015-02-09 09:32:43 +01:00
<menulist>
<menupopup align="right" label="Type" id="col_filter[tid]" options="All"/>
</menulist>
2015-02-10 13:15:42 +01:00
<buttononly align="right" statustext="Advanced search" image="advanced-search" background_image="1" id="search" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.search'),'850','440','_blank','addressbook',null,true); return false;"/>
2015-02-09 09:32:43 +01:00
<buttononly align="right" statustext="Add a new contact" label="Add" id="add" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'850','440','_blank','addressbook',null,true); return false;"/>
2007-05-25 20:20:57 +02:00
</hbox>
2014-01-28 16:26:13 +01:00
</template>
2011-11-11 17:56:08 +01:00
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.9.005">
2009-07-22 09:24:05 +02:00
<grid width="100%">
2006-04-23 16:40:31 +02:00
<columns>
2013-10-05 09:22:18 +02:00
<column width="20"/>
2014-08-22 13:08:21 +02:00
<column width="40%"/>
<column width="70"/>
<column width="100"/>
2014-07-16 16:30:25 +02:00
<column width="60"/>
2014-08-22 13:08:21 +02:00
<column width="80"/>
2014-09-03 12:55:56 +02:00
<column width="180"/>
<column width="180"/>
<column width="180"/>
<column width="180"/>
<column width="40"/>
2014-08-22 13:08:21 +02:00
<column width="80" disabled="@no_customfields"/>
2014-09-03 12:55:56 +02:00
<column width="60%"/>
2014-08-22 13:08:21 +02:00
<column width="80" disabled="@no_distribution_list"/>
<column width="80"/>
<column width="50"/>
<column width="80"/>
<column width="120"/>
2006-04-23 16:40:31 +02:00
</columns>
<rows>
<row class="th">
2013-10-05 12:13:31 +02:00
<nextmatch-header label="Type" id="type" 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">
2011-05-06 15:28:07 +02:00
<nextmatch-sortheader label="own sorting" id="n_fileas" span="all"/>
2006-04-24 13:15:10 +02:00
</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-05-06 15:28:07 +02:00
<nextmatch-sortheader label="Organisation" id="org_name" span="all"/>
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">
2011-05-06 15:28:07 +02:00
<nextmatch-sortheader label="own sorting" id="n_fileas" span="all"/>
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>
2011-11-11 17:56:08 +01:00
<vbox options="0,0">
<nextmatch-header label="Home address" id="home"/>
<nextmatch-customfilter id="adr_two_countrycode" options="select-country,Country,0,No country selected" class="countrySelect"/>
<nextmatch-sortheader label="zip code" id="adr_two_postalcode"/>
</vbox>
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>
2014-09-03 12:55:56 +02:00
<nextmatch-header label="Room" id="room"/>
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">
2014-03-24 20:43:15 +01:00
<nextmatch-sortheader label="Created" id="contact_created" sortmode="DESC"/>
<nextmatch-sortheader label="Last modified" id="contact_modified" sortmode="DESC"/>
2006-04-23 16:40:31 +02:00
</vbox>
</row>
2011-04-17 23:25:01 +02:00
<row class="$row_cont[cat_id] $row_cont[class]" valign="top">
2011-05-06 15:28:07 +02:00
<image align="center" label="$row_cont[type_label]" src="${row}[type]" no_lang="1"/>
2011-04-17 16:10:05 +02:00
<vbox id="${row}[id]" options="0,0">
2011-05-06 15:28:07 +02:00
<description id="${row}[line1]" no_lang="1"/>
<description id="${row}[line2]" no_lang="1"/>
<description id="${row}[org_unit]" no_lang="1"/>
<description id="${row}[title]" no_lang="1"/>
<description id="${row}[first_org]" no_lang="1"/>
2006-04-23 16:40:31 +02:00
</vbox>
2008-05-10 14:02:49 +02:00
<description id="${row}[role]"/>
2013-02-06 13:14:12 +01:00
<listbox type="select-cat" id="${row}[cat_id]" readonly="true" rows="2"/>
2009-07-22 09:24:05 +02:00
<image src="${row}[photo]" class="iphoto"/>
2011-05-06 15:28:07 +02:00
<date id="${row}[bday]" readonly="true" options="Y-m-d"/>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2014-02-25 10:55:46 +01:00
<description id="${row}[adr_one_street]" no_lang="1"/>
<description id="${row}[adr_one_street2]" no_lang="1"/>
2011-04-17 16:10:05 +02:00
<hbox orient="0" options="0,0">
2014-02-25 12:25:00 +01:00
<description id="${row}[adr_one_postalcode]" no_lang="1"/>
<description value=" " id="${row}[adr_one_locality]" no_lang="1" class="leftPad5"/>
2011-05-06 15:28:07 +02:00
<description id="${row}[adr_one_region]" no_lang="1" class="leftPad5"/>
2006-04-23 16:40:31 +02:00
</hbox>
2014-02-25 10:55:46 +01:00
<description id="${row}[adr_one_countryname]" no_lang="1"/>
2011-02-15 12:38:20 +01:00
<menulist>
2014-02-25 10:55:46 +01:00
<menupopup type="select-country" id="${row}[adr_one_countrycode]" readonly="true"/>
2011-02-15 12:38:20 +01:00
</menulist>
2014-02-25 10:55:46 +01:00
</vbox>
<vbox options="0,0">
<description id="${row}[adr_two_street]" no_lang="1"/>
<description id="${row}[adr_two_street2]" no_lang="1"/>
2006-10-26 15:40:47 +02:00
<hbox options="0,0">
2014-02-25 12:25:00 +01:00
<description id="${row}[adr_two_postalcode]" no_lang="1"/>
<description value=" " id="${row}[adr_two_locality]" no_lang="1" class="leftPad5"/>
2011-05-06 15:28:07 +02:00
<description id="${row}[adr_two_region]" no_lang="1" class="leftPad5"/>
2006-04-23 16:40:31 +02:00
</hbox>
2014-02-25 10:55:46 +01:00
<description id="${row}[adr_two_countryname]" no_lang="1"/>
<menulist>
<menupopup type="select-country" id="${row}[adr_two_countrycode]" readonly="true"/>
</menulist>
2006-04-23 16:40:31 +02:00
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2011-05-06 15:28:07 +02:00
<url-phone id="${row}[tel_work]" readonly="true" class="telNumbers"/>
<url-phone id="${row}[tel_cell]" readonly="true" class="telNumbers"/>
<url-phone id="${row}[tel_home]" readonly="true" class="telNumbers"/>
<url-phone id="${row}[tel_fax]" readonly="true"/>
2011-11-11 17:56:08 +01:00
<description id="${row}[tel_prefered]" no_lang="1" href="$row_cont[tel_prefered_link]" extra_link_target="calling" extra_link_popup="$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-05-06 15:28:07 +02:00
<url id="${row}[url]" readonly="true" class="fixedHeight"/>
<url-email id="${row}[email]" readonly="true" class="fixedHeight"/>
<url-email id="${row}[email_home]" readonly="true" class="fixedHeight"/>
2006-04-23 16:40:31 +02:00
</vbox>
2014-09-03 12:55:56 +02:00
<description id="${row}[room]"/>
2013-10-05 12:13:31 +02:00
<customfields-list id="$row" class="customfields"/>
2011-05-06 15:28:07 +02:00
<textbox multiline="true" id="${row}[note]" no_lang="1" readonly="true"/>
2008-04-23 10:22:22 +02:00
<description id="${row}[distrib_lists]"/>
2011-02-15 12:38:20 +01:00
<menulist>
2011-05-06 15:28:07 +02:00
<menupopup id="${row}[owner]" readonly="true"/>
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-05-06 15:28:07 +02:00
<date-time id="${row}[created]" readonly="true" class="noWrap"/>
2007-03-07 13:31:48 +01:00
<menulist>
2011-05-06 15:28:07 +02:00
<menupopup type="select-account" id="${row}[creator]" readonly="true"/>
2007-03-07 13:31:48 +01:00
</menulist>
2011-05-06 15:28:07 +02:00
<date-time id="${row}[modified]" readonly="true" class="noBreak"/>
2007-03-07 13:31:48 +01:00
<menulist>
2011-05-06 15:28:07 +02:00
<menupopup type="select-account" id="${row}[modifier]" readonly="true"/>
2007-03-07 13:31:48 +01:00
</menulist>
</vbox>
2006-04-23 16:40:31 +02:00
</row>
</rows>
</grid>
</template>
2013-10-05 12:13:31 +02:00
<template id="addressbook.index" template="" lang="" group="0" version="1.9.002">
2006-04-23 16:40:31 +02:00
<grid width="100%">
<columns>
<column/>
<column/>
2011-04-17 16:10:05 +02:00
<column/>
2011-05-06 15:28:07 +02:00
<column/>
<column/>
2011-06-02 18:57:33 +02:00
<column/>
<column/>
<column/>
<column/>
2006-04-23 16:40:31 +02:00
</columns>
<rows>
<row disabled="!@msg">
2011-05-06 15:28:07 +02:00
<description align="center" id="msg" no_lang="1" span="all" class="redItalic"/>
<description/>
<description/>
2011-04-17 16:10:05 +02:00
<description/>
2006-04-23 16:40:31 +02:00
<description/>
2011-06-02 18:57:33 +02:00
<description/>
<description/>
<description/>
<description/>
2006-04-23 16:40:31 +02:00
</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>
2013-10-05 12:13:31 +02:00
<nextmatch id="nm" template="addressbook.index.rows" span="all"/>
2006-04-23 16:40:31 +02:00
</row>
2014-03-10 17:17:25 +01:00
<row class="noPrint dialogFooterToolbar" disabled="!@nm[selectcols]=/legacy_actions/">
2011-05-06 15:28:07 +02:00
<button statustext="Add a new contact" label="Add" id="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;"/>
2011-04-17 16:10:05 +02:00
<hbox align="right" span="all">
2011-11-11 17:56:08 +01:00
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('addressbook.'+({$cont[nm][do_email]} ? 'email' : 'index') + '.rows').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('addressbook.'+({$cont[nm][do_email]} ? 'email' : 'index') + '.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
2006-04-23 16:40:31 +02:00
</hbox>
</row>
</rows>
</grid>
</template>
2014-02-26 16:41:38 +01:00
</overlay>