25if (!defined(
'CDAV_CONTACT_TAG')) {
26 if (isset($conf->global->CDAV_CONTACT_TAG)) {
27 define(
'CDAV_CONTACT_TAG', $conf->global->CDAV_CONTACT_TAG);
29 define(
'CDAV_CONTACT_TAG',
'');
34if (!defined(
'CDAV_URI_KEY')) {
35 if (isset($conf->global->CDAV_URI_KEY)) {
36 define(
'CDAV_URI_KEY', $conf->global->CDAV_URI_KEY);
38 define(
'CDAV_URI_KEY', substr(md5($_SERVER[
'HTTP_HOST']), 0, 8));
52 global $db, $langs, $conf;
57 $head[$h][0] = DOL_URL_ROOT.
'/admin/dav.php';
58 $head[$h][1] = $langs->trans(
"WebDAV");
59 $head[$h][2] =
'webdav';
if(!defined('CDAV_CONTACT_TAG')) if(!defined( 'CDAV_URI_KEY')) dav_admin_prepare_head()
Prepare array with list of tabs.
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode='add', $filterorigmodule='')
Complete or removed entries into a head array (used to build tabs).