From 35b9fe0cbe1e723a3ad6709a0a43c8342bf57550 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 13 Nov 2005 17:51:41 +0000 Subject: [PATCH] redesigned the edit and view dialog, hope you like it Conny ;-) --- addressbook/inc/class.uiaddressbook.inc.php | 20 +- addressbook/inc/class.uicontacts.inc.php | 188 ++++------ addressbook/setup/etemplates.inc.php | 36 +- addressbook/setup/phpgw_de.lang | 10 +- addressbook/setup/phpgw_en.lang | 9 +- addressbook/templates/default/edit.xet | 362 ++++++++++---------- 6 files changed, 302 insertions(+), 323 deletions(-) diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index f2603b9ff9..e2d954c50c 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -511,8 +511,9 @@ $GLOBALS['egw']->template->set_var('th_text',$GLOBALS['egw_info']['theme']['th_text']); $GLOBALS['egw']->template->set_var('action_url',$GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.delete')); $GLOBALS['egw']->template->set_var('lang_add',lang('Add')); - $GLOBALS['egw']->template->set_var('add_url',$GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.add')); - $GLOBALS['egw']->template->set_var('add_onclick','window.open(\''.$GLOBALS['egw']->link('/index.php?menuaction=addressbook.uicontacts.edit').'\',\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\');return false;'); + $add_link = $GLOBALS['egw']->link('/index.php?menuaction=addressbook.uicontacts.edit'); + $GLOBALS['egw']->template->set_var('add_url',$add_link); + $GLOBALS['egw']->template->set_var('add_onclick',"window.open('$add_link','_blank','dependent=yes,width=850,height=440,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"); $GLOBALS['egw']->template->set_var('lang_addvcard',lang('AddVCard')); $GLOBALS['egw']->template->set_var('vcard_url',$GLOBALS['egw']->link('/index.php','menuaction=addressbook.uivcard.in')); $GLOBALS['egw']->template->set_var('lang_import',lang('Import Contacts')); @@ -609,14 +610,11 @@ { $actions .= ''; + 'menuaction' => 'addressbook.uicontacts.edit', + 'contact_id' => $entries[$i]['id'], + )). '" onClick="window.open(this,this.target,\'dependent=yes,width=850,height=440,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;">'. + ''; } if($this->bo->check_perms($entries[$i],PHPGW_ACL_DELETE)) @@ -1155,7 +1153,7 @@ $GLOBALS['egw']->template->set_var('edit_button',$this->html_1button_form('edit','Edit', $GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.edit&ab_id=' .$ab_id),'window.open(\''.$GLOBALS['egw']->link('/index.php?menuaction=addressbook.uicontacts.edit') . '&contact_id='.$ab_id. - '\',\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\');return false;')); + '\',\'\',\'dependent=yes,width=850,height=440,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\');return false;')); } $GLOBALS['egw']->template->set_var('copy_button',$this->html_1button_form('submit','copy', $GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.copy&ab_id=' . $fields[0]['id']))); diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index bfc4a5e36f..89e4e10d80 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -52,53 +52,56 @@ class uicontacts extends bocontacts } /** + * Edit a contact * + * @param array $content=null submitted content * @param int $_GET['contact_id'] contact_id manly for popup use * @param bool $_GET['makecp'] ture if you want do copy the contact given by $_GET['contact_id'] */ - function edit($content='') + function edit($content=null) { if (is_array($content)) { - if (isset($content['button']['save'])) + list($button) = each($content['button']); + switch($button) { - $this->save($content); - echo "\n"; - $GLOBALS['egw']->common->egw_exit(); - } - elseif (isset($content['button']['apply'])) - { - $content = $this->save($content); - $GLOBALS['egw_info']['flags']['java_script'] .= ""; - } - elseif (isset($content['button']['delete'])) - { - if(!$this->delete($content)); - { - echo "\n"; - $GLOBALS['egw']->common->egw_exit(); - } + case 'save': + $this->save($content); + echo "\n"; + $GLOBALS['egw']->common->egw_exit(); + + case 'apply': + $content = $this->save($content); + $GLOBALS['egw_info']['flags']['java_script'] .= ""; + break; + + case 'delete': + if(!$this->delete($content)); + { + echo "\n"; + $GLOBALS['egw']->common->egw_exit(); + } + break; } } else { $content = array(); - $content_id = $_GET['contact_id'] ? $_GET['contact_id'] : 0; + $contact_id = $_GET['contact_id'] ? $_GET['contact_id'] : 0; $view = $_GET['view'];// == 1 ? true : false; - if ($content_id != 0) + if ($contact_id) { - $content = $this->read($content_id); + $content = $this->read($contact_id); } if($_GET['makecp']) unset($content['id']); } //_debug_array($content); $readonlys['button[delete]'] = !$this->check_perms(EGW_ACL_DELETE,$content); - $readonlys['button[copy]'] = true; - $readonlys['button[edit]'] = true; + $readonlys['button[copy]'] = $readonlys['button[edit]'] = $readonlys['button[vcard]'] = true; $preserv = array( 'id' => $content['id'], @@ -118,30 +121,29 @@ class uicontacts extends bocontacts return $this->tmpl->exec('addressbook.uicontacts.edit',$content,$sel_options,$readonlys,$preserv, 2); } - function view($content='') + function view($content=null) { if(is_array($content)) { - if (isset($content['button']['vcard'])) + list($button) = each($content['button']); + switch ($button) { - $GLOBALS['egw']->redirect_link('/index.php','menuaction=addressbook.uivcard.out&ab_id=' .$content['id']); - } - elseif (isset($content['button']['cancel'])) - { - $GLOBALS['egw']->redirect_link('/index.php','menuaction=addressbook.uiaddressbook.index'); - } - elseif (isset($content['button']['delete'])) - { - if(!$this->delete($content)) - { - $content['msg'] = lang('Something wen\'t wrong by deleting this contact'); - } - else - { + case 'vcard': + $GLOBALS['egw']->redirect_link('/index.php','menuaction=addressbook.uivcard.out&ab_id=' .$content['id']); + + case 'cancel': $GLOBALS['egw']->redirect_link('/index.php','menuaction=addressbook.uiaddressbook.index'); - } + + case 'delete': + if(!$this->delete($content)) + { + $content['msg'] = lang('Something went wrong by deleting this contact'); + } + else + { + $GLOBALS['egw']->redirect_link('/index.php','menuaction=addressbook.uiaddressbook.index'); + } } - } else { @@ -150,95 +152,23 @@ class uicontacts extends bocontacts $content = $this->read($contact_id); } + foreach($content as $key => $val) + { + $readonlys[$key] = true; + if (in_array($key,array('tel_home','tel_work','tel_cell'))) + { + $readonlys[$key.'2'] = true; + $content[$key.'2'] = $content[$key]; + } + } $content['view'] = true; - // privat - foreach(array( - 'adr_two_street' => 'home street', - 'adr_two_locality' => 'home city', - 'adr_two_region' => 'home state', - 'adr_two_postalcode' => 'home zip code', - 'adr_two_countryname' => 'home country', - 'adr_two_type' => 'home address type', - ) as $field => $name) - { - if($content[$field] == '') continue; - $content['personal_entries'][] = array( - 'field' => $name, - 'value' => $content[$field], - ); - } - // tel numbers - foreach(array( - 'tel_work' => 'business phone', - 'tel_home' => 'home phone', - 'tel_voice' => 'voice phone', - 'tel_msg' => 'message phone', - 'tel_fax' => 'fax', - 'tel_pager' => 'pager', - 'tel_cell' => 'mobile phone', - 'tel_bbs' => 'bbs phone', - 'tel_modem' => 'modem phone', - 'tel_isdn' => 'isdn phone', - 'tel_car' => 'car phone', - 'tel_video' => 'video phone', - 'ophone' => 'other phone', - 'tel_prefer' => 'preferred phone', - - ) as $field => $name) - { - if($content[$field] == '') continue; - $content['phone_entries'][] = array( - 'field' => $name, - 'value' => $content[$field], - ); - } - // organisation - foreach(array( - 'adr_one_street' => 'business street', - 'address2' => 'address line 2', - 'address3' => 'address line 3', - 'adr_one_locality' => 'business city', - 'adr_one_region' => 'business state', - 'adr_one_postalcode' => 'business zip code', - 'adr_one_countryname' => 'business country', - 'adr_one_type' => 'business address type', - ) as $field => $name) - { - if($content[$field] == '') continue; - $content['organisation_entries'][] = array( - 'field' => $name, - 'value' => $content[$field], - ); - } - // emails - foreach(array( - 'email' => 'business email', - 'email_home' => 'home email', - ) as $field => $name) - { - if($content[$field] == '') continue; - $content['email_entries'][] = array( - 'field' => $name, - 'value' => $content[$field], - ); - } - //urls - foreach(array( - 'url' => 'url' - ) as $field => $name) - { - if($content[$field] == '') continue; - $content['url_entries'][] = array( - 'field' => $name, - 'value' => $content[$field], - ); - } - if($content['tz'] == '') $content['tz'] = 0; - + $readonlys['link'] = $readonlys['link_to'] = $readonlys['customfields'] = true; + $readonlys['button[save]'] = $readonlys['button[apply]'] = true; $readonlys['button[delete]'] = !$this->check_perms(EGW_ACL_DELETE,$content); - $readonlys['button[private]'] = $content['private'] == 1 ? false :true; - $this->tmpl->read('addressbook.view'); + $readonlys['button[edit]'] = !$this->check_perms(EGW_ACL_EDIT,$content); + + $this->tmpl->read('addressbook.edit'); $this->tmpl->exec('addressbook.uicontacts.view',$content,$sel_options,$readonlys,array('id' => $content['id'])); $GLOBALS['egw']->hooks->process(array( diff --git a/addressbook/setup/etemplates.inc.php b/addressbook/setup/etemplates.inc.php index 6a5ea13966..b6455a24ad 100755 --- a/addressbook/setup/etemplates.inc.php +++ b/addressbook/setup/etemplates.inc.php @@ -1,5 +1,5 @@ 'addressbook.edit','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:1:"A";s:3:"750";s:2:"c3";s:4:",top";s:2:"h3";s:3:"350";s:2:"h4";s:5:",!@id";s:2:"h5";s:13:",@hidebuttons";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:2:"fn";s:8:"readonly";s:1:"1";s:4:"span";s:3:"all";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:3:"tab";s:5:"label";s:41:"personal|organisation|home|details|custom";s:4:"name";s:41:"personal|organisation|home|details|custom";s:4:"span";s:3:"all";}}i:4;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"owner";}i:2;a:3:{s:4:"type";s:14:"select-account";s:4:"name";s:5:"owner";s:8:"readonly";s:1:"1";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"last modified";}i:2;a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"last_mod";s:8:"readonly";s:1:"1";}}}}i:5;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Edit";s:4:"name";s:12:"button[edit]";s:8:"tabindex";i:15;}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:4:"Copy";s:4:"name";s:12:"button[copy]";}i:3;a:5:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:8:"tabindex";i:16;s:9:"accesskey";s:1:"s";}i:4;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";s:8:"tabindex";i:17;}i:5;a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";s:7:"onclick";s:27:"self.close(); return false;";s:8:"tabindex";i:18;}}i:2;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:20;}}}i:6;a:1:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:22:"addressbook.editphones";}}}s:4:"rows";i:6;s:4:"cols";i:1;}}','size' => '','style' => '.redItalic { color: red; font-style: italic; }','modified' => '1130404011',); +$templ_data[] = array('name' => 'addressbook.edit','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:5:{s:1:"A";s:3:"450";s:2:"c3";s:4:",top";s:2:"h4";s:5:",!@id";s:2:"h5";s:13:",@hidebuttons";s:2:"h1";s:6:",!@msg";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}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:"grid";s:4:"span";s:3:"all";s:4:"data";a:2:{i:0;a:2:{s:1:"B";s:11:",!@org_name";s:1:"A";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";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:2:"fn";s:8:"readonly";s:1:"1";s:4:"span";s:3:"all";}}}s:4:"rows";i:1;s:4:"cols";i:3;}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:3:"tab";s:5:"label";s:38:"Personal|Company|Private|Details|Links";s:4:"name";s:40:"personal|organisation|home|details|links";}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:5:"label";s:5:"label";s:1:".";}i:2;a:4:{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:5:{i:0;a:4:{s:1:"B";s:3:"120";s:1:"A";s:2:"20";s:2:"h3";s:2:"30";s:2:"h1";s:2:"30";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:12:"kaddressbook";}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:4:"text";s:4:"name";s:8:"tel_work";s:4:"size";s:2:"30";s:8:"tabindex";i:10;}}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:5:"label";s:12:"mobile phone";s:4:"size";s:11:",,,tel_cell";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"tel_cell";s:4:"size";s:2:"30";s:8:"tabindex";i:11;}}i:3;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:11:",,,tel_home";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"tel_home";s:4:"size";s:2:"30";s:8:"tabindex";i:12;}}i:4;a:3:{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:36:"showphones(this.form); return false;";s:8:"tabindex";i:13;s:9:"accesskey";s:1:"m";}}}s:4:"rows";i:4;s:4:"cols";i:3;}}i:3;a:4:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:16:"Email & Internet";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{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:15:"package_network";}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:4:{s:4:"type";s:4:"text";s:4:"name";s:3:"url";s:4:"size";s:2:"30";s:8:"tabindex";i:15;}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:10:"email_icon";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"business email";s:4:"size";s:8:",,,email";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:5:"email";s:4:"size";s:2:"30";s:8:"tabindex";i:16;}}i:3;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:10:"home email";s:4:"size";s:13:",,,email_home";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:10:"email_home";s:4:"size";s:2:"30";s:8:"tabindex";i:17;}}}s:4:"rows";i:3;s:4:"cols";i:3;}}}}i:4;a:2:{s:1:"A";a:4:{s:4:"type";s:14:"select-account";s:4:"name";s:5:"owner";s:8:"readonly";s:1:"1";s:5:"label";s:5:"Owner";}s:1:"B";a:5:{s:4:"type";s:4:"hbox";s:5:"align";s:5:"right";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Last modified";}i:2;a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"last_mod";s:8:"readonly";s:1:"1";}}}i:5;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:185:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=440,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:194:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.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:5:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:8:"tabindex";i:20;s:9:"accesskey";s:1:"s";}i:5;a:4:{s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";s:8:"tabindex";i:21;}i:6;a:5:{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;";s:8:"tabindex";i:22;}i:7;a:2:{s:4:"type";s:8:"template";s:4:"name";s:22:"addressbook.editphones";}}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:5;s:4:"cols";i:2;s:5:"align";s:6:"center";s:7:"options";a:0:{}}}','size' => '','style' => '.redItalic { color: red; font-style: italic; }','modified' => '1131890364',); + $templ_data[] = array('name' => 'addressbook.edit.custom','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:"h2";s:4:"100%";}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:12:"customfields";}}i:2;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:4:",320";s:7:"options";a:1:{i:1;s:3:"320";}}}','size' => ',320','style' => '','modified' => '1130529421',); +$templ_data[] = array('name' => 'addressbook.edit.custom','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"h2";s:4:"100%";}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:12:"customfields";}}i:2;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1130529421',); + $templ_data[] = array('name' => 'addressbook.edit.details','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c1";s:4:",top";s:2:"c2";s:4:",top";s:2:"c3";s:4:",top";s:2:"h4";s:4:"100%";}i:1;a:3:{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:5:"notes";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:4:"name";s:4:"note";}}i:2;a:3:{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:6:" label";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:4:"name";s:5:"label";}}i:3;a:3:{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:10:"public key";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:4:"name";s:6:"pubkey";}}i:4;a:3:{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:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:4:"size";s:4:",320";s:7:"options";a:1:{i:1;s:3:"320";}}}','size' => ',320','style' => '','modified' => '1130410016',); +$templ_data[] = array('name' => 'addressbook.edit.details','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c3";s:2:"th";s:2:"c2";s:4:",top";s:2:"c4";s:4:",top";s:2:"h4";s:4:"100%";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Notes";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,56";s:4:"name";s:4:"note";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Custom fields";}}i:4;a:1:{s:1:"A";a:2:{s:4:"type";s:12:"customfields";s:4:"name";s:12:"customfields";}}}s:4:"rows";i:4;s:4:"cols";i:1;s:4:"size";s:17:"100%,250,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"250";i:6;s:4:"auto";}}}','size' => '100%,250,,,,,auto','style' => '','modified' => '1130410016',); + $templ_data[] = array('name' => 'addressbook.edit.home','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:2:{s:2:"c6";s:9:",baseline";s:2:"h6";s:4:"100%";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"home street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_two_street";}}i:2;a:3:{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:9:"home city";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_two_locality";}}i:3;a:3:{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:13:"home zip code";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:18:"adr_two_postalcode";}}i:4;a:3:{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:10:"home state";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_two_locality";}}i:5;a:3:{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:12:"home country";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:19:"adr_two_countryname";}}i:6;a:3:{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:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:6;s:4:"cols";i:3;s:4:"size";s:4:",320";s:7:"options";a:1:{i:1;s:3:"320";}}}','size' => ',320','style' => '','modified' => '1130409535',); +$templ_data[] = array('name' => 'addressbook.edit.home','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:1:{s:2:"h6";s:2:"30";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_two_street";}}i:2;a:3:{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:4:"city";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_two_locality";}}i:3;a:3:{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:8:"zip code";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:18:"adr_two_postalcode";}}i:4;a:3:{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:5:"state";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_two_locality";}}i:5;a:3:{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:7:"country";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:19:"adr_two_countryname";}}i:6;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:7:",,,bday";s:5:"label";s:8:"Birthday";}s:1:"C";a:3:{s:4:"type";s:4:"date";i:1;a:1:{s:4:"type";s:5:"label";}s:4:"name";s:4:"bday";}}i:7;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:5:",,,tz";s:5:"label";s:9:"Time zone";}s:1:"C";a:3:{s:4:"type";s:6:"select";s:4:"name";s:2:"tz";s:7:"no_lang";s:1:"1";}}i:8;a:3:{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:10:"Public key";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"2,45";s:4:"name";s:6:"pubkey";}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1130409535',); + +$templ_data[] = array('name' => 'addressbook.edit.links','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:2:"c3";s:2:"th";s:2:"h1";s:6:",@view";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:16:"Create new links";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:7:"link-to";s:4:"name";s:7:"link_to";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Existing links";}}i:4;a:1:{s:1:"A";a:2:{s:4:"type";s:9:"link-list";s:4:"name";s:4:"link";}}}s:4:"rows";i:4;s:4:"cols";i:1;s:4:"size";s:17:"100%,250,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"250";i:6;s:4:"auto";}}}','size' => '100%,250,,,,,auto','style' => '','modified' => '1131900825',); + $templ_data[] = array('name' => 'addressbook.edit.organisation','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:13:{i:0;a:1:{s:3:"h12";s:4:"100%";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"title";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"title";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:2;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:10:"department";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:2:"40";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;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:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"company name";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"org_name";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:5;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:15:"business street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_one_street";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:6;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:14:"address line 2";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"address2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:7;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:14:"address line 3";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"address3";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:8;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:13:"business city";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_one_locality";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:9;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:17:"business zip code";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:18:"adr_one_postalcode";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:10;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:14:"business state";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_one_region";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:11;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:16:"business country";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:19:"adr_one_countryname";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:12;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:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:12;s:4:"cols";i:4;s:4:"size";s:4:",320";s:7:"options";a:1:{i:1;s:3:"320";}}}','size' => ',320','style' => '','modified' => '1130408337',); +$templ_data[] = array('name' => 'addressbook.edit.organisation','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:12:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"title";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:5:"title";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:2;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:10:"department";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:2:"40";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;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:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_one_street";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:5;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:14:"address line 2";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"address2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:6;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:14:"address line 3";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"address3";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:7;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:4:"city";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:16:"adr_one_locality";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:8;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:8:"zip code";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:18:"adr_one_postalcode";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:9;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:5:"state";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:14:"adr_one_region";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:10;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:7:"country";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:19:"adr_one_countryname";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:11;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:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:11;s:4:"cols";i:4;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1130408337',); + $templ_data[] = array('name' => 'addressbook.edit.personal','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:12:{i:0;a:2:{s:2:"c9";s:4:",top";s:3:"h11";s:4:"100%";}i:1;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"personal";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"prefix";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:2:"40";s:8:"tabindex";i:1;}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"time zone";}s:1:"F";a:5:{s:4:"type";s:6:"select";i:1;a:1:{s:4:"type";s:5:"label";}i:2;a:1:{s:4:"type";s:5:"label";}s:4:"name";s:2:"tz";s:7:"no_lang";s:1:"1";}}i:2;a:6:{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:10:"first name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:2:"40";s:8:"tabindex";i:2;}s:1:"D";a:2:{s:4:"type";s:5:"image";s:4:"name";s:12:"kaddressbook";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"home phone";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"tel_home";s:4:"size";s:2:"30";s:8:"tabindex";i:6;}}i:3;a:6:{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:12:" middle name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:2:"40";s:8:"tabindex";i:3;}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"business phone";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"tel_work";s:4:"size";s:2:"30";s:8:"tabindex";i:7;}}i:4;a:6:{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:9:"last name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:2:"40";s:8:"tabindex";i:4;}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"tel_cell";s:4:"size";s:2:"30";s:8:"tabindex";i:8;}}i:5;a:6:{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:6:"suffix";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:2:"40";s:8:"tabindex";i:5;}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:5:{s:4:"type";s:6:"button";s:5:"label";s:17:"more phonenumbers";s:7:"onclick";s:36:"showphones(this.form); return false;";s:8:"tabindex";i:9;s:9:"accesskey";s:1:"m";}}i:6;a:6:{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:1:{s:4:"type";s:5:"label";}s:1:"D";a:2:{s:4:"type";s:5:"image";s:4:"name";s:10:"email_icon";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"home email";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:10:"email_home";s:4:"size";s:2:"30";s:8:"tabindex";i:10;}}i:7;a:6:{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:9:" birthday";}s:1:"C";a:3:{s:4:"type";s:4:"date";i:1;a:1:{s:4:"type";s:5:"label";}s:4:"name";s:4:"bday";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"business email";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:5:"email";s:4:"size";s:2:"30";s:8:"tabindex";i:11;}}i:8;a:6:{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: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";}}i:9;a:6:{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:8:"category";}s:1:"C";a:5:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:1:"3";s:4:"span";s:1:"4";s:8:"tabindex";i:13;}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";}}i:10;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"password";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"private";}s:1:"C";a:3:{s:4:"type";s:8:"checkbox";s:4:"name";s:7:"private";s:8:"tabindex";i:14;}s:1:"D";a:2:{s:4:"type";s:5:"image";s:4:"name";s:15:"package_network";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"url";}s:1:"F";a:4:{s:4:"type";s:4:"text";s:4:"name";s:3:"url";s:4:"size";s:2:"30";s:8:"tabindex";i:12;}}i:11;a:6:{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: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:4:"rows";i:11;s:4:"cols";i:6;s:4:"size";s:4:",320";s:7:"options";a:1:{i:1;s:3:"320";}}}','size' => ',320','style' => '','modified' => '1130404323',); -$templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:19:{i:0;a:1:{s:2:"c3";s:2:"th";}i:1;a:4:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";s:4:"span";s:16:"all,windowheader";i:1;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:6:"center";i:1;a:3:{s:4:"type";s:5:"label";s:5:"label";s:20:"Edit Phonenumbers - ";s:5:"align";s:5:"right";}i:2;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:2:"fn";}}}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";}}i:2;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";}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";}}i:3;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:11:"Description";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}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:10:"home phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_home";s:4:"name";s:10:"tel_prefer";}}i:5;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:14:"business phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_work";s:4:"name";s:10:"tel_prefer";}}i:6;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:12:"mobile phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_cell";s:4:"name";s:10:"tel_prefer";}}i:7;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:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_fax";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_fax";s:4:"name";s:10:"tel_prefer";}}i:8;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:9:"car phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_car";s:4:"name";s:10:"tel_prefer";}}i:9;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:11:"video phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_video";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_video";s:4:"name";s:10:"tel_prefer";}}i:10;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:5:"pager";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_pager";s:4:"name";s:10:"tel_prefer";}}i:11;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:11:"voice phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_voice";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_voice";s:4:"name";s:10:"tel_prefer";}}i:12;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:13:"message phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_msg";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_msg";s:4:"name";s:10:"tel_prefer";}}i:13;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:9:"bbs phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_bbs";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_bbs";s:4:"name";s:10:"tel_prefer";}}i:14;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:11:"modem phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_modem";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_modem";s:4:"name";s:10:"tel_prefer";}}i:15;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:10:"isdn phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:8:"tel_isdn";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_isdn";s:4:"name";s:10:"tel_prefer";}}i:16;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:12:" Other Phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:6:"ophone";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:6:"ophone";s:4:"name";s:10:"tel_prefer";}}i:17;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:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:18;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";s:4:"span";s:1:"3";i:1;a:3:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:36:"hidephones(this.form); return false;";}}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:18;s:4:"cols";i:4;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}','size' => ',,,editphones','style' => '.editphones{ +$templ_data[] = array('name' => 'addressbook.edit.personal','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:2:{s:2:"h6";s:2:"40";s:2:"c7";s:4:",top";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"personal";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"prefix";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:2:"40";s:8:"tabindex";i:1;}}i:2;a:3:{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:10:"first name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:2:"40";s:8:"tabindex";i:2;}}i:3;a:3:{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:11:"middle name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:2:"40";s:8:"tabindex";i:3;}}i:4;a:3:{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:9:"last name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:2:"40";s:8:"tabindex";i:4;}}i:5;a:3:{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:6:"suffix";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:2:"40";s:8:"tabindex";i:5;}}i:6;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"company name";s:4:"size";s:11:",,,org_name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"40";s:4:"name";s:8:"org_name";s:8:"tabindex";i:5;}}i:7;a:3:{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:8:"category";}s:1:"C";a:5:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:1:"3";s:4:"span";s:1:"4";s:8:"tabindex";i:6;}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"password";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:10:",,,private";}s:1:"C";a:3:{s:4:"type";s:8:"checkbox";s:4:"name";s:7:"private";s:8:"tabindex";i:7;}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1130404323',); + +$templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:18:{i:0;a:1:{s:2:"c3";s:2:"th";}i:1;a:4:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:5:"label";s:20:"Edit Phonenumbers - ";s:5:"align";s:6:"center";s:4:"span";s:16:"all,windowheader";s:4:"name";s:2:"fn";}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";}}i:2;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";}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";}}i:3;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:11:"Description";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}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:8:"business";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_work";s:4:"name";s:10:"tel_prefer";}}i:5;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:12:"mobile phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_cell";s:4:"name";s:10:"tel_prefer";}}i:6;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:7:"Private";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_home";s:4:"name";s:10:"tel_prefer";}}i:7;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:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_fax";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_fax";s:4:"name";s:10:"tel_prefer";}}i:8;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:9:"car phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_car";s:4:"name";s:10:"tel_prefer";}}i:9;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:11:"video phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_video";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_video";s:4:"name";s:10:"tel_prefer";}}i:10;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:5:"pager";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_pager";s:4:"name";s:10:"tel_prefer";}}i:11;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:11:"voice phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_voice";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_voice";s:4:"name";s:10:"tel_prefer";}}i:12;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:13:"message phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_msg";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_msg";s:4:"name";s:10:"tel_prefer";}}i:13;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:9:"bbs phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_bbs";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_bbs";s:4:"name";s:10:"tel_prefer";}}i:14;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:11:"modem phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_modem";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_modem";s:4:"name";s:10:"tel_prefer";}}i:15;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:10:"isdn phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:8:"tel_isdn";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_isdn";s:4:"name";s:10:"tel_prefer";}}i:16;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:12:" Other Phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:6:"ophone";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:6:"ophone";s:4:"name";s:10:"tel_prefer";}}i:17;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";i:1;a:1:{s:4:"type";s:5:"label";}}s:1:"C";a:3:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:36:"hidephones(this.form); return false;";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:17;s:4:"cols";i:4;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}','size' => ',,,editphones','style' => '.editphones{ position: fixed; top: 50px; left: 240px; @@ -35,6 +49,24 @@ border-collapse:collapse; border-bottom: #9c9c9c 1px solid; }','modified' => '1130581740',); +$templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' => '','group' => '0','version' => '1.0.1.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:18:{i:0;a:1:{s:2:"c3";s:2:"th";}i:1;a:4:{s:1:"A";a:6:{s:4:"type";s:5:"label";s:5:"label";s:20:"Edit Phonenumbers - ";s:5:"align";s:6:"center";s:4:"span";s:16:"all,windowheader";s:4:"name";s:2:"fn";s:7:"no_lang";s:1:"1";}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";}}i:2;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";}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";}}i:3;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:11:"Description";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}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:8:"business";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_work";s:4:"name";s:10:"tel_prefer";}}i:5;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:12:"mobile phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_cell";s:4:"name";s:10:"tel_prefer";}}i:6;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:7:"Private";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_home";s:4:"name";s:10:"tel_prefer";}}i:7;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:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_fax";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_fax";s:4:"name";s:10:"tel_prefer";}}i:8;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:9:"car phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_car";s:4:"name";s:10:"tel_prefer";}}i:9;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:11:"video phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_video";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_video";s:4:"name";s:10:"tel_prefer";}}i:10;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:5:"pager";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_pager";s:4:"name";s:10:"tel_prefer";}}i:11;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:11:"voice phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_voice";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_voice";s:4:"name";s:10:"tel_prefer";}}i:12;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:13:"message phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_msg";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_msg";s:4:"name";s:10:"tel_prefer";}}i:13;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:9:"bbs phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_bbs";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_bbs";s:4:"name";s:10:"tel_prefer";}}i:14;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:11:"modem phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_modem";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_modem";s:4:"name";s:10:"tel_prefer";}}i:15;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:10:"isdn phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:8:"tel_isdn";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_isdn";s:4:"name";s:10:"tel_prefer";}}i:16;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:12:" Other Phone";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:6:"ophone";}s:1:"D";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:6:"ophone";s:4:"name";s:10:"tel_prefer";}}i:17;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:5:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:36:"hidephones(this.form); return false;";s:4:"span";s:3:"all";s:5:"align";s:6:"center";}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:17;s:4:"cols";i:4;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}','size' => ',,,editphones','style' => '.editphones{ +position: fixed; +top: 50px; +left: 240px; +display:none; +border: 1px solid #000000; +background-color: #ffffff; +} + +.windowheader{ +background-image:url(http://solomon/egroupware/phpgwapi/templates/idots/images/appbox-header-background.png); +background-repeat:repeat-x; +height: 20px; +border-spacing: 0px; +border-collapse:collapse; +border-bottom: #9c9c9c 1px solid; +}','modified' => '1131901207',); + $templ_data[] = array('name' => 'addressbook.search','template' => '','lang' => '','group' => '0','version' => '','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:1:{s:1:"A";a:2:{s:4:"type";s:14:"advancedsearch";s:4:"name";s:4:"advs";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1130609044',); $templ_data[] = array('name' => 'addressbook.view','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"A";s:3:"750";}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:3:"tab";s:5:"label";s:28:"overview|link|details|custom";s:4:"name";s:28:"overview|link|details|custom";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"owner";}i:2;a:3:{s:4:"type";s:14:"select-account";s:4:"name";s:5:"owner";s:8:"readonly";s:1:"1";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"last modified";}i:2;a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"last_mod";s:8:"readonly";s:1:"1";}}}}i:4;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:5:{s:4:"name";s:15:"button[private]";s:7:"onclick";s:13:"return false;";s:5:"label";s:7:"private";s:4:"size";s:8:"password";s:4:"type";s:6:"button";}i:2;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:213:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:3;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:222:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]&makecp=1\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:4;a:3:{s:4:"type";s:6:"button";s:5:"label";s:5:"Vcard";s:4:"name";s:13:"button[vcard]";}i:5;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";}}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";s:5:"align";s:5:"right";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:14:"button[delete]";s:7:"onclick";s:60:"return confirm(\'Do you really want do delte this contact?\');";}}}}}s:4:"rows";i:4;s:4:"cols";i:1;s:5:"align";s:6:"center";s:7:"options";a:0:{}}}','size' => '','style' => '.contactviewblock{ diff --git a/addressbook/setup/phpgw_de.lang b/addressbook/setup/phpgw_de.lang index 1981c91ed5..ac83598bf1 100644 --- a/addressbook/setup/phpgw_de.lang +++ b/addressbook/setup/phpgw_de.lang @@ -18,6 +18,7 @@ addressbook-fieldname addressbook de Adressbuch Feldname addvcard addressbook de VCard hinzufügen advanced search addressbook de Erweiterte Suche alt. csv import addressbook de Alt. CSV Import +are you shure you want to delete this contact? addressbook de Diesen Kontakt löschen? are you sure you want to delete this field? addressbook de Sind Sie sicher, dass Sie dieses Feld löschen wollen? bbs phone addressbook de BBS birthday common de Geburtstag @@ -47,6 +48,7 @@ contact saved addressbook de Kontakt gespeichert contact settings admin de Kontakt Einstellungen copied by %1, from record #%2. addressbook de Kopiert von %1, vom Datensatz Nr. %2. country common de Land +create new links addressbook de Neue Verknüpfung erstellen csv-fieldname addressbook de CSV-Feldname csv-filename addressbook de CSV-Dateiname custom addressbook de Benutzerdefiniert @@ -60,11 +62,14 @@ doesn't matter addressbook de egal domestic addressbook de Wohnung download addressbook de Herunterladen download export file (uncheck to debug output in browser) addressbook de Download Export-Datei (zur Vorschau im Browser Ankreuzfeld frei lassen) +download this contact as vcard file addressbook de Diese Adresse als vCard Datei herunterladen edit custom field addressbook de Benutzerdefiniertes Feld bearbeiten edit custom fields admin de Benutzerdefinierte Felder bearbeiten edit phonenumbers - addressbook de Telefonnummern bearbeiten +email & internet addressbook de Email & Internet empty for all addressbook de leer für alle enter the path to the exported file here addressbook de Bitte geben Sie den Pfad für die exportierte Datei an +existing links addressbook de Bestehende Verknüpfungen export addressbook de Export export contacts addressbook de Kontakte exportieren export file name addressbook de Dateiname zum Exportieren @@ -110,6 +115,7 @@ ldap root dn for contacts admin de LDAP-rootdn f ldap root pw for contacts admin de LDAP-Passwort für Kontakte ldif addressbook de LDIF line 2 addressbook de Zeile 2 +links addressbook de Verknüpfungen list all categories addressbook de Liste alle Kategorien list all customfields addressbook de Liste alle benutzerdefinierten Felder load vcard addressbook de VCard laden @@ -119,7 +125,7 @@ middle name addressbook de Zweiter Vorname mobile addressbook de Mobil mobile phone addressbook de Mobiltelefon modem phone addressbook de Modem -more phonenumbers addressbook de Weitere Telefonnummern +more ... addressbook de Mehr ... multiple vcard addressbook de Mehrere VCards no vcard addressbook de Keine VCard number addressbook de Nummer @@ -134,7 +140,7 @@ phone numbers common de Telefonnummern please enter a name for that field ! addressbook de Bitte geben sie einen Namen für das Feld an! postal common de Postanschrift pref addressbook de präf -prefix addressbook de Präfix +prefix addressbook de Anrede public key addressbook de öffentlicher Schlüssel read a list / search for entries. addressbook de Lese die Liste / Suche nach Einträgen read a list of entries. addressbook de Liest eine Liste von Einträgen. diff --git a/addressbook/setup/phpgw_en.lang b/addressbook/setup/phpgw_en.lang index e2ac3ed299..71d15bb632 100644 --- a/addressbook/setup/phpgw_en.lang +++ b/addressbook/setup/phpgw_en.lang @@ -18,6 +18,7 @@ addressbook-fieldname addressbook en Addressbook-Fieldname addvcard addressbook en Add VCard advanced search addressbook en Advanced search alt. csv import addressbook en Alt. CSV Import +are you shure you want to delete this contact? addressbook en Are you shure you want to delete this contact? are you sure you want to delete this field? addressbook en Are you sure you want to delete this field? bbs phone addressbook en BBS Phone birthday common en Birthday @@ -47,6 +48,7 @@ contact saved addressbook en Contact saved contact settings admin en Contact Settings copied by %1, from record #%2. addressbook en Copied by %1, from record #%2. country common en Country +create new links addressbook en Create new links csv-fieldname addressbook en CSV-Fieldname csv-filename addressbook en CSV-Filename custom addressbook en Custom @@ -60,11 +62,14 @@ doesn't matter addressbook en doesn't matter domestic addressbook en Domestic download addressbook en Download download export file (uncheck to debug output in browser) addressbook en Download export file (Uncheck to debug output in browser) +download this contact as vcard file addressbook en download this contact as vCard file edit custom field addressbook en Edit Custom Field edit custom fields admin en Edit Custom Fields edit phonenumbers - addressbook en Edit Phonenumbers - +email & internet addressbook en Email & Internet empty for all addressbook en empty for all enter the path to the exported file here addressbook en Enter the path to the exported file here +existing links addressbook en Existing links export addressbook en export export contacts addressbook en Export Contacts export file name addressbook en Export file name @@ -110,6 +115,7 @@ ldap root dn for contacts admin en LDAP root dn for contacts ldap root pw for contacts admin en LDAP root pw for contacts ldif addressbook en LDIF line 2 addressbook en Line 2 +links addressbook en Links list all categories addressbook en List all categories list all customfields addressbook en List all customfields load vcard addressbook en Load VCard @@ -119,7 +125,7 @@ middle name addressbook en Middle Name mobile addressbook en Mobile mobile phone addressbook en Mobile Phone modem phone addressbook en Modem Phone -more phonenumbers addressbook en more phonenumbers +more ... addressbook en More ... multiple vcard addressbook en Multiple VCard no vcard addressbook en No VCard number addressbook en Number @@ -176,7 +182,6 @@ voice phone addressbook en Voice Phone warning!! ldap is valid only if you are not using contacts for accounts storage! admin en WARNING!! LDAP is valid only if you are NOT using contacts for accounts storage! warning: all contacts found will be deleted! addressbook en WARNING: All contacts found will be deleted! work phone addressbook en Work Phone -write (update or add) a single entry by passing the fields. addressbook en Write (update or add) a single entry by passing the fields. you are not permitted to delete contact %1 addressbook en You are not permitted to delete contact %1 you are not permittet to delete this contact addressbook en You are not permittet to delete this contact you are not permittet to edit this contact addressbook en You are not permittet to edit this contact diff --git a/addressbook/templates/default/edit.xet b/addressbook/templates/default/edit.xet index 844098b72f..46b4e0f68c 100644 --- a/addressbook/templates/default/edit.xet +++ b/addressbook/templates/default/edit.xet @@ -1,109 +1,59 @@ -