aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/acl_selector.tpl
blob: 37f297cb968e1200321ff8bee302f8fb5256528c (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
29
30
31
32
{{*
 *	AUTOMATICALLY GENERATED TEMPLATE
 *	DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
 *
 *}}<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>