]> git.mxchange.org Git - friendica.git/blob - templates/acl_selector.tpl
README: Add link to commit history
[friendica.git] / templates / acl_selector.tpl
1
2 <div id="acl-wrapper">
3         <button id="acl-showall" class="btn btn-block btn-default"><i class="fa fa-globe"></i> {{$showall}}</button>
4         <div class="form-group form-group-search">
5         <input type="text" id="acl-search" class="form-control form-search">
6         </div>
7         <div id="acl-list">
8                 <div id="acl-list-content"></div>
9         </div>
10         <span id="acl-fields"></span>
11 </div>
12
13 <div class="acl-list-item" rel="acl-template" style="display:none">
14         <img data-src="{0}"><p>{1}</p>
15         <button class='acl-button-hide btn btn-sm btn-default'>{{$hide}}</button>
16         <button class='acl-button-show btn btn-sm btn-default'>{{$show}}</button>
17 </div>
18
19 {{if $networks}}
20 <hr style="clear:both"/>
21 <div class="form-group">
22         <label for="profile-jot-email" id="profile-jot-email-label">{{$emailcc}}</label>
23         <input type="text" name="emailcc" id="profile-jot-email" class="form-control" title="{{$emtitle|escape:'html'}}" />
24 </div>
25 <div id="profile-jot-email-end"></div>
26
27 {{if $jotnets}}
28 {{$jotnets}}
29 {{/if}}{{/if}}
30
31 <script>
32 $(document).ready(function() {
33         if(typeof acl=="undefined"){
34                 acl = new ACL(
35                         baseurl+"/acl",
36                         [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ],
37                         {{$features.aclautomention}},
38                         {{if $APP->is_mobile}}true{{else}}false{{/if}}
39                 );
40         }
41 });
42 </script>