2015-01-14 05:31:42 -05:00
|
|
|
<div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
|
2014-05-28 05:29:22 -04:00
|
|
|
<div class="updateOverview">
|
2015-07-07 06:12:54 -04:00
|
|
|
<?php if ($_['isAppsOnlyUpgrade']) { ?>
|
2015-11-05 10:36:37 -05:00
|
|
|
<h2 class="title"><?php p($l->t('App update required')); ?></h2>
|
2015-07-07 06:12:54 -04:00
|
|
|
<?php } else { ?>
|
2018-10-09 08:32:14 -04:00
|
|
|
<h2 class="title"><?php p($l->t('%1$s will be updated to version %2$s',
|
2020-03-26 04:30:18 -04:00
|
|
|
[$_['productName'], $_['version']])); ?></h2>
|
2015-07-07 06:12:54 -04:00
|
|
|
<?php } ?>
|
|
|
|
|
<?php if (!empty($_['appsToUpgrade'])) { ?>
|
|
|
|
|
<div class="infogroup">
|
2020-05-13 08:17:57 -04:00
|
|
|
<span><?php p($l->t('The following apps will be updated:')); ?></span>
|
2015-07-07 06:12:54 -04:00
|
|
|
<ul class="content appList">
|
|
|
|
|
<?php foreach ($_['appsToUpgrade'] as $appInfo) { ?>
|
|
|
|
|
<li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
2015-08-20 05:14:30 -04:00
|
|
|
<?php if (!empty($_['incompatibleAppsList'])) { ?>
|
2014-05-27 10:36:21 -04:00
|
|
|
<div class="infogroup">
|
2015-11-25 07:16:00 -05:00
|
|
|
<span><?php p($l->t('These incompatible apps will be disabled:')) ?></span>
|
2014-05-26 12:43:26 -04:00
|
|
|
<ul class="content appList">
|
2015-08-20 05:14:30 -04:00
|
|
|
<?php foreach ($_['incompatibleAppsList'] as $appInfo) { ?>
|
2014-05-28 05:29:22 -04:00
|
|
|
<li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
|
|
|
|
|
<?php } ?>
|
2014-05-26 12:43:26 -04:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php if (!empty($_['oldTheme'])) { ?>
|
2015-11-25 07:16:00 -05:00
|
|
|
<div class="infogroup">
|
2020-03-26 04:30:18 -04:00
|
|
|
<?php p($l->t('The theme %s has been disabled.', [$_['oldTheme']])) ?>
|
2014-05-26 12:43:26 -04:00
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
2014-05-28 05: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 12:43:26 -04:00
|
|
|
</div>
|
2018-10-02 04:11:47 -04:00
|
|
|
<input class="updateButton primary" type="button" value="<?php p($l->t('Start update')) ?>">
|
2014-08-18 09:05:55 -04:00
|
|
|
<div class="infogroup">
|
2016-08-04 06:48:25 -04:00
|
|
|
<em>
|
2014-08-18 09:05:55 -04:00
|
|
|
<?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>
|
2016-08-04 06:48:25 -04:00
|
|
|
</em>
|
2014-08-18 09:05:55 -04:00
|
|
|
</div>
|
2014-05-26 12:43:26 -04:00
|
|
|
</div>
|
2014-05-28 05:29:22 -04:00
|
|
|
|
2016-03-30 17:38:26 -04:00
|
|
|
<div class="update-progress hidden">
|
|
|
|
|
<h2 id="update-progress-title"></h2>
|
|
|
|
|
<div id="update-progress-icon" class="icon-loading-dark"></div>
|
2016-08-03 12:58:44 -04:00
|
|
|
<p id="update-progress-message-error" class="hidden"></p>
|
|
|
|
|
<ul id="update-progress-message-warnings" class="hidden"></ul>
|
2016-03-30 17:38:26 -04:00
|
|
|
<p id="update-progress-message"></p>
|
2020-04-09 10:07:47 -04:00
|
|
|
<a class="update-show-detailed"><?php p($l->t('Detailed logs')); ?> <span class="icon-caret-white"></span></a>
|
2016-08-04 06:48:25 -04:00
|
|
|
<div id="update-progress-detailed" class="hidden"></div>
|
2016-03-30 17:38:26 -04:00
|
|
|
</div>
|
2014-05-26 12:43:26 -04:00
|
|
|
</div>
|