]> git.mxchange.org Git - friendica.git/blob - view/theme/decaf-mobile/templates/acl_html_selector.tpl
Merge pull request #2544 from annando/issue-1769
[friendica.git] / view / theme / decaf-mobile / templates / acl_html_selector.tpl
1
2 <a name="acl-wrapper-target"></a>
3 <div id="acl-wrapper">
4         <div id="acl-public-switch">
5                 <a href="{{$return_path}}#acl-wrapper-target" {{if $is_private == 1}}class="acl-public-switch-selected"{{/if}} >{{$private}}</a>
6                 <a href="{{$return_path}}{{$public_link}}#acl-wrapper-target" {{if $is_private == 0}}class="acl-public-switch-selected"{{/if}} >{{$public}}</a>
7         </div>
8         <div id="acl-list">
9                 <div id="acl-list-content">
10                         <div id="acl-html-groups" class="acl-html-select-wrapper">
11                         {{$group_perms}}<br />
12                         <select name="group_allow[]" multiple {{if $is_private == 0}}disabled{{/if}} id="acl-html-group-select" class="acl-html-select" size=7>
13                                 {{foreach $acl_data.groups as $group}}
14                                 <option value="{{$group.id}}" {{if $is_private == 1}}{{if $group.selected}}selected{{/if}}{{/if}}>{{$group.name}}</option>
15                                 {{/foreach}}
16                         </select>
17                         </div>
18                         <div id="acl-html-contacts" class="acl-html-select-wrapper">
19                         {{$contact_perms}}<br />
20                         <select name="contact_allow[]" multiple {{if $is_private == 0}}disabled{{/if}} id="acl-html-contact-select" class="acl-html-select" size=7>
21                                 {{foreach $acl_data.contacts as $contact}}
22                                 <option value="{{$contact.id}}" {{if $is_private == 1}}{{if $contact.selected}}selected{{/if}}{{/if}}>{{$contact.name}} ({{$contact.networkName}})</option>
23                                 {{/foreach}}
24                         </select>
25                         </div>
26                 </div>
27         </div>
28         <span id="acl-fields"></span>
29 </div>
30