2 * AUTOMATICALLY GENERATED TEMPLATE
3 * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
7 function confirm_delete(uname){
8 return confirm( "{{$confirm_delete}}".format(uname));
10 function confirm_delete_multi(){
11 return confirm("{{$confirm_delete_multi}}");
13 function selectall(cls){
14 $("."+cls).attr('checked','checked');
19 <h1>{{$title}} - {{$page}}</h1>
21 <form action="{{$baseurl}}/admin/users" method="post">
22 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
24 <h3>{{$h_pending}}</h3>
29 {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
35 {{foreach $pending as $u}}
37 <td class="created">{{$u.created}}</td>
38 <td class="name">{{$u.name}}</td>
39 <td class="email">{{$u.email}}</td>
40 <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td>
42 <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title='{{$approve}}'><span class='icon like'></span></a>
43 <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon dislike'></span></a>
49 <div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div>
50 <div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"/> <input type="submit" name="page_users_approve" value="{{$approve}}" /></div>
52 <p>{{$no_pending}}</p>
64 {{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}}
70 {{foreach $users as $u}}
72 <td><img src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td>
73 <td class='name'><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td>
74 <td class='email'>{{$u.email}}</td>
75 <td class='register_date'>{{$u.register_date}}</td>
76 <td class='login_date'>{{$u.login_date}}</td>
77 <td class='lastitem_date'>{{$u.lastitem_date}}</td>
78 <td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}</td>
83 <input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
89 <a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a>
90 <a href="{{$baseurl}}/admin/users/delete/{{$u.uid}}?t={{$form_security_token}}" title='{{$delete}}' onclick="return confirm_delete('{{$u.name}}')"><span class='icon drop'></span></a>
97 <div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div>
98 <div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div>