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
RevLine 
[9458]1{combine_script id='jquery' path='themes/default/js/jquery.min.js'}
[10144]2{combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'}
[9458]3{combine_script id='jquery.tablesorter' require='jquery' path=$UAM_PATH|@cat:'admin/template/js/jquery.tablesorter.min.js'}
[26948]4{combine_script id='jquery.tablesorter.pager' require='jquery' path=$UAM_PATH|@cat:'admin/template/js/jquery.tablesorter.pager.min.js'}
[5593]5
[9924]6{combine_css path= $UAM_PATH|@cat:'admin/template/uam.css'}
[26956]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}
[5593]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});
[6378]19
[26948]20$(document).ready(function()
[6378]21    {ldelim}
[6399]22      $("#sorting")
[26956]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})
[26948]24      .tablesorterPager({ldelim}container: $("#pager"), page: 0, size: 20, output: '{ldelim}page{rdelim} / {ldelim}totalPages{rdelim}',{rdelim});
[6378]25    {rdelim}
26);
[5593]27</script>
28
29<div class="titrePage">
[21747]30  <h2>{'UAM_Title_Tab'|@translate} {$UAM_VERSION}<br/>{'UAM_Tracking confirmations'|@translate}</h2>
[5593]31</div>
32
[26948]33<form method="post" class="general">
34    {if count($users) > 0}
[5593]35  <fieldset>
[13107]36        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
[26948]37      <table id="sorting" class="table2">
[5593]38                  <thead>
39                        <tr class="throw">
[26948]40                        <th>&nbsp;</th>
[6783]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>
[9177]46                        <th>{'UAM_Registration_Date'|@translate}&nbsp;&nbsp;</th>
[6754]47          {if $CONFIRM_LOCAL == ""}
[9177]48            <th>{'UAM_Reminder'|@translate}&nbsp;&nbsp;</th>
[6754]49          {/if}
[5593]50                        </tr>
51                        </thead>
[6378]52        <tbody>
[5593]53        {foreach from=$users item=user name=users_loop}
54          <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}">
[21747]55            <td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}"/></td>
[5593]56            <td><label for="selection-{$user.ID}">{$user.USERNAME}</label></td>
[26948]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>
[5593]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>
[6754]62          {if $CONFIRM_LOCAL == ""}
[5593]63            <td style="text-align:center;">{$user.REMINDER}</td>
[6754]64          {/if}
[5593]65            {foreach from=$user.plugin_columns item=data}
66              <td>{$data}</td>
67            {/foreach}                         
68          </tr>
69        {/foreach}
[6378]70      </tbody>
[5593]71      </table>
[18799]72      {if !empty($users)}
73        <div id="pager" class="pager">
[26948]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=""/>
[21747]76            <input type="text" class="pagedisplay"/>
[26948]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}">
[18799]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>
[26948]85            <select class="gotoPage" title="{'UAM_Select page number'|@translate}"></select>
[18799]86        </div>
87      {/if}
[21747]88        <br/>
[18799]89      <fieldset>
90        <p>
91          {'target'|@translate}
[21747]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>
[18799]94        </p>
[5593]95
[18799]96        <p>
97        {if $CONFIRM_LOCAL == "local"}
[21747]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"/>
[18799]100        {else}
[21747]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"/>
[18799]105        {/if}
106        </p>
107      </fieldset>
[5593]108  </fieldset>
[18799]109    {else}
[26948]110  <fieldset>
111        <legend class="cluetip" title="{'UAM_Tracking confirmations'|translate}|{'UAM_usermanTitle_d'|translate}">{'UAM_Tracking confirmations'|@translate}</legend>
[18799]112      <div>
113        {'UAM_No_Usermanager'|@translate}
114                  </div>
[26948]115  </fieldset>
[18799]116    {/if}
[21612]117</form>
Note: See TracBrowser for help on using the repository browser.