summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-13 16:43:25 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-06-13 16:43:25 -0500
commit0f83cdc78e4a383beba1be220197e77e852036eb (patch)
tree9e9df3677a06a97d91da09657ea3960411a86371
parent101d1c0f8185925cf8e22b893be397a25290f128 (diff)
downloadnextcloud-server-0f83cdc78e4a383beba1be220197e77e852036eb.tar.gz
nextcloud-server-0f83cdc78e4a383beba1be220197e77e852036eb.zip
Use the guest.css for the maintenance page as well
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--core/templates/singleuser.user.php10
-rw-r--r--lib/base.php1
2 files changed, 1 insertions, 10 deletions
diff --git a/core/templates/singleuser.user.php b/core/templates/singleuser.user.php
deleted file mode 100644
index ba01c9385f2..00000000000
--- a/core/templates/singleuser.user.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<ul>
- <li class='update'>
- <?php p($l->t('This Nextcloud instance is currently in single user mode.')) ?><br><br>
- <?php p($l->t('This means only administrators can use the instance.')) ?><br><br>
- <?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?>
- <br><br>
- <?php p($l->t('Thank you for your patience.')); ?><br><br>
- <a class="button" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>><?php p($l->t('Log out')); ?></a>
- </li>
-</ul>
diff --git a/lib/base.php b/lib/base.php
index 226aeeb727f..29778f02a45 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -280,6 +280,7 @@ class OC {
// render error page
$template = new OC_Template('', 'update.user', 'guest');
OC_Util::addScript('maintenance-check');
+ OC_Util::addStyle('core', 'guest');
$template->printPage();
die();
}