| 1 | {combine_script id='jquery' path='themes/default/js/jquery.min.js'} |
|---|
| 2 | {combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'} |
|---|
| 3 | {combine_script id='jquery.tablesorter' require='jquery' path=$UAM_PATH|@cat:'admin/template/js/jquery.tablesorter.min.js'} |
|---|
| 4 | {combine_script id='jquery.tablesorter.pager' require='jquery' path=$UAM_PATH|@cat:'admin/template/js/jquery.tablesorter.pager.js'} |
|---|
| 5 | |
|---|
| 6 | {html_head}<link rel="stylesheet" type="text/css" href="{$UAM_PATH}admin/template/uam.css">{/html_head} |
|---|
| 7 | |
|---|
| 8 | <script type="text/javascript"> |
|---|
| 9 | jQuery().ready(function() |
|---|
| 10 | {ldelim} |
|---|
| 11 | jQuery('.cluetip').cluetip( |
|---|
| 12 | {ldelim} |
|---|
| 13 | width: 600, |
|---|
| 14 | splitTitle: '|' |
|---|
| 15 | {rdelim}); |
|---|
| 16 | {rdelim}); |
|---|
| 17 | |
|---|
| 18 | $(document).ready(function() |
|---|
| 19 | {ldelim} |
|---|
| 20 | $("#sorting") |
|---|
| 21 | .tablesorter({ldelim}sortList:[[6,1]], headers: {ldelim} 0: {ldelim} sorter: false {rdelim}{rdelim}{rdelim}) |
|---|
| 22 | .tablesorterPager({ldelim}container: $("#pager"), positionFixed: false, size: 20, totalPages: 0{rdelim}); |
|---|
| 23 | {rdelim} |
|---|
| 24 | ); |
|---|
| 25 | </script> |
|---|
| 26 | |
|---|
| 27 | <div class="titrePage"> |
|---|
| 28 | <h2>{'UAM_Title_Tab'|@translate} {$UAM_VERSION}<br>{'UAM_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}">{'UAM_UserManager_Title'|@translate}</legend> |
|---|
| 34 | {if count($users) > 0} |
|---|
| 35 | <table id="sorting" class="table2" width="97%" summary=""> |
|---|
| 36 | <thead> |
|---|
| 37 | <tr class="throw"> |
|---|
| 38 | <th> </td> |
|---|
| 39 | <th>{'Username'|@translate} </th> |
|---|
| 40 | <th>{'Profile'|@translate} </th> |
|---|
| 41 | <th>{'User status'|@translate} </th> |
|---|
| 42 | <th>{'Email address'|@translate} </th> |
|---|
| 43 | <th>{'Groups'|@translate} </th> |
|---|
| 44 | <th>{'UAM_Registration_Date'|@translate} </th> |
|---|
| 45 | {if $CONFIRM_LOCAL == ""} |
|---|
| 46 | <th>{'UAM_Reminder'|@translate} </th> |
|---|
| 47 | {/if} |
|---|
| 48 | </tr> |
|---|
| 49 | </thead> |
|---|
| 50 | <tbody> |
|---|
| 51 | {foreach from=$users item=user name=users_loop} |
|---|
| 52 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
|---|
| 53 | <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" ></td> |
|---|
| 54 | <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td> |
|---|
| 55 | <td style="text-align:center;"><a href="./admin.php?page=profile&user_id={$user.ID}" title="{'Profile'|@translate}" onclick="window.open(this.href); return false;"><img src="{$UAM_PATH}admin/template/icon/edit_s.png"></a></td> |
|---|
| 56 | <td>{$user.STATUS}</td> |
|---|
| 57 | <td>{$user.EMAIL}</td> |
|---|
| 58 | <td>{$user.GROUPS}</td> |
|---|
| 59 | <td {if $user.EXPIRATION == True}style="color:red;text-align:center;"{else}style="color:lime;text-align:center;"{/if}>{$user.REGISTRATION}</td> |
|---|
| 60 | {if $CONFIRM_LOCAL == ""} |
|---|
| 61 | <td style="text-align:center;">{$user.REMINDER}</td> |
|---|
| 62 | {/if} |
|---|
| 63 | {foreach from=$user.plugin_columns item=data} |
|---|
| 64 | <td>{$data}</td> |
|---|
| 65 | {/foreach} |
|---|
| 66 | </tr> |
|---|
| 67 | {/foreach} |
|---|
| 68 | </tbody> |
|---|
| 69 | </table> |
|---|
| 70 | {if !empty($users)} |
|---|
| 71 | <div id="pager" class="pager"> |
|---|
| 72 | <form> |
|---|
| 73 | <img src="{$UAM_PATH}admin/template/icon/first.png" class="first"> |
|---|
| 74 | <img src="{$UAM_PATH}admin/template/icon/prev.png" class="prev"> |
|---|
| 75 | <input type="text" class="pagedisplay"> |
|---|
| 76 | <img src="{$UAM_PATH}admin/template/icon/next.png" class="next"> |
|---|
| 77 | <img src="{$UAM_PATH}admin/template/icon/last.png" class="last"> |
|---|
| 78 | <select class="pagesize"> |
|---|
| 79 | <option value="10">10</option> |
|---|
| 80 | <option selected="selected" value="20">20</option> |
|---|
| 81 | <option value="30">30</option> |
|---|
| 82 | <option value="40">40</option> |
|---|
| 83 | </select> |
|---|
| 84 | </form> |
|---|
| 85 | </div> |
|---|
| 86 | {/if} |
|---|
| 87 | <br> |
|---|
| 88 | |
|---|
| 89 | <p> |
|---|
| 90 | {'target'|@translate} |
|---|
| 91 | <label><input type="radio" name="target" value="all" > {'all'|@translate}</label> |
|---|
| 92 | <label><input type="radio" name="target" value="selection" checked="checked" > {'selection'|@translate}</label> |
|---|
| 93 | </p> |
|---|
| 94 | |
|---|
| 95 | <p> |
|---|
| 96 | {if $CONFIRM_LOCAL == "local"} |
|---|
| 97 | <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"> |
|---|
| 98 | <input class="submit" type="submit" value="{'UAM_Force_Validation'|@translate}" name="Force_Validation"> |
|---|
| 99 | {else} |
|---|
| 100 | <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"> |
|---|
| 101 | <input class="submit" type="submit" value="{'UAM_Mail_without_key'|@translate}" name="Mail_Without_Key"> |
|---|
| 102 | <input class="submit" type="submit" value="{'UAM_Mail_with_key'|@translate}" name="Mail_With_Key"> |
|---|
| 103 | <input class="submit" type="submit" value="{'UAM_Force_Validation'|@translate}" name="Force_Validation"> |
|---|
| 104 | {/if} |
|---|
| 105 | </p> |
|---|
| 106 | </fieldset> |
|---|
| 107 | {else} |
|---|
| 108 | <div> |
|---|
| 109 | {'UAM_No_Usermanager'|@translate} |
|---|
| 110 | </div> |
|---|
| 111 | {/if} |
|---|
| 112 | </form> |
|---|