> > > > > 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'. > > > > > > > Thanks again, this also works in that it removes the option to create > > > folders in existing folders. However it does generate a few errors > > when > > > the folders options page loads. Are these anything to worry about (it > > > still lets me create the folders? Have I entered the code incorrectly? > > > > > > Warning: array_push(): First argument should be an array in > > > e:\inetpub\wwwroot\webmail\src\folders.php on line 172 > > > > > > > Yah, that might be problematic. I just pulled down the most recent cvs > > copy of this file and edited it without testing (no time), so it might > not > > work, but give this a whirl (make sure you don't have any blank lines at > > the top or bottom of the file!) > > > Thanks, the attached file does get rid of the error messages and create > folders without the option of having them as subfolders. > The only problem is the label for the Create button is the name off all > the folders. > e.g. There is the heading: Create Folder with the text box to enter the > folders name. Underneath this is the Create button. To the left of the > Create button is the names of the folders, INBOX Drafts Sent Trash Saved > Work. This list grows each time I add a folder.
Sorry, missed one echo statement. Try this version. > Also in the Rename and Delete folder options I can only select the INBOX > and my own created folders to either delete or rename. beside the inbox, this is normal, desired behavior. if INBOX is showing up there, sounds like more like a misconfiguration of your IMAP settings/IMAP server problem (which, by the way, isn't this whole patch just a workaround for similar problems? It would be better to fight them at the source). I may be able to help you get rid of the inbox listing, but perhaps you should post another thread first asking for help on how to get the configuration sorted out. cheers, paul
folders.php
Description: Binary data
