]> git.mxchange.org Git - friendica.git/blob - view/templates/acl_selector.tpl
add fetaure switch for acl-automention
[friendica.git] / view / templates / acl_selector.tpl
1
2 <div id="acl-wrapper">
3         <input id="acl-search">
4         <a href="#" id="acl-showall">{{$showall}}</a>
5         <div id="acl-list">
6                 <div id="acl-list-content">
7                 </div>
8         </div>
9         <span id="acl-fields"></span>
10 </div>
11
12 <div class="acl-list-item" rel="acl-template" style="display:none">
13         <img data-src="{0}"><p>{1}</p>
14         <a href="#" class='acl-button-show'>{{$show}}</a>
15         <a href="#" class='acl-button-hide'>{{$hide}}</a>
16 </div>
17
18 <script>
19 $(document).ready(function() {
20         if(typeof acl=="undefined"){
21                 acl = new ACL(
22                         baseurl+"/acl",
23                         [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ],
24                         {{$features.aclautomention}}
25                 );
26         }
27 });
28 </script>