aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/acl_selector.tpl
blob: d21073b563d833e225dace7e02b4560d572f974a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div id="acl-wrapper">
	<input id="acl-search">
	<a href="#" id="acl-showall">{{$showall}}</a>
	<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 src="{0}"><p>{1}</p>
	<a href="#" class='acl-button-show'>{{$show}}</a>
	<a href="#" class='acl-button-hide'>{{$hide}}</a>
</div>

<script>
$(document).ready(function() {
	setTimeout( function () {
		if(typeof acl=="undefined"){
			acl = new ACL(
				baseurl+"/acl",
				[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
			);
		}
	}, 5000 );
});
</script>