From a3c59989e0b28097266cc5b5cbfb8ab2ecf2b5e4 Mon Sep 17 00:00:00 2001 From: thomasb Date: Sun, 6 Feb 2011 22:36:59 +0000 Subject: Adapt new contact section name git-svn-id: https://svn.roundcube.net/trunk@4500 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/kolab_addressbook/kolab_addressbook.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php index 3125bbd3d..d824c8944 100644 --- a/plugins/kolab_addressbook/kolab_addressbook.php +++ b/plugins/kolab_addressbook/kolab_addressbook.php @@ -122,17 +122,19 @@ class kolab_addressbook extends rcube_plugin // extend the list of contact fields to be displayed in the 'personal' section if (is_array($p['form']['personal'])) { - $p['form']['info']['content']['officelocation'] = array('size' => 40); + $p['form']['contact']['content']['officelocation'] = array('size' => 40); - $p['form']['personal']['content']['initials'] = array('size' => 6); - $p['form']['personal']['content']['profession'] = array('size' => 40); - $p['form']['personal']['content']['children'] = array('size' => 40); + $p['form']['personal']['content']['initials'] = array('size' => 6); + $p['form']['personal']['content']['profession'] = array('size' => 40); + $p['form']['personal']['content']['children'] = array('size' => 40); + $p['form']['personal']['content']['pgppublickey'] = array('size' => 40); + $p['form']['personal']['content']['freebusyurl'] = array('size' => 40); // re-order fields according to the coltypes list - $p['form']['info']['content'] = $this->_sort_form_fields($p['form']['info']['content']); + $p['form']['contact']['content'] = $this->_sort_form_fields($p['form']['contact']['content']); $p['form']['personal']['content'] = $this->_sort_form_fields($p['form']['personal']['content']); - // define a separate section 'settings' + /* define a separate section 'settings' $p['form']['settings'] = array( 'name' => rcube_label('kolab_addressbook.settings'), 'content' => array( @@ -140,6 +142,7 @@ class kolab_addressbook extends rcube_plugin 'freebusyurl' => array('size' => 40, 'visible' => true), ) ); + */ } return $p; -- cgit v1.2.3