source: extensions/UserAdvManager/trunk/admin/template/ghosttracker.tpl @ 9924

Revision 9924, 4.3 KB checked in by Eric, 9 years ago (diff)

Piwigo 2.2 compliance : Using combine_css

  • Property svn:eol-style set to LF
Line 
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{combine_css path= $UAM_PATH|@cat:'admin/template/uam.css'}
7
8<script type="text/javascript">
9jQuery().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:[[4,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</script>
25
26<div class="titrePage">
27  <h2>{'UAM_Title_Tab'|@translate} {$UAM_VERSION}<br>{'UAM_SubTitle4'|@translate}</h2>
28</div>
29
30<form method="post" action="" class="general">
31  <fieldset>
32        <legend>{'UAM_GT_Init'|@translate}</legend>
33    <ul>
34                  <li>
35        <label>{'UAM_GhostTracker_Init'|@translate}</label><br><br>
36      </li>
37    </ul>
38    <p><input class="submit" type="submit" value="{'UAM_GT_Reset'|@translate}" name="GhostTracker_Init" ></p>
39  </fieldset>
40 
41  <fieldset>
42    <legend class="cluetip" title="{'UAM_gtTitle'|translate}|{'UAM_gtTitle_d'|translate}">{'UAM_GhostTracker_Title'|@translate}</legend>
43    {if count($users) > 0}
44      <table id="sorting" class="table2" width="97%" summary="">
45        <thead>
46          <tr class="throw">
47            <th>&nbsp;</th>
48            <th>{'Username'|@translate}</th>
49            <th>{'Profile'|@translate}</th>
50            <th>{'Email address'|@translate}</th>
51            <th>{'UAM_LastVisit_Date'|@translate}</th>
52            <th>{'UAM_Reminder'|@translate}</th>
53          </tr>
54        </thead>
55        <tbody>
56          {foreach from=$users item=user name=users_loop}
57            <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}">
58              <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" ></td>
59              <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td>
60              <td style="text-align:center;"><a href="./admin.php?page=profile&amp;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>
61              <td>{$user.EMAIL}</td>
62{if $user.REMINDER == l10n('UAM_Reminder_Sent_NOK')}
63              <td style="color:orange;text-align:center;">{$user.LASTVISIT}</td>
64              <td style="color:orange;text-align:center;">{$user.REMINDER}</td>
65{else $user.REMINDER == l10n('UAM_Reminder_Sent_OK')}
66              <td style="color:red;text-align:center;">{$user.LASTVISIT}</td>
67              <td style="color:red;text-align:center;">{$user.REMINDER}</td>
68{/if}
69              {foreach from=$user.plugin_columns item=data}
70                <td>{$data}</td>
71              {/foreach}                       
72            </tr>
73          {/foreach}
74        </tbody>
75      </table>
76<div id="pager" class="pager">
77        <form>
78                <img src="{$UAM_PATH}admin/template/icon/first.png" class="first">
79                <img src="{$UAM_PATH}admin/template/icon/prev.png" class="prev">
80                <input type="text" class="pagedisplay">
81                <img src="{$UAM_PATH}admin/template/icon/next.png" class="next">
82                <img src="{$UAM_PATH}admin/template/icon/last.png" class="last">
83                <select class="pagesize">
84                        <option  value="10">10</option>
85                        <option selected="selected" value="20">20</option>
86                        <option value="30">30</option>
87                        <option value="40">40</option>
88                </select>
89        </form>
90</div>
91        <br>
92<p>
93  {'target'|@translate}
94  <label><input type="radio" name="target" value="all" > {'all'|@translate}</label>
95  <label><input type="radio" name="target" value="selection" checked="checked" > {'selection'|@translate}</label>
96</p>
97
98<p>
99  <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected" >
100  <input class="submit" type="submit" value="{'UAM_Reminder'|@translate}" name="Reminder_Email" >
101</p>
102  </fieldset>
103                {else}
104                <div>
105                        {'UAM_No_Ghosts'|@translate}
106                </div>
107                {/if}
108</form>
Note: See TracBrowser for help on using the repository browser.