diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-29 22:16:08 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-29 22:16:08 +0000 |
| commit | a42a9af5f4b869c84ec1a67268f74b365bd0e8bc (patch) | |
| tree | ab8944307ec1b697a63e1b7e5a30166ff764bf9f /plugins/acl/acl.php | |
| parent | 0e75c95acf063e482281e028c6e21b478864017f (diff) | |
Register ACL plugin for calendar task; send ajax requests to settings task
git-svn-id: https://svn.roundcube.net/trunk@5147 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/acl/acl.php')
| -rw-r--r-- | plugins/acl/acl.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index 1b021d00a..976b36260 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -3,7 +3,7 @@ /** * Folders Access Control Lists Management (RFC4314, RFC2086) * - * @version 0.6 + * @version 0.6.1 * @author Aleksander Machniak <alec@alec.pl> * * @@ -25,7 +25,7 @@ class acl extends rcube_plugin { - public $task = 'settings|addressbook'; + public $task = 'settings|addressbook|calendar'; private $rc; private $supported = null; @@ -44,6 +44,7 @@ class acl extends rcube_plugin $this->add_hook('folder_form', array($this, 'folder_form')); // kolab_addressbook plugin $this->add_hook('addressbook_form', array($this, 'folder_form')); + $this->add_hook('calendar_form_kolab', array($this, 'folder_form')); // Plugin actions $this->register_action('plugin.acl', array($this, 'acl_actions')); $this->register_action('plugin.acl-autocomplete', array($this, 'acl_autocomplete')); @@ -526,7 +527,7 @@ class acl extends rcube_plugin $list = array(); $attrib = array( 'name' => 'rcmyrights', - 'style' => 'padding: 0 15px;', + 'style' => 'margin:0; padding:0 15px;', ); foreach ($supported as $right) { |
