Show available version information even when using CVS version.

This commit is contained in:
Michal Čihař
2005-12-09 11:55:36 +00:00
parent c10246cc1e
commit fa383a0eb4
2 changed files with 4 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* libraries/auth/http.auth.lib.php: Simplify code, use getenv, support for
CGI (inspired by patch #1375495).
* Documentation.html: Clarify http auth description.
* scripts/setup.php: Show available version information even when using
CVS version.
2005-12-09 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/dbi:

View File

@@ -1749,10 +1749,10 @@ switch ($action) {
}
if ($version_upstream > $version_local) {
message('notice', 'New version of phpMyAdmin is available, you should consider upgrade. New version is ' . htmlspecialchars($version));
message('notice', 'New version of phpMyAdmin is available, you should consider upgrade. New version is ' . htmlspecialchars($version) . '.');
} else {
if ($version_local % 100 == 0) {
message('notice', 'You are using CVS version, run <code>cvs update</code> :-)');
message('notice', 'You are using CVS version, run <code>cvs update</code> :-). However latest released version is ' . htmlspecialchars($version) . '.');
} else {
message('notice', 'No newer stable version is available.');
}