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