2016-04-27 22:20:45 +02:00
|
|
|
|
|
|
|
<div id="acl-wrapper">
|
2019-02-04 00:44:38 +01:00
|
|
|
<div class="form-group form-group-search">
|
|
|
|
<button id="acl-showall" class="btn btn-block btn-default"><i class="fa fa-globe"></i> {{$showall}}</button>
|
|
|
|
</div>
|
2016-04-27 22:20:45 +02:00
|
|
|
<div class="form-group form-group-search">
|
2019-08-26 03:03:29 +02:00
|
|
|
<input type="text" id="acl-search" class="form-control form-search" autocomplete="off">
|
2016-04-27 22:20:45 +02:00
|
|
|
</div>
|
|
|
|
<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">
|
2017-10-20 15:21:42 +02:00
|
|
|
<img data-src="{0}" alt="{1}"><p>{1}</p>
|
2016-04-27 22:20:45 +02:00
|
|
|
<button class='acl-button-hide btn btn-sm btn-default'>{{$hide}}</button>
|
|
|
|
<button class='acl-button-show btn btn-sm btn-default'>{{$show}}</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{if $networks}}
|
|
|
|
<hr style="clear:both"/>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="profile-jot-email" id="profile-jot-email-label">{{$emailcc}}</label>
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="text" name="emailcc" id="profile-jot-email" class="form-control" title="{{$emtitle}}" />
|
2016-04-27 22:20:45 +02:00
|
|
|
</div>
|
|
|
|
<div id="profile-jot-email-end"></div>
|
|
|
|
|
2019-03-25 03:40:50 +01:00
|
|
|
{{if $jotnets_fields}}
|
|
|
|
{{if $jotnets_fields|count < 3}}
|
|
|
|
<div class="profile-jot-net">
|
|
|
|
{{else}}
|
|
|
|
<details class="profile-jot-net">
|
|
|
|
<summary>{{$jotnets_summary}}</summary>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{foreach $jotnets_fields as $jotnets_field}}
|
|
|
|
{{if $jotnets_field.type == 'checkbox'}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$jotnets_field.field}}
|
|
|
|
{{elseif $jotnets_field.type == 'select'}}
|
|
|
|
{{include file="field_select.tpl" field=$jotnets_field.field}}
|
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
{{if $jotnets_fields|count >= 3}}
|
|
|
|
</details>
|
|
|
|
{{else}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2016-04-27 22:20:45 +02:00
|
|
|
|
2017-10-20 15:21:42 +02:00
|
|
|
<script type="text/javascript">
|
2016-04-27 22:20:45 +02:00
|
|
|
$(document).ready(function() {
|
|
|
|
if(typeof acl=="undefined"){
|
|
|
|
acl = new ACL(
|
2019-10-04 04:40:42 +02:00
|
|
|
baseurl + '/search/acl',
|
2018-12-15 02:42:24 +01:00
|
|
|
[ {{$allowcid nofilter}},{{$allowgid nofilter}},{{$denycid nofilter}},{{$denygid nofilter}} ],
|
2016-04-27 22:20:45 +02:00
|
|
|
{{$features.aclautomention}},
|
|
|
|
{{if $APP->is_mobile}}true{{else}}false{{/if}}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|