1 | {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} |
---|
2 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"} |
---|
3 | |
---|
4 | {html_head}<link rel="stylesheet" type="text/css" href="{$NBC_UAM_PATH}admin/uam.css">{/html_head} |
---|
5 | |
---|
6 | <script type="text/javascript"> |
---|
7 | jQuery().ready(function(){ldelim} |
---|
8 | jQuery('.cluetip').cluetip({ldelim} |
---|
9 | width: 500, |
---|
10 | splitTitle: '|' |
---|
11 | }); |
---|
12 | }); |
---|
13 | </script> |
---|
14 | |
---|
15 | <div class="titrePage"> |
---|
16 | <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle5'|@translate}</h2> |
---|
17 | </div> |
---|
18 | |
---|
19 | <form method="post" action="{$UAM_F_ACTION}" class="general"> |
---|
20 | <fieldset> |
---|
21 | <legend class="cluetip" title="{'UAM_userlistTitle'|translate}|{'UAM_userlistTitle_d'|translate}">{'UserList_Title'|@translate}</legend> |
---|
22 | |
---|
23 | <div class="navigationBar">{$NAVBAR}</div> |
---|
24 | <table class="table2" width="97%" summary=""> |
---|
25 | <thead> |
---|
26 | <tr class="throw"> |
---|
27 | <td>{'Username'|@translate}</td> |
---|
28 | <td>{'Email address'|@translate}</td> |
---|
29 | <td>{'LastVisit_Date'|@translate}</td> |
---|
30 | <td>{'Nb_Days'|@translate}</td> |
---|
31 | </tr> |
---|
32 | </thead> |
---|
33 | |
---|
34 | {foreach from=$users item=user name=users_loop} |
---|
35 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
36 | <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td> |
---|
37 | <td>{$user.EMAIL}</td> |
---|
38 | <td style="text-align:center;">{$user.LASTVISIT}</td> |
---|
39 | {if $user.DISPLAY == 'green'} |
---|
40 | <td style="color:lime;text-align:center;">{$user.DAYS}</td> |
---|
41 | {elseif $user.DISPLAY == 'orange'} |
---|
42 | <td style="color:orange;text-align:center;">{$user.DAYS}</td> |
---|
43 | {elseif $user.DISPLAY == 'red'} |
---|
44 | <td style="color:red;text-align:center;">{$user.DAYS}</td> |
---|
45 | {else} |
---|
46 | <td style="text-align:center;">{$user.DAYS}</td> |
---|
47 | {/if} |
---|
48 | {foreach from=$user.plugin_columns item=data} |
---|
49 | <td>{$data}</td> |
---|
50 | {/foreach} |
---|
51 | </tr> |
---|
52 | {/foreach} |
---|
53 | </table> |
---|
54 | |
---|
55 | <div class="navigationBar">{$NAVBAR}</div> |
---|
56 | <br> |
---|
57 | </fieldset> |
---|
58 | </form> |
---|