show webdav test results in admin section as well

This commit is contained in:
Thomas Mueller 2013-02-07 00:49:39 +01:00
parent 3582f7bd09
commit 84f3c8b6cc
2 changed files with 16 additions and 0 deletions

View File

@ -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'));

View File

@ -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']) {
?>