Changed update message to be more instructive, changed update style to be less aggresive

Fix br tags

Improve english messages
remotes/origin/stable6
Ramiro Aparicio 11 years ago
parent 808e9b0f51
commit 3a81c8e3af
  1. 5
      core/css/styles.css
  2. 0
      core/templates/update.admin.php
  3. 8
      core/templates/update.user.php
  4. 6
      lib/base.php

@ -441,6 +441,11 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
cursor: default;
}
#body-login .update {
text-align: center;
color: #ccc;
}
#body-user .warning, #body-settings .warning {
margin-top: 8px;
padding: 5px;

@ -0,0 +1,8 @@
<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>

@ -224,7 +224,9 @@ class OC {
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();
}
}
@ -240,7 +242,7 @@ class OC {
$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();

Loading…
Cancel
Save