summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-02-04 22:48:51 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-02-04 22:49:23 +0100
commitf147849bb05a48fe721851b2ebc2d0d746e2ca75 (patch)
treeaf1a5d6da68accf244a6c86154490d03e725d6b4 /plugins/acl/acl.php
parenteecd9ce0f908ffdff10613a0e2c55f2c28f093dc (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.php5
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 {