summaryrefslogtreecommitdiff
path: root/plugins/acl/skins/classic/templates/table.html
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-07-30 12:00:52 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-07-30 12:00:52 +0200
commitc40419bdfe866932fecf9fcb1f552312c669c228 (patch)
tree2c8e21f2f53d3b3b1ca86b743f9159a831424ba9 /plugins/acl/skins/classic/templates/table.html
parentbaecd8becccd7786632c1cda895123293ceb1408 (diff)
Rename old 'default' skin folder to 'classic'
Diffstat (limited to 'plugins/acl/skins/classic/templates/table.html')
-rw-r--r--plugins/acl/skins/classic/templates/table.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/plugins/acl/skins/classic/templates/table.html b/plugins/acl/skins/classic/templates/table.html
new file mode 100644
index 000000000..bca63d0b3
--- /dev/null
+++ b/plugins/acl/skins/classic/templates/table.html
@@ -0,0 +1,50 @@
+<!--[if lte IE 6]>
+ <style type="text/css">
+ #aclmanager { height: expression(Math.min(302, parseInt(document.documentElement.clientHeight))+'px'); }
+ </style>
+<![endif]-->
+
+<div id="aclmanager">
+<div id="aclcontainer" class="boxlistcontent" style="top:0">
+ <roundcube:object name="acltable" id="acltable" class="records-table" />
+</div>
+<div class="boxfooter">
+ <roundcube:button command="acl-create" id="aclcreatelink" type="link" title="acl.newuser" class="buttonPas addgroup" classAct="button addgroup" content=" " />
+ <roundcube:button name="aclmenulink" id="aclmenulink" type="link" title="acl.actions" class="button groupactions" onclick="show_aclmenu(); return false" content=" " />
+</div>
+</div>
+
+<div id="aclmenu" class="popupmenu selectable">
+ <ul>
+ <li><roundcube:button command="acl-edit" label="edit" classAct="active" /></li>
+ <li><roundcube:button command="acl-delete" label="delete" classAct="active" /></li>
+ <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" />
+ <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch')" class="active" /></li>
+ <roundcube:endif />
+ </ul>
+</div>
+
+<div id="aclform" class="popupmenu">
+ <fieldset class="thinbordered"><legend><roundcube:label name="acl.identifier" /></legend>
+ <roundcube:object name="acluser" class="toolbarmenu" id="acluser" size="35" />
+ </fieldset>
+ <fieldset class="thinbordered"><legend><roundcube:label name="acl.myrights" /></legend>
+ <roundcube:object name="aclrights" class="toolbarmenu" />
+ </fieldset>
+ <div>
+ <roundcube:button command="acl-cancel" type="input" class="button" label="cancel" />
+ <roundcube:button command="acl-save" type="input" class="button mainaction" label="save" />
+ </div>
+</div>
+
+<script type="text/javascript">
+function show_aclmenu()
+{
+ if (!rcmail_ui) {
+ rcube_init_mail_ui();
+ rcmail_ui.popups.aclmenu = {id:'aclmenu', above:1, obj: $('#aclmenu')};
+ }
+
+ rcmail_ui.show_popup('aclmenu');
+}
+</script>