From 8a1bb0a89ef44796e1d6a8a0c61b300b66c8e1aa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 20 Nov 2011 09:14:16 +0000 Subject: [PATCH] fix for bug #3071: r37248 - new function makes problems in listview/unable to hide field --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- addressbook/setup/etemplates.inc.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 87c92219a1..1ea5854dd5 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1413,7 +1413,7 @@ class addressbook_ui extends addressbook_bo // disable photo column, if view contains no photo(s) if (!$photos) $rows['no_photo'] = true; // disable homeaddress column, if we have no homeaddress(es) - if (!$homeaddress) $rows['no_home'] = true; + if (!$homeaddress) $rows['no_home_adr_two_countrycode_adr_two_postalcode'] = true; // disable roles column if (!$roles) $rows['no_role'] = true; // disable note column diff --git a/addressbook/setup/etemplates.inc.php b/addressbook/setup/etemplates.inc.php index 2d4c4760e0..0648b51aff 100755 --- a/addressbook/setup/etemplates.inc.php +++ b/addressbook/setup/etemplates.inc.php @@ -2,7 +2,7 @@ /** * EGroupware - eTemplates for Application addressbook * http://www.egroupware.org - * generated by soetemplate::dump4setup() 2011-11-11 17:53 + * generated by soetemplate::dump4setup() 2011-11-20 10:13 * * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package addressbook @@ -98,7 +98,7 @@ $templ_data[] = array('name' => 'addressbook.index.right_add','template' => '',' $templ_data[] = array('name' => 'addressbook.index.right_addplus','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:6:"select";s:5:"label";s:4:"Type";s:4:"name";s:15:"col_filter[tid]";s:8:"onchange";i:1;s:4:"size";s:3:"All";s:5:"align";s:5:"right";}s:1:"B";a:5:{s:4:"type";s:10:"buttononly";s:4:"name";s:6:"search";s:5:"label";s:15:"Advanced search";s:7:"onclick";s:170:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.search\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:5:"align";s:5:"right";}s:1:"C";a:7:{s:4:"type";s:10:"buttononly";s:4:"name";s:3:"add";s:5:"label";s:3:"Add";s:4:"help";s:17:"Add a new contact";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"span";s:12:",rightPadAdd";s:5:"align";s:5:"right";}}}s:4:"rows";i:1;s:4:"cols";i:3;s:5:"align";s:5:"right";s:7:"options";a:0:{}}}','size' => '','style' => '.rightPadAdd { width: 30px; }','modified' => '1257759662',); -$templ_data[] = array('name' => 'addressbook.index.rows','template' => '','lang' => '','group' => '0','version' => '1.9.005','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:9:{s:1:"C";s:9:",@no_role";s:1:"E";s:12:"60,@no_photo";s:1:"H";s:9:",@no_home";s:1:"K";s:17:",@no_customfields";s:1:"L";s:9:",@no_note";s:1:"M";s:22:",@no_distribution_list";s:1:"R";s:2:"75";s:2:"c1";s:2:"th";s:2:"c2";s:38:"$row_cont[cat_id] $row_cont[class],top";}i:1;a:18:{s:1:"A";a:2:{s:4:"size";s:1:"1";s:4:"type";s:5:"label";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"h1";s:17:",!@order=n_fileas";s:2:"h2";s:16:",!@order=n_given";s:2:"h3";s:17:",!@order=n_family";s:2:"h5";s:85:",!@order=/^(org_name|n_fileas|adr_one_postalcode|contact_modified|contact_created|#)/";s:2:"h6";s:16:",@order=n_fileas";}i:1;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}}i:3;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}}i:4;a:2:{s:1:"A";a:4:{s:5:"label";s:12:"Organisation";s:4:"span";s:3:"all";s:4:"name";s:8:"org_name";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:4:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";s:4:"span";s:9:",leftPad5";}}i:6;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:2;s:4:"rows";i:6;s:4:"size";s:7:",,,,0,0";}s:1:"C";a:3:{s:5:"label";s:4:"role";s:4:"name";s:4:"role";s:4:"type";s:16:"nextmatch-header";}s:1:"D";a:3:{s:5:"label";s:8:"Category";s:4:"name";s:6:"cat_id";s:4:"type";s:16:"nextmatch-header";}s:1:"E";a:3:{s:5:"label";s:5:"Photo";s:4:"name";s:5:"photo";s:4:"type";s:16:"nextmatch-header";}s:1:"F";a:3:{s:5:"label";s:8:"Birthday";s:4:"name";s:4:"bday";s:4:"type";s:16:"nextmatch-header";}s:1:"G";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_one_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_one_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"H";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:12:"Home address";s:4:"name";s:4:"home";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_two_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_two_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"I";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";s:4:"type";s:16:"nextmatch-header";}i:4;a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:3:"Url";s:4:"name";s:3:"url";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home email";s:4:"name";s:10:"email_home";s:4:"type";s:16:"nextmatch-header";}}s:1:"K";a:2:{s:4:"name";s:12:"customfields";s:4:"type";s:22:"nextmatch-customfields";}s:1:"L";a:3:{s:5:"label";s:4:"Note";s:4:"name";s:4:"note";s:4:"type";s:16:"nextmatch-header";}s:1:"M";a:3:{s:5:"label";s:18:"Distribution lists";s:4:"name";s:17:"distribution_list";s:4:"type";s:16:"nextmatch-header";}s:1:"N";a:3:{s:5:"label";s:11:"Addressbook";s:4:"name";s:5:"owner";s:4:"type";s:16:"nextmatch-header";}s:1:"O";a:3:{s:5:"label";s:2:"ID";s:4:"name";s:10:"contact_id";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:9:"Last date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:9:"Next date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}}s:1:"Q";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:7:"Created";s:4:"name";s:15:"contact_created";s:4:"type";s:20:"nextmatch-sortheader";}i:2;a:3:{s:5:"label";s:13:"Last modified";s:4:"name";s:16:"contact_modified";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"R";a:6:{s:5:"align";s:6:"center";s:5:"class";s:7:"noPrint";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:5:"align";s:6:"center";s:5:"label";s:7:"Actions";s:4:"name";s:14:"legacy_actions";s:4:"type";s:16:"nextmatch-header";}i:2;a:8:{s:5:"align";s:5:"right";s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.index.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:4:"help";s:9:"Check all";}}}i:2;a:18:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:5:"label";s:21:"$row_cont[type_label]";s:7:"no_lang";s:1:"1";s:4:"type";s:5:"image";s:4:"name";s:12:"${row}[type]";}s:1:"B";a:8:{s:4:"name";s:10:"${row}[id]";s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line1]";s:4:"type";s:5:"label";}i:2;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line2]";s:4:"type";s:5:"label";}i:3;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[org_unit]";s:4:"type";s:5:"label";}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[title]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:17:"${row}[first_org]";s:4:"type";s:5:"label";}}s:1:"C";a:2:{s:4:"name";s:12:"${row}[role]";s:4:"type";s:5:"label";}s:1:"D";a:4:{s:4:"type";s:10:"select-cat";s:8:"readonly";s:4:"true";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"1";}s:1:"E";a:3:{s:4:"type";s:5:"image";s:4:"name";s:13:"${row}[photo]";s:4:"span";s:7:",iphoto";}s:1:"F";a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[bday]";s:4:"size";s:5:"Y-m-d";s:4:"type";s:4:"date";}s:1:"G";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_one_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_one_countrycode]";}i:3;a:6:{s:6:"orient";s:1:"0";s:4:"size";s:7:"3,0,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_one_street2]";s:4:"type";s:5:"label";}}s:1:"H";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_two_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_two_countrycode]";}i:3;a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_two_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_two_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_two_street2]";s:4:"type";s:5:"label";}}s:1:"I";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_work]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_cell]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_home]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:4;a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[tel_fax]";s:4:"type";s:9:"url-phone";}i:5;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:20:"${row}[tel_prefered]";s:4:"size";s:57:",$row_cont[tel_prefered_link],,,calling,$cont[call_popup]";s:4:"type";s:5:"label";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:11:"${row}[url]";s:4:"type";s:3:"url";s:4:"span";s:12:",fixedHeight";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[email]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:18:"${row}[email_home]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}}s:1:"K";a:5:{s:4:"cols";s:1:"1";s:4:"rows";s:1:"1";s:4:"name";s:4:"$row";s:4:"type";s:17:"customfields-list";s:4:"span";s:13:",customfields";}s:1:"L";a:4:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[note]";s:4:"type";s:8:"textarea";}s:1:"M";a:2:{s:4:"name";s:21:"${row}[distrib_lists]";s:4:"type";s:5:"label";}s:1:"N";a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[owner]";s:4:"type";s:6:"select";}s:1:"O";a:3:{s:4:"name";s:10:"${row}[id]";s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:2:{s:4:"name";s:17:"${row}[last_link]";s:4:"type";s:4:"link";}i:2;a:2:{s:4:"name";s:17:"${row}[next_link]";s:4:"type";s:4:"link";}}s:1:"Q";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[created]";s:4:"type";s:9:"date-time";s:4:"span";s:7:",noWrap";}i:2;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[creator]";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modified]";s:4:"type";s:9:"date-time";s:4:"span";s:8:",noBreak";}i:4;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modifier]";}}s:1:"R";a:5:{s:5:"class";s:7:"noPrint";s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";i:1;a:4:{s:5:"label";s:4:"View";s:4:"size";s:56:"addressbook.addressbook_ui.view&contact_id=$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:4:"view";}i:2;a:5:{s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"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;";s:4:"name";s:19:"edit[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:4:"edit";}i:3;a:6:{s:5:"label";s:6:"Delete";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:4:"help";s:19:"Delete this contact";}i:4;a:5:{s:5:"align";s:5:"right";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"type";s:8:"checkbox";s:4:"help";s:45:"Select multiple contacts for a further action";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:18:"Insert in document";s:4:"name";s:23:"document[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:15:"etemplate/merge";s:4:"span";s:8:",image16";}i:2;a:5:{s:5:"label";s:11:"Filemanager";s:4:"size";s:91:"/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:18:"filemanager/navbar";s:4:"span";s:8:",image16";}i:3;a:6:{s:5:"label";s:15:"Add appointment";s:7:"onclick";s:195:"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;";s:4:"name";s:8:"calendar";s:4:"type";s:6:"button";s:4:"size";s:15:"calendar/navbar";s:4:"span";s:8:",image16";}}}}}s:4:"cols";i:18;s:4:"rows";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1307033727',); +$templ_data[] = array('name' => 'addressbook.index.rows','template' => '','lang' => '','group' => '0','version' => '1.9.005','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:9:{s:1:"C";s:9:",@no_role";s:1:"E";s:12:"60,@no_photo";s:1:"K";s:17:",@no_customfields";s:1:"L";s:9:",@no_note";s:1:"M";s:22:",@no_distribution_list";s:1:"R";s:2:"75";s:2:"c1";s:2:"th";s:2:"c2";s:38:"$row_cont[cat_id] $row_cont[class],top";s:1:"H";s:48:",@no_home_adr_two_countrycode_adr_two_postalcode";}i:1;a:18:{s:1:"A";a:2:{s:4:"size";s:1:"1";s:4:"type";s:5:"label";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"h1";s:17:",!@order=n_fileas";s:2:"h2";s:16:",!@order=n_given";s:2:"h3";s:17:",!@order=n_family";s:2:"h5";s:85:",!@order=/^(org_name|n_fileas|adr_one_postalcode|contact_modified|contact_created|#)/";s:2:"h6";s:16:",@order=n_fileas";}i:1;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}}i:3;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}}i:4;a:2:{s:1:"A";a:4:{s:5:"label";s:12:"Organisation";s:4:"span";s:3:"all";s:4:"name";s:8:"org_name";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:4:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";s:4:"span";s:9:",leftPad5";}}i:6;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:2;s:4:"rows";i:6;s:4:"size";s:7:",,,,0,0";}s:1:"C";a:3:{s:5:"label";s:4:"role";s:4:"name";s:4:"role";s:4:"type";s:16:"nextmatch-header";}s:1:"D";a:3:{s:5:"label";s:8:"Category";s:4:"name";s:6:"cat_id";s:4:"type";s:16:"nextmatch-header";}s:1:"E";a:3:{s:5:"label";s:5:"Photo";s:4:"name";s:5:"photo";s:4:"type";s:16:"nextmatch-header";}s:1:"F";a:3:{s:5:"label";s:8:"Birthday";s:4:"name";s:4:"bday";s:4:"type";s:16:"nextmatch-header";}s:1:"G";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_one_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_one_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"H";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:12:"Home address";s:4:"name";s:4:"home";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_two_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_two_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"I";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";s:4:"type";s:16:"nextmatch-header";}i:4;a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:3:"Url";s:4:"name";s:3:"url";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home email";s:4:"name";s:10:"email_home";s:4:"type";s:16:"nextmatch-header";}}s:1:"K";a:2:{s:4:"name";s:12:"customfields";s:4:"type";s:22:"nextmatch-customfields";}s:1:"L";a:3:{s:5:"label";s:4:"Note";s:4:"name";s:4:"note";s:4:"type";s:16:"nextmatch-header";}s:1:"M";a:3:{s:5:"label";s:18:"Distribution lists";s:4:"name";s:17:"distribution_list";s:4:"type";s:16:"nextmatch-header";}s:1:"N";a:3:{s:5:"label";s:11:"Addressbook";s:4:"name";s:5:"owner";s:4:"type";s:16:"nextmatch-header";}s:1:"O";a:3:{s:5:"label";s:2:"ID";s:4:"name";s:10:"contact_id";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:9:"Last date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:9:"Next date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}}s:1:"Q";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:7:"Created";s:4:"name";s:15:"contact_created";s:4:"type";s:20:"nextmatch-sortheader";}i:2;a:3:{s:5:"label";s:13:"Last modified";s:4:"name";s:16:"contact_modified";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"R";a:6:{s:5:"align";s:6:"center";s:5:"class";s:7:"noPrint";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:5:"align";s:6:"center";s:5:"label";s:7:"Actions";s:4:"name";s:14:"legacy_actions";s:4:"type";s:16:"nextmatch-header";}i:2;a:8:{s:5:"align";s:5:"right";s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.index.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:4:"help";s:9:"Check all";}}}i:2;a:18:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:5:"label";s:21:"$row_cont[type_label]";s:7:"no_lang";s:1:"1";s:4:"type";s:5:"image";s:4:"name";s:12:"${row}[type]";}s:1:"B";a:8:{s:4:"name";s:10:"${row}[id]";s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line1]";s:4:"type";s:5:"label";}i:2;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line2]";s:4:"type";s:5:"label";}i:3;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[org_unit]";s:4:"type";s:5:"label";}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[title]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:17:"${row}[first_org]";s:4:"type";s:5:"label";}}s:1:"C";a:2:{s:4:"name";s:12:"${row}[role]";s:4:"type";s:5:"label";}s:1:"D";a:4:{s:4:"type";s:10:"select-cat";s:8:"readonly";s:4:"true";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"1";}s:1:"E";a:3:{s:4:"type";s:5:"image";s:4:"name";s:13:"${row}[photo]";s:4:"span";s:7:",iphoto";}s:1:"F";a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[bday]";s:4:"size";s:5:"Y-m-d";s:4:"type";s:4:"date";}s:1:"G";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_one_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_one_countrycode]";}i:3;a:6:{s:6:"orient";s:1:"0";s:4:"size";s:7:"3,0,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_one_street2]";s:4:"type";s:5:"label";}}s:1:"H";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_two_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_two_countrycode]";}i:3;a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_two_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_two_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_two_street2]";s:4:"type";s:5:"label";}}s:1:"I";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_work]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_cell]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_home]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:4;a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[tel_fax]";s:4:"type";s:9:"url-phone";}i:5;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:20:"${row}[tel_prefered]";s:4:"size";s:57:",$row_cont[tel_prefered_link],,,calling,$cont[call_popup]";s:4:"type";s:5:"label";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:11:"${row}[url]";s:4:"type";s:3:"url";s:4:"span";s:12:",fixedHeight";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[email]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:18:"${row}[email_home]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}}s:1:"K";a:5:{s:4:"cols";s:1:"1";s:4:"rows";s:1:"1";s:4:"name";s:4:"$row";s:4:"type";s:17:"customfields-list";s:4:"span";s:13:",customfields";}s:1:"L";a:4:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[note]";s:4:"type";s:8:"textarea";}s:1:"M";a:2:{s:4:"name";s:21:"${row}[distrib_lists]";s:4:"type";s:5:"label";}s:1:"N";a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[owner]";s:4:"type";s:6:"select";}s:1:"O";a:3:{s:4:"name";s:10:"${row}[id]";s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:2:{s:4:"name";s:17:"${row}[last_link]";s:4:"type";s:4:"link";}i:2;a:2:{s:4:"name";s:17:"${row}[next_link]";s:4:"type";s:4:"link";}}s:1:"Q";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[created]";s:4:"type";s:9:"date-time";s:4:"span";s:7:",noWrap";}i:2;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[creator]";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modified]";s:4:"type";s:9:"date-time";s:4:"span";s:8:",noBreak";}i:4;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modifier]";}}s:1:"R";a:5:{s:5:"class";s:7:"noPrint";s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";i:1;a:4:{s:5:"label";s:4:"View";s:4:"size";s:56:"addressbook.addressbook_ui.view&contact_id=$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:4:"view";}i:2;a:5:{s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"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;";s:4:"name";s:19:"edit[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:4:"edit";}i:3;a:6:{s:5:"label";s:6:"Delete";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:4:"help";s:19:"Delete this contact";}i:4;a:5:{s:5:"align";s:5:"right";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"type";s:8:"checkbox";s:4:"help";s:45:"Select multiple contacts for a further action";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:18:"Insert in document";s:4:"name";s:23:"document[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:15:"etemplate/merge";s:4:"span";s:8:",image16";}i:2;a:5:{s:5:"label";s:11:"Filemanager";s:4:"size";s:91:"/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:18:"filemanager/navbar";s:4:"span";s:8:",image16";}i:3;a:6:{s:5:"label";s:15:"Add appointment";s:7:"onclick";s:195:"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;";s:4:"name";s:8:"calendar";s:4:"type";s:6:"button";s:4:"size";s:15:"calendar/navbar";s:4:"span";s:8:",image16";}}}}}s:4:"cols";i:18;s:4:"rows";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1307033727',); $templ_data[] = array('name' => 'addressbook.search','template' => '','lang' => '','group' => '0','version' => '1.8.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:16:"addressbook.edit";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:6:"select";s:5:"label";s:8:"Operator";s:4:"name";s:8:"operator";s:7:"no_lang";s:1:"1";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:11:"meth_select";s:7:"no_lang";s:1:"1";}s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Search";s:4:"name";s:14:"button[search]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1161707411',);