]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/moderation/users/pending.tpl
New area "moderation"
[friendica.git] / view / theme / frio / templates / moderation / users / pending.tpl
1 <script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
2 <link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css" media="screen"/>
3
4 <div id="admin-users" class="adminpage generic-page-wrapper">
5         <h1>{{$title}} - {{$page}} ({{$count}})</h1>
6
7         <form action="{{$baseurl}}/{{$query_string}}" method="post">
8                 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
9
10                 <table id="pending" class="table table-hover">
11                         <thead>
12                                 <tr>
13                                         <th>
14                                                 <div class="checkbox">
15                                                         <input type="checkbox" id="admin-settings-pending-select" class="selecttoggle" data-select-class="pending_ckbx"/>
16                                                         <label for="admin-settings-pending-select"></label>
17                                                 </div>
18                                         </th>
19                                         {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
20                                         <th></th>
21                                 </tr>
22                         </thead>
23                         <tbody>
24                 {{foreach $pending as $u}}
25                                 <tr>
26                                         <td>
27                                                 <div class="checkbox">
28                                                         <input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" />
29                                                         <label for="id_pending_{{$u.hash}}"></label>
30                                                 </div>
31                                         </td>
32                                         <td>{{$u.created}}</td>
33                                         <td>{{$u.name}}</td>
34                                         <td>{{$u.email}}</td>
35                                         <td>
36                                                 <a href="{{$baseurl}}/admin/users/pending/allow/{{$u.uid}}?t={{$form_security_token}}" class="admin-settings-action-link btn btn-sm btn-primary" title="{{$approve}}"><i class="fa fa-check" aria-hidden="true"></i></a>
37                                                 <a href="{{$baseurl}}/admin/users/pending/deny/{{$u.uid}}?t={{$form_security_token}}" class="admin-settings-action-link btn btn-sm btn-warning" title="{{$deny}}"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
38                                         </td>
39                                 </tr>
40                         {{if $u.note}}
41                                 <tr class="details">
42                                         <td></td>
43                                         <th>{{$pendingnotetext}}</th>
44                                         <td colspan="4">{{$u.note}}</td>
45                                 </tr>
46                         {{/if}}
47                 {{/foreach}}
48                         </tbody>
49                 </table>
50                 <button type="submit" name="page_users_approve" value="1" class="btn btn-primary">
51                         <i class="fa fa-check" aria-hidden="true"></i> {{$approve}}
52                 </button>
53                 <button type="submit" name="page_users_deny" value="1" class="btn btn-warning">
54                         <i class="fa fa-trash-o" aria-hidden="true"></i> {{$deny}}
55                 </button>
56                 {{$pager nofilter}}
57         </form>
58 </div>