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

Last change on this file since 26956 was 26956, checked in by Eric, 10 years ago

merge r26955 from trunk to branch 2.6 :
Next version is 2.6.0
Remove obsolete admin default theme
Customize tablesorter using zebra widget (colors according to admin theme in action) and tablesorter pager - step 2 and final

Add obsolete.list file

  • Property svn:eol-style set to LF
File size: 5.6 KB
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{if $UAM_THEME=='clear'}{combine_css path= $UAM_PATH|@cat:'admin/template/themes/clear/theme.css'}{/if}
8{if $UAM_THEME=='roma'}{combine_css path= $UAM_PATH|@cat:'admin/template/themes/roma/theme.css'}{/if}
9
10<script type="text/javascript">
11jQuery().ready(function()
12{ldelim}
13  jQuery('.cluetip').cluetip(
14  {ldelim}
15    width: 600,
16    splitTitle: '|'
17  {rdelim});
18{rdelim});
19
20$(document).ready(function()
21    {ldelim}
22      $("#sorting")
23      .tablesorter({ldelim}widgets: ["zebra"],widgetOptions :{ldelim}zebra : [ "normal-row", "alt-row" ]{rdelim},sortList:[[6,0]], headers: {ldelim} 0: {ldelim} sorter: false {rdelim},2: {ldelim} sorter: false {rdelim}{rdelim}{rdelim})
24      .tablesorterPager({ldelim}container: $("#pager"), page: 0, size: 20, output: '{ldelim}page{rdelim} / {ldelim}totalPages{rdelim}',{rdelim});
25    {rdelim}
26);
27</script>
28
29<div class="titrePage">
30  <h2>{'UAM_Title_Tab'|@translate} {$UAM_VERSION}<br/>{'UAM_Tracking confirmations'|@translate}</h2>
31</div>
32
33<form method="post" class="general">
34    {if count($users) > 0}
35  <fieldset>
36        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
37      <table id="sorting" class="table2">
38                  <thead>
39                        <tr class="throw">
40                        <th>&nbsp;</th>
41                        <th>{'Username'|@translate}&nbsp;&nbsp;</th>
42            <th>{'Profile'|@translate}&nbsp;&nbsp;</th>
43                        <th>{'User status'|@translate}&nbsp;&nbsp;</th>
44                        <th>{'Email address'|@translate}&nbsp;&nbsp;</th>
45                        <th>{'Groups'|@translate}&nbsp;&nbsp;</th>
46                        <th>{'UAM_Registration_Date'|@translate}&nbsp;&nbsp;</th>
47          {if $CONFIRM_LOCAL == ""}
48            <th>{'UAM_Reminder'|@translate}&nbsp;&nbsp;</th>
49          {/if}
50                        </tr>
51                        </thead>
52        <tbody>
53        {foreach from=$users item=user name=users_loop}
54          <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}">
55            <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}"/></td>
56            <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td>
57            <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>
58            <td>{$user.STATUS}</td>
59            <td>{$user.EMAIL}</td>
60            <td>{$user.GROUPS}</td>
61            <td {if $user.EXPIRATION == True}style="color:red;text-align:center;"{else}style="color:lime;text-align:center;"{/if}>{$user.REGISTRATION}</td>
62          {if $CONFIRM_LOCAL == ""}
63            <td style="text-align:center;">{$user.REMINDER}</td>
64          {/if}
65            {foreach from=$user.plugin_columns item=data}
66              <td>{$data}</td>
67            {/foreach}                         
68          </tr>
69        {/foreach}
70      </tbody>
71      </table>
72      {if !empty($users)}
73        <div id="pager" class="pager">
74            <img src="{$UAM_PATH}admin/template/icon/first.png" class="first" alt=""/>
75            <img src="{$UAM_PATH}admin/template/icon/prev.png" class="prev" alt=""/>
76            <input type="text" class="pagedisplay"/>
77            <img src="{$UAM_PATH}admin/template/icon/next.png" class="next" alt=""/>
78            <img src="{$UAM_PATH}admin/template/icon/last.png" class="last" alt=""/>
79            <select class="pagesize" title="{'UAM_Select page size'|@translate}">
80              <option  value="10">10</option>
81              <option selected="selected" value="20">20</option>
82              <option value="30">30</option>
83              <option value="40">40</option>
84            </select>
85            <select class="gotoPage" title="{'UAM_Select page number'|@translate}"></select>
86        </div>
87      {/if}
88        <br/>
89      <fieldset>
90        <p>
91          {'target'|@translate}
92          <label><input type="radio" name="target" value="all"/> {'all'|@translate}</label>
93          <label><input type="radio" name="target" value="selection" checked="checked"/> {'selection'|@translate}</label>
94        </p>
95
96        <p>
97        {if $CONFIRM_LOCAL == "local"}
98          <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"/>
99          <input class="submit" type="submit" value="{'UAM_Manual_Validation'|@translate}" name="Manual_Validation"/>
100        {else}
101          <input class="submit" type="submit" value="{'UAM_Delete_selected'|@translate}" name="Del_Selected"/>
102          <input class="submit" type="submit" value="{'UAM_Mail_without_key'|@translate}" name="Mail_Without_Key"/>
103          <input class="submit" type="submit" value="{'UAM_Mail_with_key'|@translate}" name="Mail_With_Key"/>
104          <input class="submit" type="submit" value="{'UAM_Manual_Validation'|@translate}" name="Manual_Validation"/>
105        {/if}
106        </p>
107      </fieldset>
108  </fieldset>
109    {else}
110  <fieldset>
111        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
112      <div>
113        {'UAM_No_Usermanager'|@translate}
114                  </div>
115  </fieldset>
116    {/if}
117</form>
Note: See TracBrowser for help on using the repository browser.