fix text for default barrel stylesheet
[diogenes.git] / include / admin / webdav.php
... / ...
CommitLineData
1<?php
2require_once 'diogenes.common.inc.php';
3require_once 'diogenes.admin.inc.php';
4
5$page = new DiogenesAdmin;
6
7$page->assign('greeting',__("WebDAV"));
8
9if ($globals->checkRootUrl())
10{
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/"));
13} else {
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."));
15
16}
17
18$page->display('admin-webdav.tpl');
19
20?>