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

Revision 26948, 5.3 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:[[6,0]], 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);
25</script>
26
27<div class="titrePage">
28  <h2>{'UAM_Title_Tab'|@translate} {$UAM_VERSION}<br/>{'UAM_Tracking confirmations'|@translate}</h2>
29</div>
30
31<form method="post" class="general">
32    {if count($users) > 0}
33  <fieldset>
34        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
35      <table id="sorting" class="table2">
36                  <thead>
37                        <tr class="throw">
38                        <th>&nbsp;</th>
39                        <th>{'Username'|@translate}&nbsp;&nbsp;</th>
40            <th>{'Profile'|@translate}&nbsp;&nbsp;</th>
41                        <th>{'User status'|@translate}&nbsp;&nbsp;</th>
42                        <th>{'Email address'|@translate}&nbsp;&nbsp;</th>
43                        <th>{'Groups'|@translate}&nbsp;&nbsp;</th>
44                        <th>{'UAM_Registration_Date'|@translate}&nbsp;&nbsp;</th>
45          {if $CONFIRM_LOCAL == ""}
46            <th>{'UAM_Reminder'|@translate}&nbsp;&nbsp;</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&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>
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            <img src="{$UAM_PATH}admin/template/icon/first.png" class="first" alt=""/>
73            <img src="{$UAM_PATH}admin/template/icon/prev.png" class="prev" alt=""/>
74            <input type="text" class="pagedisplay"/>
75            <img src="{$UAM_PATH}admin/template/icon/next.png" class="next" alt=""/>
76            <img src="{$UAM_PATH}admin/template/icon/last.png" class="last" alt=""/>
77            <select class="pagesize" title="{'UAM_Select page size'|@translate}">
78              <option  value="10">10</option>
79              <option selected="selected" value="20">20</option>
80              <option value="30">30</option>
81              <option value="40">40</option>
82            </select>
83            <select class="gotoPage" title="{'UAM_Select page number'|@translate}"></select>
84        </div>
85      {/if}
86        <br/>
87      <fieldset>
88        <p>
89          {'target'|@translate}
90          <label><input type="radio" name="target" value="all"/> {'all'|@translate}</label>
91          <label><input type="radio" name="target" value="selection" checked="checked"/> {'selection'|@translate}</label>
92        </p>
93
94        <p>
95        {if $CONFIRM_LOCAL == "local"}
96          <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"/>
97          <input class="submit" type="submit" value="{'UAM_Manual_Validation'|@translate}" name="Manual_Validation"/>
98        {else}
99          <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"/>
100          <input class="submit" type="submit" value="{'UAM_Mail_without_key'|@translate}" name="Mail_Without_Key"/>
101          <input class="submit" type="submit" value="{'UAM_Mail_with_key'|@translate}" name="Mail_With_Key"/>
102          <input class="submit" type="submit" value="{'UAM_Manual_Validation'|@translate}" name="Manual_Validation"/>
103        {/if}
104        </p>
105      </fieldset>
106  </fieldset>
107    {else}
108  <fieldset>
109        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
110      <div>
111        {'UAM_No_Usermanager'|@translate}
112                  </div>
113  </fieldset>
114    {/if}
115</form>
Note: See TracBrowser for help on using the repository browser.