]> git.mxchange.org Git - friendica.git/blob - view/smarty3/acl_selector.tpl
template engine rework
[friendica.git] / view / smarty3 / acl_selector.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <div id="acl-wrapper">
7         <input id="acl-search">
8         <a href="#" id="acl-showall">{{$showall}}</a>
9         <div id="acl-list">
10                 <div id="acl-list-content">
11                 </div>
12         </div>
13         <span id="acl-fields"></span>
14 </div>
15
16 <div class="acl-list-item" rel="acl-template" style="display:none">
17         <img data-src="{0}"><p>{1}</p>
18         <a href="#" class='acl-button-show'>{{$show}}</a>
19         <a href="#" class='acl-button-hide'>{{$hide}}</a>
20 </div>
21
22 <script>
23 $(document).ready(function() {
24         if(typeof acl=="undefined"){
25                 acl = new ACL(
26                         baseurl+"/acl",
27                         [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
28                 );
29         }
30 });
31 </script>