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