2 require_once 'diogenes.common.inc.php';
3 require_once 'diogenes.admin.inc.php';
5 $page = new DiogenesAdmin
;
7 $page->assign('greeting',__("WebDAV"));
9 if ($globals->checkRootUrl())
11 $page->assign('msg_webdav',__("You can access your barrel's files using WebDAV by pointing your WebDAV client to the following address."));
12 $page->assign('url_webdav', $page->urlBarrel($page->alias
, $page->barrel
->vhost
, "webdav/"));
14 $page->assign('msg_webdav', __("In order to access your barrel's files using WebDAV, please ask your Diogenes administrator to enable this feature in the Diogenes configuration file."));
18 $page->display('admin-webdav.tpl');