summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-07 00:49:39 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-07 00:49:39 +0100
commit84f3c8b6cc1060203d807ee65545478ce34f93c4 (patch)
tree16b9e0d130e14e2a0bedbba70d6a40c690029e01
parent3582f7bd09f81e1aadb583ab0d36fb0cbc695514 (diff)
downloadnextcloud-server-84f3c8b6cc1060203d807ee65545478ce34f93c4.tar.gz
nextcloud-server-84f3c8b6cc1060203d807ee65545478ce34f93c4.zip
show webdav test results in admin section as well
-rwxr-xr-xsettings/admin.php1
-rw-r--r--settings/templates/admin.php15
2 files changed, 16 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 4d9685ab920..e256c5fe357 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -31,6 +31,7 @@ $tmpl->assign('entriesremain', $entriesremain);
$tmpl->assign('htaccessworking', $htaccessworking);
$tmpl->assign('internetconnectionworking', OC_Util::isinternetconnectionworking());
$tmpl->assign('islocaleworking', OC_Util::issetlocaleworking());
+$tmpl->assign('isWebDavWorking', OC_Util::isWebDAVWorking());
$tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax'));
$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes'));
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 0097489743f..8c2b6148a66 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -22,6 +22,21 @@ if (!$_['htaccessworking']) {
<?php
}
+// is WebDAV working ?
+if (!$_['isWebDavWorking']) {
+ ?>
+<fieldset class="personalblock">
+ <legend><strong><?php echo $l->t('Setup Warning');?></strong></legend>
+
+ <span class="securitywarning">
+ <?php echo $l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.'); ?>
+ <?php echo $l->t('Please double check the <a href=\'%s\'>installation guides</a>.', 'http://doc.owncloud.org/server/5.0/admin_manual/installation.html'); ?>
+ </span>
+
+</fieldset>
+<?php
+}
+
// is locale working ?
if (!$_['islocaleworking']) {
?>