Changeset 5147 in subversion
- Timestamp:
- Aug 29, 2011 6:16:08 PM (21 months ago)
- Location:
- trunk/plugins/acl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/acl/acl.js
r5084 r5147 2 2 * ACL plugin script 3 3 * 4 * @version 0.6 4 * @version 0.6.1 5 5 * @author Aleksander Machniak <alec@alec.pl> 6 6 */ … … 12 12 // enable autocomplete on user input 13 13 if (rcmail.env.acl_users_source) { 14 rcmail.init_address_input_events($('#acluser'), {action:' plugin.acl-autocomplete'});14 rcmail.init_address_input_events($('#acluser'), {action:'settings/plugin.acl-autocomplete'}); 15 15 // fix inserted value 16 16 rcmail.addEventListener('autocomplete_insert', function(e) { … … 53 53 54 54 if (users && users.length && confirm(this.get_label('acl.deleteconfirm'))) { 55 this.http_request(' plugin.acl', '_act=delete&_user='+urlencode(users.join(','))55 this.http_request('settings/plugin.acl', '_act=delete&_user='+urlencode(users.join(',')) 56 56 + '&_mbox='+urlencode(this.env.mailbox), 57 57 this.set_busy(true, 'acl.deleting')); … … 83 83 } 84 84 85 this.http_request(' plugin.acl', '_act=save'85 this.http_request('settings/plugin.acl', '_act=save' 86 86 + '&_user='+urlencode(user) 87 87 + '&_acl=' +rights … … 121 121 this.env.acl_advanced = !this.env.acl_advanced; 122 122 this.enable_command('acl-delete', 'acl-edit', false); 123 this.http_request(' plugin.acl', '_act=list'123 this.http_request('settings/plugin.acl', '_act=list' 124 124 + '&_mode='+(this.env.acl_advanced ? 'advanced' : 'simple') 125 125 + '&_mbox='+urlencode(this.env.mailbox), -
trunk/plugins/acl/acl.php
r5084 r5147 4 4 * Folders Access Control Lists Management (RFC4314, RFC2086) 5 5 * 6 * @version 0.6 6 * @version 0.6.1 7 7 * @author Aleksander Machniak <alec@alec.pl> 8 8 * … … 26 26 class acl extends rcube_plugin 27 27 { 28 public $task = 'settings|addressbook ';28 public $task = 'settings|addressbook|calendar'; 29 29 30 30 private $rc; … … 45 45 // kolab_addressbook plugin 46 46 $this->add_hook('addressbook_form', array($this, 'folder_form')); 47 $this->add_hook('calendar_form_kolab', array($this, 'folder_form')); 47 48 // Plugin actions 48 49 $this->register_action('plugin.acl', array($this, 'acl_actions')); … … 527 528 $attrib = array( 528 529 'name' => 'rcmyrights', 529 'style' => ' padding:0 15px;',530 'style' => 'margin:0; padding:0 15px;', 530 531 ); 531 532 -
trunk/plugins/acl/skins/default/acl.css
r5000 r5147 82 82 #aclform 83 83 { 84 top: 100px;84 top: 80px; 85 85 width: 480px; 86 86 padding: 10px;
Note: See TracChangeset
for help on using the changeset viewer.
