diff --git a/htdocs/admin/dav.php b/htdocs/admin/dav.php index e882a56e2b8..6f82c4f94a9 100644 --- a/htdocs/admin/dav.php +++ b/htdocs/admin/dav.php @@ -83,7 +83,16 @@ if ($action == 'edit') print ''; print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip')); - print ''; + print ''; + if ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR') + { + print $form->selectyesno($key, $conf->global->$key, 1); + } + else + { + print ''; + } + print ''; } print ''; @@ -104,7 +113,16 @@ else { print ''; print $form->textwithpicto($langs->trans($key),$langs->trans($key.'Tooltip')); - print '' . $conf->global->$key . ''; + print ''; + if ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR') + { + print yn($conf->global->$key); + } + else + { + print $conf->global->$key; + } + print ''; } print '';