From 63e53e7da1da69164d9a343e5358dfb46c879298 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Wed, 18 May 2005 02:03:18 +0000 Subject: Change the "current version" fieldtype to use a grey background if the box is running a newer version than in the manifests. --- usr/local/www/system_firmware_check.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php index a27dd44..fd4378f 100755 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -75,7 +75,10 @@ $versions = check_firmware_version(); } if($version == 1) { $img = "pass.gif"; - } else { + } elseif($currentver > $version[count($version) - 1]['version']) { + $img = "pass.gif"; + $pastlatest = true; + } else { $allinstall = true; $img = "block.gif"; } @@ -90,15 +93,22 @@ $versions = check_firmware_version(); ?> + + + - -- cgit v1.1