Ignore:
Timestamp:
Apr 8, 2011, 1:30:56 PM (13 years ago)
Author:
datajulien
Message:

nbc_ThemeChanger_admin

Piwigo 2.2 compatibility upgrade

url rewrite for modification and suppression actions.

Update in version 2.0.5b of jquery.tablesorter plugin and correction of the autosort js bug when the table is empty

Modified files:

main.inc.php
admin/nbc_themeChanger_admin.tpl
admin/nbc_themeChanger_admin.php
include/jquery.tablesorter.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_ThemeChanger/admin/nbc_ThemeChanger_admin.tpl

    r10099 r10161  
    66jQuery(document).ready(function() {
    77   // call the tablesorter plugin
    8         jQuery("#tablesorter").tablesorter({
     8        jQuery("table#TCtablesorter").tablesorter({
    99                // extend the default setting to always sort on the first column
    1010                sortList : [[0,0]],
     
    4444        <h3>Theme Changer</h3>
    4545</div>
    46 <ul class="categoryActions">
    47         <!--li><a href="{$params.U_HELP}" onclick="popuphelp(this.href); return false;" title="{'HELP'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li-->
    48 </ul>
    4946
    5047<!--br>
     
    5249<br-->
    5350
    54 <table class="table2" id="tablesorter">
     51<table class="table2" id="TCtablesorter">
    5552  <thead>
    5653  <tr class="throw">
     
    8683  </tr>
    8784  {/foreach}
    88  
     85  </tbody>
    8986  <!-- END assoc -->
    9087</table>
     
    9491  <fieldset>
    9592    <legend>{$formulaire.DESCRIPION}</legend>
    96     <table class="table2">
     93    <table class="table2" id="TCassoc">
     94                <thead>
    9795      <tr class="throw">
    9896        <th>{'Album'|@translate}</th>
     
    10098                <th>{'subAlbumsApply'|@translate}</th>
    10199      </tr>
     100          </thead>
     101          <tbody>
    102102      <tr>
    103103        <td>
     
    136136                </td>
    137137          </tr>
    138          
     138          </tbody>
    139139    </table>
    140        
    141140    <div align="center"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} /></div>
    142 
    143141  </fieldset>
    144142</form>
Note: See TracChangeset for help on using the changeset viewer.