From e65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 3 Feb 2014 12:48:17 +0100 Subject: Moved WebDAV and internet checks to client side JS - Added setup checks in JavaScript - Moved isWebDAVWorking to JS using SetupChecks - Moved internet connection checks to an ajax call that goes through the server --- settings/templates/admin.php | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) (limited to 'settings/templates') diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 9ceebad4ee1..1209cf86d8d 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -72,21 +72,6 @@ if (!$_['htaccessworking']) { -
-

t('Setup Warning'));?>

- - - t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.')); ?> - t('Please double check the installation guides.', link_to_docs('admin-install'))); ?> - - -
- @@ -183,20 +168,6 @@ if (!$_['isLocaleWorking']) { -
-

t('Internet connection not working'));?>

- - - t('This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps donĀ“t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.')); ?> - - -
-
@@ -210,7 +181,17 @@ if ($_['suggestedOverwriteWebroot']) { - +
+

t('Connectivity checks'));?>

+
+ + + +