2015-01-14 13:31:42 +03:00
|
|
|
<div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
|
2014-05-28 13:29:22 +04:00
|
|
|
<div class="updateOverview">
|
2015-07-07 13:12:54 +03:00
|
|
|
<?php if ($_['isAppsOnlyUpgrade']) { ?>
|
|
|
|
<h2 class="title bold"><?php p($l->t('The following apps will be updated:')); ?></h2>
|
|
|
|
<?php } else { ?>
|
2014-05-28 13:29:22 +04:00
|
|
|
<h2 class="title bold"><?php p($l->t('%s will be updated to version %s.',
|
|
|
|
array($_['productName'], $_['version']))); ?></h2>
|
2015-07-07 13:12:54 +03:00
|
|
|
<?php } ?>
|
|
|
|
<?php if (!empty($_['appsToUpgrade'])) { ?>
|
|
|
|
<div class="infogroup">
|
|
|
|
<ul class="content appList">
|
|
|
|
<?php foreach ($_['appsToUpgrade'] as $appInfo) { ?>
|
|
|
|
<li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
|
|
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2014-05-26 20:43:26 +04:00
|
|
|
<?php if (!empty($_['appList'])) { ?>
|
2014-05-27 18:36:21 +04:00
|
|
|
<div class="infogroup">
|
2014-05-28 13:29:22 +04:00
|
|
|
<span class="bold"><?php p($l->t('The following apps will be disabled:')) ?></span>
|
2014-05-26 20:43:26 +04:00
|
|
|
<ul class="content appList">
|
2014-05-28 13:29:22 +04:00
|
|
|
<?php foreach ($_['appList'] as $appInfo) { ?>
|
|
|
|
<li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
|
|
|
|
<?php } ?>
|
2014-05-26 20:43:26 +04:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<?php if (!empty($_['oldTheme'])) { ?>
|
2014-05-28 13:29:22 +04:00
|
|
|
<div class="infogroup bold">
|
|
|
|
<?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?>
|
2014-05-26 20:43:26 +04:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2015-07-07 13:12:54 +03:00
|
|
|
<?php if (!$_['isAppsOnlyUpgrade']) { ?>
|
2014-05-28 13:29:22 +04:00
|
|
|
<div class="infogroup bold">
|
|
|
|
<?php p($l->t('Please make sure that the database, the config folder and the data folder have been backed up before proceeding.')) ?>
|
2014-05-26 20:43:26 +04:00
|
|
|
</div>
|
2015-07-07 13:12:54 +03:00
|
|
|
<?php } ?>
|
2014-05-28 13:29:22 +04:00
|
|
|
<input class="updateButton" type="button" value="<?php p($l->t('Start update')) ?>">
|
2014-08-18 17:05:55 +04:00
|
|
|
<div class="infogroup">
|
|
|
|
<?php p($l->t('To avoid timeouts with larger installations, you can instead run the following command from your installation directory:')) ?>
|
|
|
|
<pre>./occ upgrade</pre>
|
|
|
|
</div>
|
2014-05-26 20:43:26 +04:00
|
|
|
</div>
|
2014-05-28 13:29:22 +04:00
|
|
|
|
|
|
|
<div class="updateProgress hidden"></div>
|
2014-05-26 20:43:26 +04:00
|
|
|
</div>
|