2007/9/26, Robin Elfrink elfrink@introweb.nl:
[...]
I guess the problem is the follwing replace: preg_replace('/.*' . preg_quote($IMAP->delimiter) ...)
My folders are all top-level and $IMAP->delimiter is empty. The resulting expression is /.*/ which removes all characters from the folder name. I'd suggest to split the folder name by the delimiter and then use the last array index (which would be 0 in my case).
In revision 813 you implicitly add new folders as a subfolder of the selected one. This should be confirmed by the user (with a checkbox for example) since it's hard to unselect a row in the subscription list and as a user I simply wouldn't expect it to be created as a subfolder.
Okay, will do that. And/or add the ability to list.js to unselect one row, if multiselect is disabled, by simply clicking on the selected row again?
Could be an idea but I'd suggest to add a checkbox named "create as subfolder of .." anyway.
Okay, unction rename_mailbox() in program/include/rcube_imap.inc handles that.
OK, I didn't see that it's a simple renaming.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/