Rev 1132 | Rev 1149 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1132 | Rev 1143 | ||
---|---|---|---|
Line 487... | Line 487... | ||
487 | if (!function_exists('curl_init')) { |
487 | if (!function_exists('curl_init')) { |
488 | $out_msg = _L('OIDplus could not determine the latest version.').' '._L('The "%1" PHP extension is not installed at your system. Please enable the PHP extension <code>%2</code>.','CURL','php_curl'); |
488 | $out_msg = _L('OIDplus could not determine the latest version.').' '._L('The "%1" PHP extension is not installed at your system. Please enable the PHP extension <code>%2</code>.','CURL','php_curl'); |
489 | } else { |
489 | } else { |
490 | $out_msg = _L('OIDplus could not determine the latest version.').' '._L('Probably the ViaThinkSoft server could not be reached.'); |
490 | $out_msg = _L('OIDplus could not determine the latest version.').' '._L('Probably the ViaThinkSoft server could not be reached.'); |
491 | } |
491 | } |
- | 492 | } else if (!$local_installation) { |
|
- | 493 | $out_stat = 'WARN'; |
|
- | 494 | $out_msg = _L('OIDplus could not determine its version. Please update your system manually by downloading the latest archive file from oidplus.com.'); |
|
492 | } else if (version_compare($local_installation, $newest_version) >= 0) { |
495 | } else if (version_compare($local_installation, $newest_version) >= 0) { |
493 | $out_stat = 'INFO'; |
496 | $out_stat = 'INFO'; |
494 | $out_msg = _L('You are using the latest version of OIDplus (%1 local / %2 remote)', $local_installation, $newest_version); |
497 | $out_msg = _L('You are using the latest version of OIDplus (%1 local / %2 remote)', $local_installation, $newest_version); |
495 | } else { |
498 | } else { |
496 | $out_stat = 'WARN'; |
499 | $out_stat = 'WARN'; |