Oops, the way I did it looked right, but wasn't functional. Here's the
patch to make it completely functional:
First, we need to add /dev/null to the folders list array, so starting at
line 29 in saconf_options.php I added this:
for ($i = 0; $i < count($boxes); $i++)
if (!in_array('noselect', $boxes[$i]['flags']))
array_push($folders, $boxes[$i]['unformatted']);
// Add /dev/null to the folders list for Delete it option.
array_push($folders, "/dev/null");
Then, after you do that, lin 130 gets relocated, but here's what that code
section looks like:
<?php
// Display dropdown menu of folder options
function folderDropdown() {
global $folders;
global $dest_folder;
print("<select name=folder>\n");
for ($i = 0; $i < count($folders); $i++) {
print("<option value=\"$i\"");
if ($folders[$i] == $dest_folder)
print(" selected");
if ($folders[$i] != "/dev/null")
print(">$folders[$i]</option>\n");
else
print(">Delete it.</option>\n");
}
print("</select>\n");
}
Of course I also left the text modification to warn people against using
it. :)
Tony Shadwick
Manager of Internet Services
Strategic Technology Group
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users