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>
61 {{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}}
67 {{foreach $users as $u}}
69 <td><img class='icon' src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td>
70 <td class='name'><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td>
71 <td class='email'>{{$u.email}}</td>
72 <td class='register_date'>{{$u.register_date}}</td>
73 <td class='login_date'>{{$u.login_date}}</td>
74 <td class='lastitem_date'>{{$u.lastitem_date}}</td>
75 <td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}</td>
80 <input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
86 <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>
87 <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>
94 <div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div>
95 <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>
101 <h3>{{$h_deleted}}</h3>
106 {{foreach $th_deleted as $th}}<th>{{$th}}</th>{{/foreach}}
110 {{foreach $deleted as $u}}
112 <td><img class='icon' src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td>
113 <td class='name'><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td>
114 <td class='email'>{{$u.email}}</td>
115 <td class='register_date'>{{$u.register_date}}</td>
116 <td class='login_date'>{{$u.login_date}}</td>
117 <td class='lastitem_date'>{{$u.lastitem_date}}</td>
118 <td class='login_date'>{{$u.deleted}}</td>
124 <h3>{{$h_newuser}}</h3>
125 <form action="{{$baseurl}}/admin/users" method="post">
126 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
130 <td>{{include file="field_input.tpl" field=$newusername}}</td>
133 <td>{{include file="field_input.tpl" field=$newusernickname}}</td>
136 <td>{{include file="field_input.tpl" field=$newuseremail}}</td>
140 <div class="submit"><input type="submit" name="add_new_user_submit" value="{{$submit}}" /></div>