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>
2008-05-10 14:02:49 +02:00
<template id="addressbook.index.right_add" template="" lang="" group="0" version="1.5.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-06-17 15:55:43 +02:00
<description id="manual" 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>
2008-10-07 15:04:49 +02:00
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.5.007">
2006-04-23 16:40:31 +02:00
<grid width="100%">
<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/>
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"/>
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/>
2006-04-23 16:40:31 +02:00
<column width="90"/>
</columns>
<rows>
<row class="th">
<description/>
<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">
<nextmatch-sortheader id="n_given" label="Firstname"/>
<nextmatch-sortheader label="Name" id="n_family"/>
</row>
<row disabled="!@order=n_family">
<nextmatch-sortheader label="Name" id="n_family"/>
<nextmatch-sortheader id="n_given" label="Firstname"/>
</row>
<row>
2006-07-07 01:01:29 +02:00
<nextmatch-sortheader id="org_name" label="Organisation" 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|#)/">
2006-04-23 16:40:31 +02:00
<nextmatch-sortheader id="n_family" label="Name"/>
2006-04-24 13:15:10 +02:00
<nextmatch-sortheader id="n_given" label="Firstname" class="leftPad5"/>
</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"/>
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"/>
2006-12-11 08:35:49 +01:00
<nextmatch-customfilter id="adr_one_countryname" options="select-country,Country,1" class="countrySelect"/>
<nextmatch-sortheader id="adr_one_postalcode" label="zip code"/>
</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">
2007-03-07 13:31:48 +01:00
<nextmatch-header id="tel_work" label="Business phone"/>
<nextmatch-header label="Mobile phone" id="tel_cell"/>
<nextmatch-header id="tel_home" label="Home phone"/>
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">
2007-03-07 13:31:48 +01:00
<nextmatch-header id="url" label="Url"/>
<nextmatch-header label="Business email" id="email"/>
<nextmatch-header id="email_home" label="Home email"/>
</vbox>
2008-01-19 06:41:04 +01:00
<nextmatch-customfields id="customfields"/>
2008-04-23 10:22:22 +02:00
<nextmatch-header label="Distribution lists" id="distribution_list"/>
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">
<nextmatch-sortheader id="contact_created" label="Created"/>
<nextmatch-sortheader id="contact_modified" label="Last modified"/>
2006-04-23 16:40:31 +02:00
</vbox>
<hbox align="center" class="noPrint">
<description value="Actions" align="center"/>
<button image="check" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1" align="right"/>
</hbox>
</row>
2008-01-19 06:41:04 +01:00
<row class="$row_cont[cat_id]" valign="top">
2006-04-23 16:40:31 +02:00
<image label="$row_cont[type_label]" src="${row}[type]" align="center" no_lang="1"/>
2006-10-26 15:40:47 +02:00
<vbox options="0,0" id="${row}[id]">
2006-04-24 13:15:10 +02:00
<description id="${row}[line1]" no_lang="1"/>
<description id="${row}[line2]" no_lang="1"/>
2006-04-23 16:40:31 +02:00
<description id="${row}[org_unit]" no_lang="1"/>
<description id="${row}[title]" no_lang="1"/>
<description id="${row}[first_org]" no_lang="1"/>
</vbox>
2008-05-10 14:02:49 +02:00
<description id="${row}[role]"/>
2007-03-07 13:31:48 +01:00
<menulist>
<menupopup type="select-cat" options="1" id="${row}[cat_id]" readonly="true"/>
</menulist>
2006-04-23 16:40:31 +02:00
<image src="${row}[photo]"/>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2006-04-23 16:40:31 +02:00
<description id="${row}[adr_one_countryname]" no_lang="1"/>
2006-10-26 15:40:47 +02:00
<hbox options="0,0" orient="0">
2006-04-23 16:40:31 +02:00
<description no_lang="1" id="${row}[adr_one_locality]"/>
2007-05-03 10:18:26 +02:00
<description class="leftPad5" no_lang="1" id="${row}[adr_one_region]"/>
2006-04-23 16:40:31 +02:00
<description id="${row}[adr_one_postalcode]" class="leftPad5" value=" " no_lang="1"/>
</hbox>
<description no_lang="1" id="${row}[adr_one_street]"/>
<description id="${row}[adr_one_street2]" no_lang="1"/>
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2006-04-23 16:40:31 +02:00
<description id="${row}[adr_two_countryname]" no_lang="1"/>
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"/>
2006-04-23 16:40:31 +02:00
<description id="${row}[adr_two_postalcode]" class="leftPad5" value=" " no_lang="1"/>
</hbox>
<description no_lang="1" id="${row}[adr_two_street]"/>
<description id="${row}[adr_two_street2]" no_lang="1"/>
</vbox>
2006-10-26 15:40:47 +02:00
<vbox options="0,0">
2008-06-11 09:17:30 +02:00
<url-phone id="${row}[tel_work]" class="telNumbers" readonly="true"/>
<url-phone id="${row}[tel_cell]" class="telNumbers" readonly="true"/>
<url-phone id="${row}[tel_home]" class="telNumbers" readonly="true"/>
<url-phone id="${row}[tel_fax]" readonly="true"/>
2006-06-17 20:50:07 +02:00
<description id="${row}[tel_prefered]" no_lang="1" 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">
2008-06-11 09:17:30 +02:00
<url class="fixedHeight" id="${row}[url]" readonly="true"/>
<url-email class="fixedHeight" id="${row}[email]" readonly="true"/>
<url-email class="fixedHeight" id="${row}[email_home]" readonly="true"/>
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"/>
2008-04-23 10:22:22 +02:00
<description id="${row}[distrib_lists]"/>
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">
<date-time id="${row}[created]" readonly="true" class="noWrap"/>
<menulist>
<menupopup type="select-account" id="${row}[creator]" readonly="true"/>
</menulist>
<date-time id="${row}[modified]" readonly="true" class="noBreak"/>
<menulist>
<menupopup type="select-account" id="${row}[modifier]" readonly="true"/>
</menulist>
</vbox>
2006-10-26 15:40:47 +02:00
<hbox options="0" class="noPrint" orient="0">
2007-06-17 15:55:43 +02:00
<button id="document[$row_cont[id]]" image="new" label="Insert in document"/>
2008-05-10 14:02:49 +02:00
<image options="addressbook.addressbook_ui.view&contact_id=$row_cont[id]" label="View" src="view"/>
2008-10-07 15:04:49 +02:00
<button image="edit" label="Edit" onclick="window.open(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]'),'_blank','dependent=yes,width=850,height=460,scrollbars=yes,status=yes'); return false;" id="edit[$row_cont[id]]"/>
2006-04-23 16:40:31 +02:00
<button id="delete[$row_cont[id]]" image="delete" label="Delete" statustext="Delete this contact" onclick="return confirm('Delete this contact');"/>
<checkbox id="checked[]" options="$row_cont[id]" statustext="Select multiple contacts for a further action" align="right"/>
</hbox>
</row>
</rows>
</grid>
</template>
2008-04-23 10:22:22 +02:00
<template id="addressbook.index" template="" lang="" group="0" version="1.5.002">
2006-04-23 16:40:31 +02:00
<grid width="100%">
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
<description span="all" class="redItalic" align="center" id="msg" no_lang="1"/>
<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>
<nextmatch options="addressbook.index.rows" id="nm" span="all"/>
</row>
<row class="noPrint">
2008-05-10 14:02:49 +02:00
<button 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;"/>
2006-04-23 16:40:31 +02:00
<hbox align="right">
2006-04-24 13:15:10 +02:00
<checkbox id="use_all" label="whole query" onchange="if (this.checked==true && !confirm('Apply the action on the whole query, NOT only the shown contacts!!!')) this.checked=false;" statustext="Apply the action on the whole query, NOT only the shown contacts!!!"/>
2006-04-23 16:40:31 +02:00
<menulist>
2008-10-07 15:04:49 +02:00
<menupopup onchange="if (this.value != '') {if (this.value == 'infolog_add') {ids=get_selected(this.form,'[rows][checked][]');win=window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=task&action=addressbook&action_id=')+ids,'_blank','width=750,height=550,left=100,top=200'); win.focus();}if (this.value == 'cat_add'){win=window.open(egw::link('/etemplate/process_exec.php','menuaction=addressbook.addressbook_ui.cat_add'),'_blank','width=300,height=400,left=100,top=200'); win.focus();} else {this.form.submit(); } this.value=''; }" options="Select an action or addressbook to move to..." no_lang="1" id="action" statustext="Select an action or addressbook to move to"/>
2006-04-23 16:40:31 +02:00
</menulist>
<button image="arrow_ltr" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" class="checkAllArrow"/>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>