changed displayal of folders to move to from unformatted-disp to formatted
[squirrelmail.git] / functions / mailbox_display.php
index bd9ba32d3059dd5efe97ca4db6872394ba3eee5d..f8e6865afb78f03ea38741d70d396bc26c60f1f8 100644 (file)
          } while ($i && $i < $endVar);
       }
 
-      echo "<TR BGCOLOR=\"$color[5]\"><TD colspan=5><table width=100%><tr ><td>$lMore$mMore$rMore</td><td align=right>$Message</td></tr></table></td></tr></table>";
+      echo '</table>';
+      echo "<table bgcolor=\"$color[4]\" width=100%><tr ><td>$lMore$mMore$rMore</td><td align=right>$Message</td></tr></table>";
       /** End of message-list table */
 
       do_hook('mailbox_index_after');
       for ($i = 0; $i < count($boxes); $i++) {
          if (!in_array("noselect", $boxes[$i]['flags'])) {
             $box = $boxes[$i]['unformatted'];
-            $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['unformatted-disp']);
+            $box2 = str_replace(' ', '&nbsp;', $boxes[$i]['formatted']);
             echo "         <OPTION VALUE=\"$box\">$box2</option>\n";
          }
       }
       return substr($subject, 0, $trim_val) . '...';
    }
 
-?>
\ No newline at end of file
+?>