friendica/view/templates/acl_selector.tpl

37 lines
881 B
Smarty
Raw Normal View History

2013-04-23 11:47:57 +00:00
<div id="acl-wrapper">
<input id="acl-search">
2015-08-08 20:30:43 +00:00
<a id="acl-showall">{{$showall}}</a>
2013-04-23 11:47:57 +00:00
<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 data-src="{0}"><p>{1}</p>
2015-08-08 20:30:43 +00:00
<a class='acl-button-show'>{{$show}}</a>
<a class='acl-button-hide'>{{$hide}}</a>
2013-04-23 11:47:57 +00:00
</div>
{{if $networks}}
<hr style="clear:both"/>
<div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle|escape:'html'}}" />
<div id="profile-jot-email-end"></div>
{{if $jotnets}}
{{$jotnets}}
{{/if}}{{/if}}
2013-04-23 11:47:57 +00:00
<script>
$(document).ready(function() {
if(typeof acl=="undefined"){
acl = new ACL(
baseurl+"/acl",
2014-01-03 13:40:43 +00:00
[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ],
{{$features.aclautomention}}
2013-04-23 11:47:57 +00:00
);
}
});
</script>