From 6b537a135881515338cd5d3e64b648058655cc9f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 30 Jul 2013 14:16:47 +0000 Subject: [PATCH 001/519] Add taglist-email sub-type, uses specific data source, formatting, and some client-side validation for just emails. --- .../class.etemplate_widget_taglist.inc.php | 17 +++++++ etemplate/js/et2_widget_taglist.js | 50 +++++++++++++++++-- etemplate/js/et2_widget_url.js | 9 +++- 3 files changed, 72 insertions(+), 4 deletions(-) diff --git a/etemplate/inc/class.etemplate_widget_taglist.inc.php b/etemplate/inc/class.etemplate_widget_taglist.inc.php index 6f7a24f0c3..88ee83a1d4 100644 --- a/etemplate/inc/class.etemplate_widget_taglist.inc.php +++ b/etemplate/inc/class.etemplate_widget_taglist.inc.php @@ -51,4 +51,21 @@ class etemplate_widget_taglist extends etemplate_widget echo json_encode($results); common::egw_exit(); } + + /** + * Search for emails + * + * Uses the mail application if available, or addressbook + */ + public static function ajax_email() { + // If no mail app access, use link system -> addressbook + if(!$GLOBALS['egw_info']['apps']['mail']) + { + $_REQUEST['app'] = 'addressbook-email'; + return self::ajax_search(); + } + + // TODO: this should go to a BO, not a UI object + return mail_compose::ajax_searchAddress(); + } } \ No newline at end of file diff --git a/etemplate/js/et2_widget_taglist.js b/etemplate/js/et2_widget_taglist.js index 6afe4f9247..9ed86efcd5 100644 --- a/etemplate/js/et2_widget_taglist.js +++ b/etemplate/js/et2_widget_taglist.js @@ -107,6 +107,8 @@ var et2_taglist = et2_selectbox.extend( "tags": { ignore: true} }, + // Allows sub-widgets to override options to the library + lib_options: {}, /** * Construtor * @@ -143,7 +145,7 @@ var et2_taglist = et2_selectbox.extend( // MagicSuggest would replaces our div, so add a wrapper instead this.taglist = $j('
').appendTo(this.div); - this.taglist = this.taglist.magicSuggest({ + var options = jQuery.extend( { data: this.options.select_options && !jQuery.isEmptyObject(this.options.select_options) ? this.options.select_options : this.options.autocomplete_url, dataUrlParams: this.options.autocomplete_params, value: this.options.value, @@ -157,10 +159,11 @@ var et2_taglist = et2_selectbox.extend( allowFreeEntries: this.options.allowFreeEntries, disabled: this.options.disabled || this.options.readonly, editable: !(this.options.disabled || this.options.readonly), - selectionRenderer: this.options.tagRenderer || this.selectionRenderer, + selectionRenderer: jQuery.proxy(this.options.tagRenderer || this.selectionRenderer,this), renderer: this.options.listRenderer || null, maxSelection: this.options.maxSelection - }); + }, this.lib_options); + this.taglist = this.taglist.magicSuggest(options); // Display / hide a loading icon while fetching $j(this.taglist) @@ -262,6 +265,47 @@ var et2_taglist = et2_selectbox.extend( }); et2_register_widget(et2_taglist, ["taglist"]); +/** + * Taglist customized specifically for emails, which it pulls from the mail application, + * or addressbook if mail is not available. Free entries are allowed, and we render + * invalid free entries differently (but still accept them). + * + * @augments et2_taglist + */ +var et2_taglist_email = et2_taglist.extend( +{ + attributes: { + "autocomplete_url": { + "default": "etemplate_widget_taglist::ajax_email::etemplate", + }, + "autocomplete_params": { + "default": {}, + }, + allowFreeEntries: { + "default": true, + ignore: true + } + }, + lib_options: { + // Search function limits to 3 anyway + minChars: 3 + }, + + // PREG for client-side validation copied from etemplate_widget_url + EMAIL_PREG: new RegExp(/^[^\x00-\x20()<>@,;:\".\[\]]+@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}/), + + selectionRenderer: function(item) + { + // We check free entries for valid email, and render as invalid if it's not. + var valid = item.id != item.label || this.EMAIL_PREG.test(item.id || ''); + + var label = ''+(item.name ? item.name : item.label)+''; + return label; + } +}); +et2_register_widget(et2_taglist_email, ["taglist-email"]); + // Require css // TODO: merge into etemplate2.css with all other widgets when done if(typeof egw != 'undefined') egw(window).includeCSS(egw.webserverUrl + "/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.0.css"); diff --git a/etemplate/js/et2_widget_url.js b/etemplate/js/et2_widget_url.js index 69c45c4191..3ace24833c 100644 --- a/etemplate/js/et2_widget_url.js +++ b/etemplate/js/et2_widget_url.js @@ -30,7 +30,9 @@ var et2_url = et2_textbox.extend( "ignore": true } }, - + + // PREG for client-side validation copied from etemplate_widget_url + EMAIL_PREG: new RegExp(/^[^\x00-\x20()<>@,;:\".\[\]]+@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}/), /** * @memberOf et2_url */ @@ -194,6 +196,11 @@ var et2_url = et2_textbox.extend( e.data.showMessage(e.data.egw().lang("Protocol is required"), "hint", true); } break; + case "url-email": + if(!e.data.EMAIL_PREG.test(value)) + { + e.data.showMessage("Invalid email","validation_error",true); + } } } }); From 72fb016cb46cb24d18ec117e55ef2b093a3fe66e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 30 Jul 2013 14:17:36 +0000 Subject: [PATCH 002/519] Fix dropdown + favorites menu not doing anything when clicked. --- etemplate/js/et2_widget_dropdown_button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_dropdown_button.js b/etemplate/js/et2_widget_dropdown_button.js index 21c9d78f9b..6df1831041 100644 --- a/etemplate/js/et2_widget_dropdown_button.js +++ b/etemplate/js/et2_widget_dropdown_button.js @@ -131,7 +131,7 @@ var et2_dropdown_button = et2_inputWidget.extend( this.menu = $j(this.default_menu).attr("id",this.internal_ids.menu) .hide() .menu({ - selected: function(event,ui) { + select: function(event,ui) { self.onselect(event,ui.item); } }); From 84b891f9794ff28b8819cc8a1353736ae4c95fdf Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 30 Jul 2013 14:20:23 +0000 Subject: [PATCH 003/519] Use new taglist-email for emails with validation --- mail/inc/class.mail_compose.inc.php | 19 +++++++++---------- mail/templates/default/compose.xet | 10 +++++----- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 50e841b241..001bd5fbf8 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -2535,9 +2535,9 @@ $content['mailtext'] = 'garbage'; common::egw_exit(); } - function ajax_searchAddress() { + public static function ajax_searchAddress() { $_searchString = trim($_REQUEST['query']); - if (strlen($_searchString)>=3 && $GLOBALS['egw_info']['user']['apps']['addressbook']) { + if ($GLOBALS['egw_info']['user']['apps']['addressbook']) { //error_log(__METHOD__.__LINE__.array2string($_searchString)); if (method_exists($GLOBALS['egw']->contacts,'search')) { // 1.3+ @@ -2573,13 +2573,6 @@ $content['mailtext'] = 'garbage'; } unset($accounts); } - } else { - // < 1.3 - $contacts = $GLOBALS['egw']->contacts->read(0,20,array( - 'fn' => 1, - 'email' => 1, - 'email_home' => 1, - ), $_searchString, 'tid=n', '', 'fn'); } } $results = array(); @@ -2603,7 +2596,13 @@ $content['mailtext'] = 'garbage'; } $completeMailString = trim($contact['n_fn'] ? $contact['n_fn'] : $contact['fn']) .' <'. trim($email) .'>'; if(!empty($email) && in_array($completeMailString ,$results) === false) { - $results[] = array('id'=>$completeMailString, 'label' => htmlspecialchars($completeMailString)); + $results[] = array( + 'id'=>$completeMailString, + 'label' => htmlspecialchars($completeMailString), + // Add just name for nice display, with title for hover + 'name' => htmlspecialchars($contact['n_fn']), + 'title' => $email + ); } if ($i > 10) break; // we check for # of results here, as we might have empty email addresses } diff --git a/mail/templates/default/compose.xet b/mail/templates/default/compose.xet index 073b6183ef..f8586f6655 100644 --- a/mail/templates/default/compose.xet +++ b/mail/templates/default/compose.xet @@ -6,23 +6,23 @@ - + - + - + - + - + From c3b3fb5019e62a79b6743de3434a10c433c6d40c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 30 Jul 2013 14:24:32 +0000 Subject: [PATCH 004/519] Fix cancel button in edit dialog --- addressbook/setup/etemplates.inc.php | 8 +- addressbook/templates/default/edit.xet | 127 +++++++++++++------------ 2 files changed, 69 insertions(+), 66 deletions(-) diff --git a/addressbook/setup/etemplates.inc.php b/addressbook/setup/etemplates.inc.php index 06c3fcf390..f28bc98418 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() 2013-07-17 16:05 + * generated by soetemplate::dump4setup() 2013-07-30 08:22 * * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package addressbook @@ -24,7 +24,7 @@ $templ_data[] = array('name' => 'addressbook.display','template' => '','lang' => $templ_data[] = array('name' => 'addressbook.display.rows','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:17:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"B";s:17:",!@show[org_name]";s:1:"C";s:17:",!@show[org_unit]";s:1:"D";s:13:",!@show[n_fn]";s:1:"E";s:14:",!@show[email]";s:1:"F";s:17:",!@show[tel_work]";s:1:"G";s:17:",!@show[tel_cell]";s:1:"H";s:16:",!@show[tel_fax]";s:1:"I";s:17:",!@show[org_home]";s:1:"J";s:12:",!@show[url]";s:1:"K";s:23:",!@show[adr_one_street]";s:1:"L";s:27:",!@show[adr_one_postalcode]";s:1:"M";s:25:",!@show[adr_one_locality]";s:1:"N";s:23:",!@show[adr_one_region]";s:1:"O";s:16:",!@show[custom1]";s:1:"P";s:16:",!@show[custom2]";}i:1;a:17:{s:1:"A";a:2:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"type";}s:1:"B";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Company";s:4:"name";s:8:"org_name";}s:1:"C";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Department";s:4:"name";s:8:"org_unit";}s:1:"D";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Contact";s:4:"name";s:4:"n_fn";}s:1:"E";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:5:"Email";s:4:"name";s:5:"email";}s:1:"F";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";}s:1:"G";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";}s:1:"H";a:3:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:7:"tel_fax";s:5:"label";s:3:"Fax";}s:1:"I";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";}s:1:"J";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:8:"Internet";s:4:"name";s:3:"url";}s:1:"K";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Street";s:4:"name";s:14:"adr_one_street";}s:1:"L";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"ZIP Code";s:4:"name";s:18:"adr_one_postalcode";}s:1:"M";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:4:"City";s:4:"name";s:16:"adr_one_locality";}s:1:"N";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Region";s:4:"name";s:14:"adr_one_region";}s:1:"O";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[1]";s:4:"name";s:7:"custom1";}s:1:"P";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[2]";s:4:"name";s:7:"custom2";}s:1:"Q";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"select country";s:4:"name";s:7:"country";}i:2;a:4:{s:4:"type";s:22:"nextmatch-customfilter";s:4:"name";s:19:"adr_one_countryname";s:4:"size";s:24:"select-country,Country,1";s:4:"span";s:14:",countrySelect";}}}i:2;a:17:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:4:"size";s:1:"1";s:4:"name";s:12:"${row}[type]";s:8:"readonly";s:1:"1";s:5:"label";s:21:"$row_cont[type_label]";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_name]";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line1]";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[email]";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_work]";}s:1:"G";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_cell]";}s:1:"H";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[tel_fax]";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_home]";}s:1:"J";a:2:{s:4:"type";s:5:"label";s:4:"name";s:11:"${row}[url]";}s:1:"K";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_street]";}i:2;a:2:{s:4:"type";s:5:"label";s:4:"name";s:23:"${row}[adr_one_street2]";}}s:1:"L";a:2:{s:4:"type";s:5:"label";s:4:"name";s:26:"${row}[adr_one_postalcode]";}s:1:"M";a:2:{s:4:"type";s:5:"label";s:4:"name";s:24:"${row}[adr_one_locality]";}s:1:"N";a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_region]";}s:1:"O";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom1]";}s:1:"P";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom2]";}s:1:"Q";a:2:{s:4:"type";s:5:"label";s:4:"name";s:27:"${row}[adr_one_countryname]";}}}s:4:"rows";i:2;s:4:"cols";i:17;s:4:"size";s:14:"100%,,,,,,auto";s:7:"options";a:2:{i:0;s:4:"100%";i:6;s:4:"auto";}}}','size' => '100%,,,,,,auto','style' => '','modified' => '1195309977',); -$templ_data[] = array('name' => 'addressbook.edit','template' => '','lang' => '','group' => '0','version' => '1.9.004','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:5:{s:1:"A";s:3:"450";s:2:"h1";s:6:",!@msg";s:2:"c3";s:4:",top";s:1:"B";s:3:"350";s:2:"h4";s:13:",@hidebuttons";}i:1;a:2:{s:1:"A";a:5:{s:4:"type";s:8:"htmlarea";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:9:{s:4:"type";s:6:"select";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:11:",!@org_name";s:1:"B";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:1:":";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:3;s:4:"span";s:7:",fileas";s:4:"name";s:11:"fileas_type";s:7:"no_lang";s:1:"1";s:4:"blur";s:4:"Name";s:4:"help";s:11:"own sorting";}s:1:"B";a:6:{s:4:"type";s:4:"grid";s:5:"align";s:5:"right";s:4:"data";a:2:{i:0;a:1:{s:2:"h1";s:8:",@no_tid";}i:1;a:2:{s:1:"A";a:6:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"tid";s:8:"onchange";i:1;s:5:"label";s:4:"Type";s:4:"span";s:9:",leftPad5";}s:1:"B";a:7:{s:4:"type";s:4:"html";s:4:"span";s:6:",space";s:6:"needed";s:1:"1";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";s:4:"name";s:7:"typegfx";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:2;s:7:"options";a:0:{}}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:3:"tab";s:5:"label";s:87:"General|Categories|Private|Details|Links|Distribution lists|Extra|Extra private|History";s:4:"name";s:84:"tabs=general|cats|home|details|links|distribution_list|custom|custom_private|history";s:4:"help";s:141:"Name, Address|Categories|Home address, Birthday, ...|Categories, Notes, ...|Links|Distribution lists, ...|Custom fields|Private custom fields";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:2:{s:4:"type";s:8:"template";s:4:"name";s:22:"addressbook.editphones";}i:2;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:13:"Phone Numbers";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:2:{s:1:"B";s:3:"120";s:1:"A";s:2:"20";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:8:"business";s:4:"size";s:11:",,,tel_work";}s:1:"C";a:4:{s:4:"type";s:9:"url-phone";s:4:"name";s:8:"tel_work";s:4:"size";s:5:"24,40";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_work,♥";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:11:",,,tel_cell";}s:1:"C";a:4:{s:4:"type";s:9:"url-phone";s:4:"name";s:8:"tel_cell";s:4:"size";s:5:"24,40";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_cell,♥";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:3;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:11:",,,tel_home";}s:1:"C";a:4:{s:4:"type";s:9:"url-phone";s:4:"name";s:8:"tel_home";s:4:"size";s:5:"24,40";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_home,♥";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"type";s:9:"url-phone";s:4:"name";s:7:"tel_fax";s:4:"size";s:5:"24,40";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_fax,♥";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:5:{s:4:"type";s:6:"button";s:5:"label";s:8:"More ...";s:7:"onclick";s:111:"jQuery(\'table.editphones\').css(\'display\',\'inline\'); if (window.showphones) showphones(this.form); return false;";s:9:"accesskey";s:1:"m";s:4:"name";s:12:"button[more]";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:5;s:4:"cols";i:4;}s:4:"span";s:11:",phoneGroup";}i:3;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:16:"Email & Internet";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"url";s:4:"size";s:6:",,,url";}s:1:"C";a:3:{s:4:"type";s:3:"url";s:4:"name";s:3:"url";s:4:"size";s:6:"28,128";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,url_home";s:5:"label";s:7:"Private";}s:1:"C";a:3:{s:4:"type";s:3:"url";s:4:"name";s:8:"url_home";s:4:"size";s:6:"28,128";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"email";s:4:"size";s:8:",,,email";}s:1:"C";a:4:{s:4:"type";s:9:"url-email";s:4:"name";s:5:"email";s:4:"size";s:6:"28,128";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:13:",,,email_home";}s:1:"C";a:4:{s:4:"type";s:9:"url-email";s:4:"name";s:10:"email_home";s:4:"size";s:6:"28,128";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:7:"options";a:0:{}}s:4:"span";s:11:",emailGroup";}}}i:4;a:2:{s:1:"A";a:9:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Edit";s:4:"name";s:12:"button[edit]";s:7:"onclick";s:189:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=460,scrollbars=yes,status=yes\'); return false;";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Copy";s:4:"name";s:12:"button[copy]";s:7:"onclick";s:198:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"vCard";s:4:"name";s:13:"button[vcard]";s:4:"help";s:35:"download this contact as vCard file";}i:4;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:9:"accesskey";s:1:"s";}i:5;a:3:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";}i:6;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:57:"if($cont[view]0) return true; self.close(); return false;";}i:7;a:5:{s:4:"type";s:8:"checkbox";s:5:"label";s:31:"change all organisation members";s:4:"name";s:10:"change_org";s:4:"span";s:3:"all";s:4:"help";s:73:"Apply changes to all members, whose fields have the same previous content";}}s:1:"B";a:6:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:14:"button[delete]";s:7:"onclick";s:65:"return confirm(\'Are you shure you want to delete this contact?\');";s:5:"align";s:5:"right";s:8:"tabindex";i:25;}}}s:4:"rows";i:4;s:4:"cols";i:2;s:5:"align";s:6:"center";s:7:"options";a:0:{}}}','size' => '','style' => '','modified' => '1343142627',); +$templ_data[] = array('name' => 'addressbook.edit','template' => '','lang' => '','group' => '0','version' => '1.9.004','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:5:{s:1:"A";s:3:"450";s:1:"B";s:3:"350";s:2:"h1";s:6:",!@msg";s:2:"c3";s:4:",top";s:2:"h4";s:13:",@hidebuttons";}i:1;a:2:{s:1:"A";a:5:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:8:"htmlarea";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:6:{s:5:"class";s:6:"fileas";s:4:"blur";s:4:"Name";s:7:"no_lang";s:1:"1";s:4:"name";s:11:"fileas_type";s:4:"type";s:6:"select";s:4:"help";s:11:"own sorting";}s:1:"B";a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"h1";s:8:",@no_tid";}i:1;a:2:{s:1:"A";a:6:{s:5:"class";s:8:"leftPad5";s:5:"label";s:4:"Type";s:7:"no_lang";s:1:"1";s:8:"onchange";s:1:"1";s:4:"name";s:3:"tid";s:4:"type";s:6:"select";}s:1:"B";a:7:{s:5:"label";s:1:" ";s:6:"needed";s:1:"1";s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:7:"typegfx";s:4:"type";s:4:"html";s:4:"span";s:6:",space";}}}s:4:"cols";i:2;s:4:"rows";i:1;}}i:3;a:2:{s:1:"A";a:4:{s:4:"name";s:232:"addressbook.edit.general|addressbook.edit.cats|addressbook.edit.home|addressbook.edit.details|addressbook.edit.links|addressbook.edit.distribution_list|addressbook.edit.custom|addressbook.edit.custom_private|addressbook.edit.history";s:4:"type";s:3:"tab";s:5:"label";s:87:"General|Categories|Private|Details|Links|Distribution lists|Extra|Extra private|History";s:4:"help";s:142:"Name, Address|Categories|Home address, Birthday, ...|Categories, Notes, ...|Links|Distribution lists, ...|Custom fields|Private custom fields|";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:2:{s:4:"name";s:22:"addressbook.editphones";s:4:"type";s:8:"template";}i:2;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",phoneGroup";s:5:"label";s:13:"Phone Numbers";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:3:{s:3:"for";s:8:"tel_work";s:4:"type";s:5:"label";s:5:"label";s:8:"business";}s:1:"C";a:4:{s:4:"name";s:8:"tel_work";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_work,♥";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_cell";s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";}s:1:"C";a:4:{s:4:"name";s:8:"tel_cell";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_cell,♥";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:3;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:4:"name";s:8:"tel_home";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_home,♥";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"name";s:7:"tel_fax";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:16:"tel_fax,♥";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:5:{s:9:"accesskey";s:1:"m";s:5:"label";s:8:"More ...";s:7:"onclick";s:111:"jQuery(\'table.editphones\').css(\'display\',\'inline\'); if (window.showphones) showphones(this.form); return false;";s:4:"name";s:12:"button[more]";s:4:"type";s:6:"button";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:4;s:4:"rows";i:5;}}i:3;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",emailGroup";s:5:"label";s:16:"Email & Internet";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:3:{s:3:"for";s:3:"url";s:4:"type";s:5:"label";s:5:"label";s:3:"url";}s:1:"C";a:3:{s:4:"name";s:3:"url";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"url_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:3:{s:4:"name";s:8:"url_home";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:3:{s:3:"for";s:5:"email";s:4:"type";s:5:"label";s:5:"label";s:5:"email";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:5:"email";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:10:"email_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:10:"email_home";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}}s:4:"cols";i:3;s:4:"rows";i:4;}}}}i:4;a:2:{s:1:"A";a:9:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:5:"label";s:4:"Edit";s:7:"onclick";s:189:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=460,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[edit]";s:4:"type";s:6:"button";}i:2;a:4:{s:5:"label";s:4:"Copy";s:7:"onclick";s:198:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[copy]";s:4:"type";s:6:"button";}i:3;a:4:{s:5:"label";s:5:"vCard";s:4:"name";s:13:"button[vcard]";s:4:"type";s:6:"button";s:4:"help";s:35:"download this contact as vCard file";}i:4;a:4:{s:9:"accesskey";s:1:"s";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:4:"type";s:6:"button";}i:5;a:3:{s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";s:4:"type";s:6:"button";}i:6;a:4:{s:5:"label";s:6:"Cancel";s:7:"onclick";s:65:"if($cont[view] || false) return true; self.close(); return false;";s:4:"name";s:14:"button[cancel]";s:4:"type";s:6:"button";}i:7;a:5:{s:5:"label";s:31:"change all organisation members";s:4:"span";s:3:"all";s:4:"name";s:10:"change_org";s:4:"type";s:8:"checkbox";s:4:"help";s:73:"Apply changes to all members, whose fields have the same previous content";}}s:1:"B";a:6:{s:5:"align";s:5:"right";s:5:"label";s:6:"Delete";s:7:"onclick";s:65:"return confirm(\'Are you shure you want to delete this contact?\');";s:8:"tabindex";s:2:"25";s:4:"name";s:14:"button[delete]";s:4:"type";s:6:"button";}}}s:4:"cols";i:2;s:4:"rows";i:4;}}','size' => '','style' => '','modified' => '1375194166',); $templ_data[] = array('name' => 'addressbook.edit.access','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c2";s:4:",top";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"Publish into groups:";}s:1:"B";a:3:{s:4:"type";s:6:"manual";s:7:"onclick";s:13:"return false;";s:4:"name";s:30:"ManualAddressbookPublishgroups";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"select";s:4:"size";s:1:"5";s:4:"name";s:16:"published_groups";s:4:"span";s:3:"all";s:7:"no_lang";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1140005589',); @@ -88,7 +88,7 @@ $templ_data[] = array('name' => 'addressbook.importexport_wizzard_fieldmaping',' $templ_data[] = array('name' => 'addressbook.importexport_wizzard_samplefile','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:4:"file";s:4:"name";s:4:"file";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1146650510',); -$templ_data[] = array('name' => 'addressbook.index','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";s:2:"h4";s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:9:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.index.left";s:4:"type";s:8:"template";}s:1:"B";a:3:{s:5:"align";s:5:"right";s:4:"name";s:27:"addressbook.index.right_add";s:4:"type";s:8:"template";}}i:3;a:9:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"size";s:22:"addressbook.index.rows";s:4:"type";s:9:"nextmatch";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:4;a:9:{s:1:"A";a:5:{s:5:"label";s:3:"Add";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:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"span";s:3:"all";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:5:"label";s:13:"Select action";s:7:"onclick";s:231:"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;;";s:4:"name";s:14:"legacy_actions";s:4:"type";s:10:"buttononly";s:4:"help";s:13:"Select action";}i:2;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:142:"egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:9;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1307033758',); +$templ_data[] = array('name' => 'addressbook.index','template' => '','lang' => '','group' => '0','version' => '1.9.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";s:2:"h4";s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:9:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.index.left";s:4:"type";s:8:"template";}s:1:"B";a:3:{s:5:"align";s:5:"right";s:4:"name";s:27:"addressbook.index.right_add";s:4:"type";s:8:"template";}}i:3;a:9:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"size";s:22:"addressbook.index.rows";s:4:"type";s:9:"nextmatch";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:4;a:9:{s:1:"A";a:5:{s:5:"label";s:3:"Add";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:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"span";s:3:"all";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:5:"label";s:13:"Select action";s:7:"onclick";s:231:"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;;";s:4:"name";s:14:"legacy_actions";s:4:"type";s:10:"buttononly";s:4:"help";s:13:"Select action";}i:2;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:142:"egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:9;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1372179804',); $templ_data[] = array('name' => 'addressbook.index.cat_add','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:4:",top";s:1:"C";s:14:",@cat_tab=Tree";s:1:"D";s:15:",!@cat_tab=Tree";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:14:"013,,width:99%";}s:1:"D";a:3:{s:4:"type";s:8:"tree-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:13:"13,,width:99%";}}i:2;a:4:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:3:{s:4:"type";s:6:"button";s:5:"label";s:3:"add";s:4:"name";s:7:"cat_add";}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"delete";s:4:"name";s:10:"cat_delete";}s:4:"span";s:3:"all";i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"cancel";s:4:"name";s:10:"cat_cancel";s:7:"onclick";s:15:"window.close();";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:4;s:4:"size";s:17:"100%,300,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"300";i:6;s:4:"auto";}}}','size' => '100%,300,,,,,auto','style' => '','modified' => '1204881537',); @@ -102,7 +102,7 @@ $templ_data[] = array('name' => 'addressbook.index.right_add','template' => '',' $templ_data[] = array('name' => 'addressbook.index.right_addplus','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{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:5:"align";s:5:"right";s:5:"label";s:4:"Type";s:8:"onchange";s:1:"1";s:4:"name";s:15:"col_filter[tid]";s:4:"size";s:3:"All";s:4:"type";s:6:"select";}s:1:"B";a:5:{s:5:"align";s:5:"right";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:4:"name";s:6:"search";s:4:"type";s:10:"buttononly";}s:1:"C";a:6:{s:5:"align";s:5:"right";s:5:"label";s:3:"Add";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:"name";s:3:"add";s:4:"type";s:10:"buttononly";s:4:"help";s:17:"Add a new contact";}}}s:4:"cols";i:3;s:4:"rows";i:1;}}','size' => '','style' => '.rightPadAdd { width: 30px; }','modified' => '1360250716',); -$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:1:"1";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"2";}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:3:{s:4:"size";s:1:"1";s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"icon";}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:1:"1";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"2";}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',); diff --git a/addressbook/templates/default/edit.xet b/addressbook/templates/default/edit.xet index 22caa80363..10b725149f 100644 --- a/addressbook/templates/default/edit.xet +++ b/addressbook/templates/default/edit.xet @@ -27,23 +27,23 @@ - + - + - + - + - + @@ -72,7 +72,6 @@ - @@ -86,12 +85,12 @@ - + - + @@ -106,12 +105,12 @@ - + - + @@ -121,7 +120,7 @@ - + @@ -129,10 +128,10 @@ - + - - + + @@ -149,10 +148,10 @@ - + - - + + @@ -160,8 +159,8 @@ - - + + @@ -195,7 +194,7 @@ - + @@ -205,7 +204,7 @@ - + @@ -213,10 +212,10 @@ - + - - + + @@ -224,7 +223,7 @@ - + @@ -235,15 +234,15 @@ - - + + - + @@ -253,7 +252,7 @@ - + @@ -405,12 +404,16 @@ + + + + @@ -418,27 +421,27 @@ - + - + - + - + - + @@ -446,11 +449,11 @@ - + - + @@ -458,17 +461,17 @@ - + - + - + @@ -476,7 +479,7 @@ - + @@ -498,8 +501,8 @@ - - + + @@ -508,8 +511,8 @@ - - + + @@ -517,17 +520,17 @@ - + - - - - - - - - - + + + + + + + + +