Subversion Repositories oidplus

Rev

Rev 1116 | Rev 1200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1116 Rev 1143
Line 95... Line 95...
95
                $newest_version = getLatestRevision();
95
                $newest_version = getLatestRevision();
96
 
96
 
97
                if (!$newest_version) {
97
                if (!$newest_version) {
98
                        $out_stat = VNag::STATUS_UNKNOWN;
98
                        $out_stat = VNag::STATUS_UNKNOWN;
99
                        $out_msg  = 'OIDplus could not determine the latest version. Probably the ViaThinkSoft server could not be reached.'; // do not translate
99
                        $out_msg  = 'OIDplus could not determine the latest version. Probably the ViaThinkSoft server could not be reached.'; // do not translate
-
 
100
                } else if (!$local_installation) {
-
 
101
                        $out_stat = 'WARN';
-
 
102
                        $out_msg  = 'OIDplus could not determine its version. Please update your system manually by downloading the latest archive file from oidplus.com.'; // do not translate
100
                } else if (version_compare($local_installation, $newest_version) >= 0) {
103
                } else if (version_compare($local_installation, $newest_version) >= 0) {
101
                        $out_stat = VNag::STATUS_OK;
104
                        $out_stat = VNag::STATUS_OK;
102
                        $out_msg  = 'You are using the latest version of OIDplus (' . $local_installation . ' local / ' . $newest_version . ' remote)'; // do not translate
105
                        $out_msg  = 'You are using the latest version of OIDplus (' . $local_installation . ' local / ' . $newest_version . ' remote)'; // do not translate
103
                } else {
106
                } else {
104
                        $out_stat = VNag::STATUS_WARNING;
107
                        $out_stat = VNag::STATUS_WARNING;