diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-02-04 22:48:51 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-02-04 22:49:23 +0100 |
commit | f147849bb05a48fe721851b2ebc2d0d746e2ca75 (patch) | |
tree | af1a5d6da68accf244a6c86154490d03e725d6b4 /plugins/acl/acl.php | |
parent | eecd9ce0f908ffdff10613a0e2c55f2c28f093dc (diff) |
Use standard dialog popups for the ACL permissions form; that will open it in the main window with enoough space and better UI integration
Diffstat (limited to 'plugins/acl/acl.php')
-rw-r--r-- | plugins/acl/acl.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index a840bcd58..681ef0ee9 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -150,7 +150,8 @@ class acl extends rcube_plugin $this->load_config(); $this->specials = $this->rc->config->get('acl_specials', $this->specials); $this->add_texts('localization/', array('deleteconfirm', 'norights', - 'nouser', 'deleting', 'saving')); + 'nouser', 'deleting', 'saving', 'newuser', 'editperms')); + $this->rc->output->add_label('save', 'cancel'); $this->include_script('acl.js'); $this->rc->output->include_script('list.js'); $this->include_stylesheet($this->local_skin_path().'/acl.css'); @@ -307,7 +308,7 @@ class acl extends rcube_plugin . $val); } - $out = html::tag('ul', array('id' => 'usertype'), $ul, html::$common_attrib); + $out = html::tag('ul', array('id' => 'usertype', 'class' => $attrib['class']), $ul, html::$common_attrib); } // Display text input alone else { |