From e4e7661a3dd8860135b2639daaaa49909c71e962 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 12 Feb 2013 19:58:45 +0000 Subject: [PATCH] Now passing dataMessage instead of alert No longer showing alert message, was a bit annoying. This is a better solution, shows how out of date you are and also provides a link to the ICEcoder website to get an update. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index a3af464..cdea91a 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@ if ($ICEcoder["checkUpdates"]) { $icv = json_encode(file_get_contents("http://icecoder.net/latest-version.txt")); $icv = rtrim(ltrim($icv,'"'),'"\\n'); if ($ICEcoder["versionNo"]<$icv) { - $updateMsg = ';top.ICEcoder.message(\'ICEcoder '.$icv.' now released\n\nPlease upgrade\')'; + $updateMsg = ";top.ICEcoder.dataMessage('UPDATE INFO: ICEcoder v ".$icv." now available. (Your version is v ".$ICEcoder["versionNo"]."). Get it free from icecoder.net');"; } } ?>