mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 13:32:52 +02:00
This commit is contained in:
@@ -563,6 +563,7 @@ class updates
|
||||
|
||||
$page['infos'][] = l10n('Update Complete');
|
||||
$page['infos'][] = $upgrade_to;
|
||||
$page['updated_version'] = $upgrade_to;
|
||||
$step = -1;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -57,7 +57,7 @@ p.release .errors {margin:0}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<p><i class="icon-info-circled-1"></i> {'Currently running version %s'|translate:PHPWG_VERSION}</p>
|
||||
<p><i class="icon-info-circled-1"></i> {'Currently running version %s'|translate:$PIWIGO_CURRENT_VERSION}</p>
|
||||
|
||||
{if $STEP == 0}
|
||||
{if $CHECK_VERSION}
|
||||
|
||||
@@ -113,7 +113,7 @@ if (!is_webmaster())
|
||||
|
||||
$template->assign(array(
|
||||
'STEP' => $step,
|
||||
'PHPWG_VERSION' => PHPWG_VERSION,
|
||||
'PIWIGO_CURRENT_VERSION' => isset($page['updated_version']) ? $page['updated_version'] : PHPWG_VERSION,
|
||||
'UPGRADE_TO' => $upgrade_to,
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user