- $use_folder = true;
- for ($p = 0; $p < count($special_folders); $p++) {
- if ($boxes[$i]["unformatted"] == $special_folders[0]) {
- $use_folder = true;
- } else if ($boxes[$i]["unformatted"] == $special_folders[$p]) {
- $use_folder = false;
- } else if (substr($boxes[$i]["unformatted"], 0, strlen($trash_folder)) == $trash_folder) {
- $use_folder = false;
- }
- }
- if ($use_folder == true) {
- $box = $boxes[$i]["unformatted"];
- $box2 = replace_spaces($boxes[$i]["formatted"]);
- echo " <OPTION VALUE=\"$box\">$box2\n";
- }
+ $box = $boxes[$i]["unformatted"];
+ $box2 = replace_spaces($boxes[$i]["formatted"]);
+ echo " <OPTION VALUE=\"$box\">$box2\n";