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:48:51 +0100
commitf8a57ebd94941b685287895519fa7427f8e30b3b (patch)
tree09b8c81ec9ed12f922d99bc9552692777bfeaa3c /plugins/acl/acl.php
parent63eae4a196372bc60c22a7f39d15ef4f448eb738 (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 {