X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-updates.php;h=8955a29616ad3a56bd4dcd3c8ef38e8cc77451a9;hb=e5dde615db05fb62ebe91bd1c030f40c9b91fe17;hp=96de642c722512410e7f0db9eacd441f255c8f22;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/admin/what-updates.php b/inc/modules/admin/what-updates.php index 96de642c72..8955a29616 100644 --- a/inc/modules/admin/what-updates.php +++ b/inc/modules/admin/what-updates.php @@ -1,7 +1,7 @@ $v) { $v = trim($v); if (empty($v)) { @@ -89,16 +90,16 @@ if (empty($response[0]) && empty($response[1]) && empty($response[2]) && empty($ // Is a newer version available? if (empty($ONLINE['version'])) { // Disconnected? - loadTemplate('admin_settings_saved', false, "
{--ADMIN_CANNOT_CHECK_VERSION--} (".$ONLINE['code'].")
"); -} elseif (($ONLINE['version'] != getConfig('FULL_VERSION')) || ($ONLINE['revision'] != getConfig('CURR_SVN_REVISION'))) { + loadTemplate('admin_settings_saved', false, '
{--ADMIN_CANNOT_CHECK_VERSION--} (' . $ONLINE['code'] . ')
'); +} elseif (($ONLINE['version'] != getFullVersion()) || ($ONLINE['revision'] != getCurrSvnRevision())) { // New full-version available (all previous released patches are included in this version!) - $ONLINE['changed'] = generateDateTime($ONLINE['changed'], '2'); + $ONLINE['changed'] = generateDateTime($ONLINE['changed'], 2); // Load template loadTemplate('admin_update_download', false, $ONLINE); } else { // You have the latest version! - loadTemplate('admin_settings_saved', false, getMessage('NO_UPDATES_AVAILABLE')); + loadTemplate('admin_settings_saved', false, '{--NO_UPDATES_AVAILABLE--}'); } // [EOF]