summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-30 04:10:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-30 04:10:29 +0000
commiteef938b5c0efc8d20de4ee769bd06e5fec54bf29 (patch)
tree18af1c3726f8d439927b35911c904d26d884390a /usr/local
parent3244aa21126e1f4d1bef6d0a2b7b710723e116e4 (diff)
downloadpfsense-eef938b5c0efc8d20de4ee769bd06e5fec54bf29.zip
pfsense-eef938b5c0efc8d20de4ee769bd06e5fec54bf29.tar.gz
Really show all items
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/diag_backup.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index cbd2b16..eda76d9 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -86,8 +86,9 @@ function spit_out_select_items($area, $showall) {
$select = "<select name=\"{$area}\">\n";
$select .= "<option VALUE=\"\">ALL</option>";
- if($showall)
- $select .= "<option value='{$area}'>{$areaname}</option>\n";
+ if($showall == true)
+ foreach($areas as $area => $areaname)
+ $select .= "<option value='{$area}'>{$areaname}</option>\n";
else
foreach($areas as $area => $areaname)
if(check_and_returnif_section_exists($area) == true)
OpenPOWER on IntegriCloud