1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), $title]]) ?> 4 5<h1><?= $title ?></h1> 6 7<?php if ($latest_version === '') : ?> 8 <div class="alert alert-warning"> 9 <?= I18N::translate('No upgrade information is available.') ?> 10 </div> 11<?php elseif (version_compare($current_version, $latest_version) >= 0) : ?> 12 <div class="alert alert-info"> 13 <?= I18N::translate('This is the latest version of webtrees. No upgrade is available.') ?> 14 </div> 15<?php else : ?> 16 <p> 17 <?= I18N::translate('A new version of webtrees is available.') ?> 18 </p> 19 20 <p> 21 <?= I18N::translate('Depending on your server configuration, you may be able to upgrade automatically.') ?> 22 </p> 23 24 <form method="get" action="<?= e(route('upgrade')) ?>" class="form-horizontal"> 25 <input type="hidden" name="route" value="<?= e(route('upgrade')) ?>"> 26 27 <button type="submit" class="btn btn-primary" name="continue" value="1"> 28 <?= I18N::translate('continue') ?> 29 </button> 30 </form> 31<?php endif ?> 32