]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use the guest.css for the maintenance page as well 5416/head
authorMorris Jobke <hey@morrisjobke.de>
Tue, 13 Jun 2017 21:43:25 +0000 (16:43 -0500)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 14 Jun 2017 16:10:20 +0000 (11:10 -0500)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/templates/singleuser.user.php [deleted file]
lib/base.php

diff --git a/core/templates/singleuser.user.php b/core/templates/singleuser.user.php
deleted file mode 100644 (file)
index ba01c93..0000000
+++ /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>
index 226aeeb727f059a2415a991884291dcde558edf7..29778f02a455415628d3e752fa2ba94dfbda5f89 100644 (file)
@@ -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();
                }