source: extensions/UserAdvManager/branches/2.6/admin/template/ghosttracker.tpl @ 26948

Revision 26948, 4.9 KB checked in by Eric, 6 years ago (diff)

merge r26094, r26292, r26686, r26706, r26861, r26862, r26914, r26933, r26934 and r26947 from trunk to branch 2.6

Dev:

  • Replace word "categorie" by "album" in en_UK and fr_FR translation files
  • Fix html5 validation errors
  • Piwigo 2.6 compliance: Improve confirmation email sending - More accurate when users or admins are set to confirm registrations
  • Piwigo 2.6 compliance: Update tablesorter jquery plugin for compliance with jquery v1.10
  • Improve confirmation and information email sending workflow
  • HTML5 recommandation improvement - Tablesorter and tablepager jquery plugin customization (step 1)

Translations:
Update pt_BR, thanks to : flaviove
Update pt_PT, thanks to : Bridges
Add sk_SK, thanks to : JoeKundlak
Update sk_SK, thanks to : JoeKundlak

  • 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.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.min.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},2: {ldelim} sorter: false {rdelim}{rdelim}{rdelim})
22      .tablesorterPager({ldelim}container: $("#pager"), page: 0, size: 20, output: '{ldelim}page{rdelim} / {ldelim}totalPages{rdelim}',{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" 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    {if count($users) > 0}
42  <fieldset>
43    <legend class="cluetip" title="{'UAM_GhostTracker_Title'|translate}|{'UAM_gtTitle_d'|translate}">{'UAM_GhostTracker_Title'|@translate}</legend>
44      <table id="sorting" class="table2">
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" alt=""/></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        <img src="{$UAM_PATH}admin/template/icon/first.png" class="first" alt=""/>
78        <img src="{$UAM_PATH}admin/template/icon/prev.png" class="prev" alt=""/>
79        <input type="text" class="pagedisplay"/>
80        <img src="{$UAM_PATH}admin/template/icon/next.png" class="next" alt=""/>
81        <img src="{$UAM_PATH}admin/template/icon/last.png" class="last" alt=""/>
82        <select class="pagesize" title="{'UAM_Select page size'|@translate}">
83          <option  value="10">10</option>
84          <option selected="selected" value="20">20</option>
85          <option value="30">30</option>
86          <option value="40">40</option>
87        </select>
88        <select class="gotoPage" title="{'UAM_Select page number'|@translate}"></select>
89      </div>
90      <br/>
91      <fieldset>
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  </fieldset>
104    {else}
105  <fieldset>
106    <legend class="cluetip" title="{'UAM_GhostTracker_Title'|translate}|{'UAM_gtTitle_d'|translate}">{'UAM_GhostTracker_Title'|@translate}</legend>
107                  <div>
108                         {'UAM_No_Ghosts'|@translate}
109                  </div>
110  </fieldset>
111                {/if}
112</form>
Note: See TracBrowser for help on using the repository browser.