Am 03.01.2011 08:18, schrieb A.L.E.C:
> Not bad, but Sharing section should be a Tab in folder info page.
Already tried that, but there seems to be a bug in Roundcube. When
clicking on any tab in the folder manager the tab content disappears...
> Also, defining rights for shared folder would be better with
> checkboxes.
We need eleven checkboxes... this would clutter the UI ;-)
I'll think about a select field with some predefined rights (read only,
read+write, ...)
> Applied partially in r4384. $capability should stay private. I
> think, we should extend getCapability().
Following patch allows to do a getCapability('RIGHTS='), which is the
official capability name as of
http://www.iana.org/assignments/imap4-capabilities.
--- program/include/rcube_imap_generic.php (revision 4384)
+++ program/include/rcube_imap_generic.php (working copy)
@@ -3224,6 +3224,7 @@
private function parseCapability($str, $trusted=false)
{
$str = preg_replace('/^\* CAPABILITY /i', '', $str);
+ $str = preg_replace('/\bRIGHTS=[kxte]{4}\b/i', 'RIGHTS=', $str);
$this->capability = explode(' ', strtoupper($str));
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd