--- /dev/null
+<ul>
+ <li class='update'>
+ <?php p($l->t('Updating ownCloud to version %s, this may take a while.',
+ array($_['version']))); ?><br /><br />
+ </li>
+</ul>
+++ /dev/null
-<ul>
- <li class='update'>
- <?php p($l->t('Updating ownCloud to version %s, this may take a while.',
- array($_['version']))); ?><br /><br />
- </li>
-</ul>
--- /dev/null
+<ul>
+ <li class='update'>
+ <?php p($l->t('This ownCloud instance is currently being updated, which may take a while.')) ?><br/><br/>
+ <?php p($l->t('Please reload this page after a short time to continue using ownCloud.')) ?><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/>
+ </li>
+</ul>
header('Retry-After: 120');
// render error page
- OC_Template::printErrorPage('ownCloud is in maintenance mode');
+ $tmpl = new OC_Template('', 'update.user', 'guest');
+ $tmpl->printPage();
+ die();
}
}
$minimizerJS = new OC_Minimizer_JS();
$minimizerJS->clearCache();
OC_Util::addscript('update');
- $tmpl = new OC_Template('', 'update', 'guest');
+ $tmpl = new OC_Template('', 'update.admin', 'guest');
$tmpl->assign('version', OC_Util::getVersionString());
$tmpl->printPage();
exit();