diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 9 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 9 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_check.php | 9 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_restorefullbackup.php | 9 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_settings.php | 9 |
5 files changed, 25 insertions, 20 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 0317ed2..ea3d446 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -235,10 +235,11 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd")) <td> <?php $tab_array = array(); - $tab_array[0] = array(gettext("Manual Update"), true, "system_firmware.php"); - $tab_array[1] = array(gettext("Auto Update"), false, "system_firmware_check.php"); - $tab_array[2] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); - $tab_array[3] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); + $tab_array[] = array(gettext("Manual Update"), true, "system_firmware.php"); + $tab_array[] = array(gettext("Auto Update"), false, "system_firmware_check.php"); + $tab_array[] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); + if($g['hidedownloadbackup'] == false) + $tab_array[] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); display_top_tabs($tab_array); ?> </td> diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index 8694041..316c7ae 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -76,10 +76,11 @@ include("head.inc"); <td> <?php $tab_array = array(); - $tab_array[0] = array(gettext("Manual Update"), false, "system_firmware.php"); - $tab_array[1] = array(gettext("Auto Update"), true, "system_firmware_check.php"); - $tab_array[2] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); - $tab_array[3] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); + $tab_array[] = array(gettext("Manual Update"), false, "system_firmware.php"); + $tab_array[] = array(gettext("Auto Update"), true, "system_firmware_check.php"); + $tab_array[] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); + if($g['hidedownloadbackup'] == false) + $tab_array[] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); display_top_tabs($tab_array); ?> </td> diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php index 6f0a099..e9d8e0d 100755 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -63,10 +63,11 @@ include("head.inc"); <td> <?php $tab_array = array(); - $tab_array[0] = array(gettext("Manual Update"), false, "system_firmware.php"); - $tab_array[1] = array(gettext("Auto Update"), true, "system_firmware_check.php"); - $tab_array[2] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); - $tab_array[3] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); + $tab_array[] = array(gettext("Manual Update"), false, "system_firmware.php"); + $tab_array[] = array(gettext("Auto Update"), true, "system_firmware_check.php"); + $tab_array[] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); + if($g['hidedownloadbackup'] == false) + $tab_array[] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); display_top_tabs($tab_array); ?> </td> diff --git a/usr/local/www/system_firmware_restorefullbackup.php b/usr/local/www/system_firmware_restorefullbackup.php index 705f05a..03928aa 100755 --- a/usr/local/www/system_firmware_restorefullbackup.php +++ b/usr/local/www/system_firmware_restorefullbackup.php @@ -122,10 +122,11 @@ include("head.inc"); <td> <?php $tab_array = array(); - $tab_array[0] = array(gettext("Manual Update"), false, "system_firmware.php"); - $tab_array[1] = array(gettext("Auto Update"), false, "system_firmware_check.php"); - $tab_array[2] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); - $tab_array[3] = array(gettext("Restore Full Backup"), true, "system_firmware_restorefullbackup.php"); + $tab_array[] = array(gettext("Manual Update"), false, "system_firmware.php"); + $tab_array[] = array(gettext("Auto Update"), false, "system_firmware_check.php"); + $tab_array[] = array(gettext("Updater Settings"), false, "system_firmware_settings.php"); + if($g['hidedownloadbackup'] == false) + $tab_array[] = array(gettext("Restore Full Backup"), true, "system_firmware_restorefullbackup.php"); display_top_tabs($tab_array); ?> </td> diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index e0cc800..0b4e320 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -107,10 +107,11 @@ function enable_altfirmwareurl(enable_over) { <td> <?php $tab_array = array(); - $tab_array[0] = array(gettext("Manual Update"), false, "system_firmware.php"); - $tab_array[1] = array(gettext("Auto Update"), false, "system_firmware_check.php"); - $tab_array[2] = array(gettext("Updater Settings"), true, "system_firmware_settings.php"); - $tab_array[3] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); + $tab_array[] = array(gettext("Manual Update"), false, "system_firmware.php"); + $tab_array[] = array(gettext("Auto Update"), false, "system_firmware_check.php"); + $tab_array[] = array(gettext("Updater Settings"), true, "system_firmware_settings.php"); + if($g['hidedownloadbackup'] == false) + $tab_array[] = array(gettext("Restore Full Backup"), false, "system_firmware_restorefullbackup.php"); display_top_tabs($tab_array); ?> </td> |