Merge pull request #5416 from nextcloud/stable12-5392

[stable12] Use the guest.css for the maintenance page as well
This commit is contained in:
Morris Jobke 2017-06-14 18:04:06 -05:00 committed by GitHub
commit ec89aaa67a
2 changed files with 1 additions and 10 deletions

View File

@ -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>

View 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();
}