2 function confirm_delete(uname) {
3 return confirm("{{$confirm_delete}}".format(uname));
6 function confirm_delete_multi() {
7 return confirm("{{$confirm_delete_multi}}");
10 function selectall(cls) {
11 $("." + cls).attr('checked', 'checked');
16 <h1>{{$title}} - {{$page}} ({{$count}})</h1>
18 <form action="{{$baseurl}}/{{$query_string}}" method="post">
19 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
25 {{foreach $th_pending as $th}}
26 <th>{{$th}}</th>{{/foreach}}
32 {{foreach $pending as $u}}
34 <td class="created">{{$u.created}}</td>
35 <td class="name">{{$u.name}}</td>
36 <td class="email">{{$u.email}}</td>
38 <input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}"/>
41 <a href="{{$baseurl}}/admin/users/pending/allow/{{$u.uid}}?t={{$form_security_token}}" title="{{$approve}}">
42 <span class="icon like"></span>
44 <a href="{{$baseurl}}/admin/users/pending/deny/{{$u.uid}}?t={{$form_security_token}}" title="{{$deny}}">
45 <span class="icon dislike"></span>
50 <td class="pendingnote"><p><span>{{$pendingnotetext}}:</span> {{$u.note}}</p></td>
55 <div class="selectall"><a href="#" onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div>
57 <input type="submit" name="page_users_deny" value="{{$deny}}"/>
58 <input type="submit" name="page_users_approve" value="{{$approve}}"/>
61 <p>{{$no_pending}}</p>