From: Erin S. <ebu...@us...> - 2003-05-01 01:47:02
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs1:/tmp/cvs-serv24461/functions Modified Files: imap_mailbox.php Log Message: Additional tweaks for folder create/rename/delete display and behavior. Index: imap_mailbox.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_mailbox.php,v retrieving revision 1.174 retrieving revision 1.175 diff -u -w -r1.174 -r1.175 --- imap_mailbox.php 1 May 2003 00:09:13 -0000 1.174 +++ imap_mailbox.php 1 May 2003 01:46:56 -0000 1.175 @@ -421,11 +421,15 @@ * you know these options will be shown 3 times in a row.. (most often unset). * $parent - used to indicate whether or not listed boxes can be parents */ -function sqimap_mailbox_option_list($imap_stream, $show_selected = 0, $folder_skip = 0, $boxes = 0, $parent = false) { +function sqimap_mailbox_option_list($imap_stream, $show_selected = 0, $folder_skip = 0, $boxes = 0, $parent = false, $use_long_format = false ) { global $username, $data_dir; $mbox_options = ''; + if ( $use_long_format ) { + $shorten_box_names = 0; + } else { $shorten_box_names = getPref($data_dir, $username, 'mailbox_select_style', SMPREF_OFF); + } if ($boxes == 0) { $boxes = sqimap_mailbox_list($imap_stream); |