for ($i = 0; $i < count($boxes); $i++) {
if (!in_array('noselect', $boxes[$i]['flags'])) {
$box = $boxes[$i]['unformatted'];
- $box2 = replace_spaces($boxes[$i]['unformatted-disp']);
+ $box2 = str_replace(' ', ' ', $boxes[$i]['unformatted-disp']);
if ($mailbox == $box)
echo " <OPTION VALUE=\"$box\" SELECTED>$box2\n";
else
if (!isset($what))
$what = '';
$what_disp = ereg_replace(',', ' ', $what);
- $what_disp = str_replace('\\', '\', $what_disp);
- $what_disp = str_replace('\"', '"', $what_disp);
+ $what_disp = str_replace('\\\\', '\\', $what_disp);
+ $what_disp = str_replace('\\"', '"', $what_disp);
$what_disp = str_replace('"', '"', $what_disp);
echo " <INPUT TYPE=\"TEXT\" SIZE=\"20\" NAME=\"what\" VALUE=\"$what_disp\">\n";
echo ' </TD>';