diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-08-30 04:10:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-08-30 04:10:29 +0000 |
commit | eef938b5c0efc8d20de4ee769bd06e5fec54bf29 (patch) | |
tree | 18af1c3726f8d439927b35911c904d26d884390a /usr/local/www/diag_backup.php | |
parent | 3244aa21126e1f4d1bef6d0a2b7b710723e116e4 (diff) | |
download | pfsense-eef938b5c0efc8d20de4ee769bd06e5fec54bf29.zip pfsense-eef938b5c0efc8d20de4ee769bd06e5fec54bf29.tar.gz |
Really show all items
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-x | usr/local/www/diag_backup.php | 5 |
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) |