2015-12-07 19:36:16 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2017-02-01 09:59:37 +01:00
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2015-12-07 19:36:16 +01:00
<!-- $Id$ -->
<overlay>
<template id="addressbook.index.right_add" template="" lang="" group="0" version="1.7.001">
<hbox>
<menulist>
<menupopup align="right" label="Type" id="col_filter[tid]" empty_label="All"/>
</menulist>
</hbox>
</template>
<template id="addressbook.index.rows" template="" lang="" group="0" version="1.9.005">
<grid width="100%">
<columns>
2015-12-10 18:07:25 +01:00
<column width="10"/>
2016-02-01 19:09:15 +01:00
<column width="80%"/>
2016-03-11 11:18:32 +01:00
<column width="70"/>
2015-12-07 19:36:16 +01:00
</columns>
<rows>
<row class="th">
</row>
2015-12-10 18:07:25 +01:00
<row class="$row_cont[class]" valign="top">
<description class=" cat_$row_cont[cat_id] mobile_cat_col"/>
2015-12-07 19:36:16 +01:00
<vbox class="addressbookCol1">
2017-01-09 16:04:51 +01:00
<customfields-list id="$row" class="customfields" app="addressbook" disabled="true"/>
2015-12-07 19:36:16 +01:00
<vbox id="${row}[id]">
2016-02-01 19:09:15 +01:00
<description id="${row}[line2]" no_lang="1" />
<description id="${row}[line1]" no_lang="1" />
2015-12-07 19:36:16 +01:00
</vbox>
</vbox>
<vbox class="addressbookCol3">
2022-08-23 14:54:22 +02:00
<lavatar src="$row_cont[photo]" contact_id="$row_cont[id]" lname="$row_cont[n_family]" fname="$row_cont[n_given]"/>
2015-12-07 19:36:16 +01:00
</vbox>
</row>
</rows>
</grid>
</template>
<template id="addressbook.index" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
<description align="center" id="msg" no_lang="1" span="all" class="redItalic"/>
<description/>
<description/>
<description/>
<description/>
<description/>
<description/>
<description/>
<description/>
</row>
<row disabled="1">
<template id="addressbook.index.left"/>
<template align="right" id="addressbook.index.right_add"/>
</row>
<row>
2022-08-22 16:19:13 +02:00
<hbox>
<buttononly class="plus_button" size="large" statustext="Add a new contact" id="plus_button" onclick="egw(window).openPopup(egw::link('/index.php','menuaction=addressbook.addressbook_ui.edit'),'850','440','_blank','addressbook',null,true); return false;"/>
</hbox>
2016-01-19 14:51:20 +01:00
</row>
<row>
2016-02-17 13:09:34 +01:00
<nextmatch id="nm" template="addressbook.index.rows" header_right="addressbook.index.right_add" span="all"/>
2015-12-07 19:36:16 +01:00
</row>
<row class="noPrint dialogFooterToolbar" disabled="!@nm[selectcols]=/legacy_actions/">
<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;"/>
<hbox align="right" span="all">
2018-11-20 18:27:43 +01:00
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('addressbook.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.index.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
2015-12-07 19:36:16 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>