summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_firmware.php')
-rwxr-xr-xusr/local/www/system_firmware.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index d5d696b..457a366 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -198,9 +198,11 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd"))
<td>
<?php
$tab_array = array();
- $tab_array[0] = array("Manual Update", true, "system_firmware.php");
- $tab_array[1] = array("Auto Update", false, "system_firmware_check.php");
- $tab_array[2] = array("Updater Settings", false, "system_firmware_settings.php");
+ $tab_array[] = array("Manual Update", true, "system_firmware.php");
+ if($g['platform'] <> "nanobsd") {
+ $tab_array[] = array("Auto Update", false, "system_firmware_check.php");
+ $tab_array[] = array("Updater Settings", false, "system_firmware_settings.php");
+ }
display_top_tabs($tab_array);
?>
</td>
OpenPOWER on IntegriCloud