From 02f3e0bb6c987fb6652df33344f3bc619ba30f56 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 14 Jan 2013 15:13:14 -0500 Subject: Bold and note manifest entries that match the current architecture, and add a note cautioning against a cross-architecture upgrade. --- usr/local/www/system_firmware_settings.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'usr/local/www/system_firmware_settings.php') diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 34849d1..7399f1b 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -135,11 +135,20 @@ function enable_altfirmwareurl(enable_over) { {$pus_text[0]}"; + if (empty($pus_text[0])) + continue; + if (stristr($pus_text[0], php_uname("m")) !== false) { + $style = " style=\"font-weight: bold\""; + $yourarch = " (Current architecture)"; + } else { + $style = ""; + $yourarch = ""; + } + echo ""; } ?> +

-- cgit v1.1