Author: ralfbecker
New Revision: 56078
URL: http://svn.stylite.de/viewvc/egroupware?rev=56078&view=rev
Log:
suppress empty custom field selection
Modified:
trunk/addressbook/inc/class.addressbook_hooks.inc.php
— trunk/addressbook/inc/class.addressbook_hooks.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_hooks.inc.php Fri May 6 18:16:10 2016
@@ -146,7 +146,8 @@
‘xmlrpc’ => True,
‘admin’ => false,
);
-
$contacts = new Api\Contacts();
-
$fileas_options = $contacts->fileas_options();
$settings['link_title'] = array(
'type' => 'select',
'label' => 'Link title for contacts show',
@@ -159,15 +160,18 @@
‘admin’ => false,
‘default’=> ‘org_name: n_family, n_given’,
);
-
$settings['link_title_cf'] = array(
-
'type' => 'select',
-
'label' => 'Add a customfield to link title',
-
'name' => 'link_title_cf',
-
'values' => Api\Contacts::cf_options(),
-
'help' => 'Add customfield to links of addressbook, which displays in other applications. The default value is none customfield.',
-
'xmlrpc' => True,
-
'admin' => false,
-
);
-
if (($cf_opts = Api\Contacts::cf_options()))
-
{
-
$settings['link_title_cf'] = array(
-
'type' => 'select',
-
'label' => 'Add a customfield to link title',
-
'name' => 'link_title_cf',
-
'values' => $cf_opts,
-
'help' => 'Add customfield to links of addressbook, which displays in other applications. The default value is none customfield.',
-
'xmlrpc' => True,
-
'admin' => false,
-
);
-
}
$settings['addr_format'] = array(
'type' => 'select',
'label' => 'Default address format',
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs