1 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} |
---|
2 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} |
---|
3 | {known_script id="jquery.tablesorter" src=$UAM_PATH|@cat:"admin/template/js/jquery.tablesorter.js"} |
---|
4 | |
---|
5 | {html_head}<link rel="stylesheet" type="text/css" href="{$UAM_PATH}admin/template/uam.css">{/html_head} |
---|
6 | |
---|
7 | <script type="text/javascript"> |
---|
8 | jQuery().ready(function() |
---|
9 | {ldelim} |
---|
10 | jQuery('.cluetip').cluetip( |
---|
11 | {ldelim} |
---|
12 | width: 600, |
---|
13 | splitTitle: '|' |
---|
14 | {rdelim}); |
---|
15 | {rdelim}); |
---|
16 | |
---|
17 | $(document).ready(function() |
---|
18 | {ldelim} |
---|
19 | // extend the default setting to always sort on the fourth column |
---|
20 | $.tablesorter.defaults.sortList = [[3,0]]; |
---|
21 | // sorting |
---|
22 | $("#sorting").tablesorter(); |
---|
23 | {rdelim} |
---|
24 | ); |
---|
25 | </script> |
---|
26 | |
---|
27 | <div class="titrePage"> |
---|
28 | <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle3'|@translate}</h2> |
---|
29 | </div> |
---|
30 | |
---|
31 | <form method="post" action="" class="general"> |
---|
32 | <fieldset> |
---|
33 | <legend class="cluetip" title="{'UAM_usermanTitle'|translate}|{'UAM_usermanTitle_d'|translate}">{'UserManager_Title'|@translate}</legend> |
---|
34 | |
---|
35 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
36 | <table id="sorting" class="table2" width="97%" summary=""> |
---|
37 | <thead> |
---|
38 | <tr class="throw"> |
---|
39 | <th> </td> |
---|
40 | <th> {'Username'|@translate} </th> |
---|
41 | <th> {'User status'|@translate} </th> |
---|
42 | <th> {'Email address'|@translate} </th> |
---|
43 | <th> {'Groups'|@translate} </th> |
---|
44 | <th> {'Registration_Date'|@translate} </th> |
---|
45 | <th> {'Reminder'|@translate} </th> |
---|
46 | </tr> |
---|
47 | </thead> |
---|
48 | <tbody> |
---|
49 | {foreach from=$users item=user name=users_loop} |
---|
50 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
51 | <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" ></td> |
---|
52 | <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td> |
---|
53 | <td>{$user.STATUS}</td> |
---|
54 | <td>{$user.EMAIL}</td> |
---|
55 | <td>{$user.GROUPS}</td> |
---|
56 | <td {if $user.EXPIRATION == True}style="color:red;text-align:center;"{else}style="color:lime;text-align:center;"{/if}>{$user.REGISTRATION}</td> |
---|
57 | <td style="text-align:center;">{$user.REMINDER}</td> |
---|
58 | {foreach from=$user.plugin_columns item=data} |
---|
59 | <td>{$data}</td> |
---|
60 | {/foreach} |
---|
61 | </tr> |
---|
62 | {/foreach} |
---|
63 | </tbody> |
---|
64 | </table> |
---|
65 | |
---|
66 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
67 | <br> |
---|
68 | |
---|
69 | <p> |
---|
70 | {'target'|@translate} |
---|
71 | <label><input type="radio" name="target" value="all" > {'all'|@translate}</label> |
---|
72 | <label><input type="radio" name="target" value="selection" checked="checked" > {'selection'|@translate}</label> |
---|
73 | </p> |
---|
74 | |
---|
75 | <p> |
---|
76 | <input class="submit" type="submit" value="{'Delete_selected'|@translate}" name="Del_Selected"> |
---|
77 | <input class="submit" type="submit" value="{'Mail_without_key'|@translate}" name="Mail_Without_Key"> |
---|
78 | <input class="submit" type="submit" value="{'Mail_with_key'|@translate}" name="Mail_With_Key"> |
---|
79 | <input class="submit" type="submit" value="{'Force_Validation'|@translate}" name="Force_Validation"> |
---|
80 | </p> |
---|
81 | </fieldset> |
---|
82 | </form> |
---|