mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #1849 refresh the version number after a core update
This commit is contained in:
@@ -567,6 +567,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