aboutsummaryrefslogtreecommitdiffstats
path: root/view/acl_selector.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-19 17:24:09 -0700
committerFriendika <info@friendika.com>2011-07-19 17:24:09 -0700
commit1d35d1e5a1c807ea391d7958657b13a6bb471a0b (patch)
treed88d1b83d21c39c3d53758549c28ffed0d41f7f7 /view/acl_selector.tpl
parent0b8aaef09cd9ff455a027b082c79d1590bce9da9 (diff)
parent0a3ae96093a1fd81414b4fceaf65d4e98efda26c (diff)
downloadvolse-hubzilla-1d35d1e5a1c807ea391d7958657b13a6bb471a0b.tar.gz
volse-hubzilla-1d35d1e5a1c807ea391d7958657b13a6bb471a0b.tar.bz2
volse-hubzilla-1d35d1e5a1c807ea391d7958657b13a6bb471a0b.zip
Merge pull request #141 from fabrixxm/newacl
New jot ACL selector
Diffstat (limited to 'view/acl_selector.tpl')
-rw-r--r--view/acl_selector.tpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/view/acl_selector.tpl b/view/acl_selector.tpl
new file mode 100644
index 000000000..3379f5764
--- /dev/null
+++ b/view/acl_selector.tpl
@@ -0,0 +1,24 @@
+<div id="acl-wrapper">
+ <input id="acl-search">
+ <a href="#" id="acl-showall">$showall</a>
+ <div id="acl-list">
+ <div id="acl-list-content">
+ </div>
+ </div>
+ <span id="acl-fields"></span>
+</div>
+
+<div class="acl-list-item" rel="acl-template" style="display:none">
+ <img src="{0}"><p>{1}</p>
+ <a href="#" class='acl-button-show'>$show</a>
+ <a href="#" class='acl-button-hide'>$hide</a>
+</div>
+
+<script>
+$(function(){
+ acl = new ACL(
+ baseurl+"/acl",
+ [$allowcid,$allowgid,$denycid,$denygid]
+ );
+});
+</script>