> Is it possible to disable the option to move a message from any other
> folder back in to the Inbox? It must still allow messages to be moved
> from the Inbox to any other folder and also messages between all other
> folders.

you'd have to hack the code... this worked for me
(/functions/mailbox_display.php):

--- mailbox_display.php.orig    Sat Jun  7 12:47:45 2003
+++ mailbox_display.php Sat Jun  7 12:56:15 2003
@@ -1221,7 +1221,7 @@
 function getMbxList($imapConnection) {
     global $lastTargetMailbox;
     echo  '         <small>&nbsp;<tt><select name="targetMailbox">';
-    echo sqimap_mailbox_option_list($imapConnection,
array(strtolower($lastTargetMailbox)) ); 
+    echo preg_replace('/<OPTION VALUE="INBOX">INBOX<\/OPTION>/', '',
sqimap_mailbox_option_list($imapConnection,
array(strtolower($lastTargetMailbox)) )); 
     echo '         </SELECT></TT>&nbsp;';
 }

> I am still debugging the Search functionality and have isolated it to
one
> possibility. When a message has been moved from any folder to the
inbox
> it breaks the search function. Even if this message is deleted it
> sometimes still manages to cause additional search errors. I am
guessing
> it is somehow corrupting the Inbox when messages are moved back there!

sounds like an issue with your IMAP server

> Also, is it possible to remove the option to create a folder as a
> subfolder of another folder. I would like it so the option is either
> unselectable and defaults to a value of 'none' or so it is completely
> invisible and still defaults to a value of 'none'.

another source hack - this worked for me (/src/folders.php):

--- folders.php.orig    Thu Mar 13 14:53:41 2003
+++ folders.php Sat Jun  7 13:03:25 2003
@@ -97,6 +97,7 @@
 
      "<FORM NAME=cf ACTION=\"folders_create.php\" METHOD=\"POST\">\n".
      "<input type=TEXT SIZE=25 NAME=folder_name><BR>\n".
+/*
      _("as a subfolder of").
      '<BR>'.
      "<TT><SELECT NAME=subfolder>\n";
@@ -127,6 +128,8 @@
        . _("Let this folder contain subfolders")
        . '<BR>';
 }
+*/
+     "<input type='hidden' name='subfolder' value=''>\n";
 echo "<input type=SUBMIT VALUE=\""._("Create")."\">\n";
 echo "</FORM></td></tr>\n";



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
--
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

Reply via email to