Ignore:
Timestamp:
Apr 6, 2011, 12:23:29 PM (13 years ago)
Author:
datajulien
Message:

NBC_ThemeChanger
Version 2.2.0.a
Piwigo 2.2 compatibility upgrade

File:
1 edited

Legend:

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

    r6648 r10099  
     1{combine_css path="plugins/nbc_ThemeChanger/theme/style.css"}
    12
    2 <link rel="stylesheet" href="plugins/nbc_ThemeChanger/theme/style.css" type="text/css" id="" />
    3 <script type="text/javascript" src="plugins/nbc_ThemeChanger/include/jquery.tablesorter.js"></script>
     3{combine_script id='jquery.tablesorter' load='async' require='jquery' path='plugins/nbc_ThemeChanger/include/jquery.tablesorter.js'}
    44
    5 
    6 {literal}
    7 
    8 <script type="text/javascript" id="js">
    9 $(document).ready(function() {
    10     // extend the default setting to always include the zebra widget.
    11     $.tablesorter.defaults.widgets = ['zebra'];
    12     // extend the default setting to always sort on the first column
    13     $.tablesorter.defaults.sortList = [[0,0]];
    14         // On choisi ici la colonne 5 (l'index commence à 0) // On désactive le tri sur cette colonne
    15         $.tablesorter.defaults.headers = {
    16             2: { 
     5{footer_script require='jquery.tablesorter'}{literal}
     6jQuery(document).ready(function() {
     7   // call the tablesorter plugin
     8        jQuery("#tablesorter").tablesorter({
     9                // extend the default setting to always sort on the first column
     10                sortList : [[0,0]],
     11                // extend the default setting to always include the zebra widget.
     12                widgets : ['zebra'],
     13                // On choisi ici les colonnes 2 et 3 (l'index commence à 0) // On désactive le tri sur cette colonne
     14                headers : {
     15                                0 : { sorter:'text' },
     16                                1 : { sorter:'text' },
     17                                2: { 
    1718                                sorter: false 
    1819                                }  ,
     
    2021                                sorter: false 
    2122                                } 
    22                 };
    23     // call the tablesorter plugin
    24     $("table").tablesorter();
     23                        }
     24        });
    2525});
    26 </script>
     26{/literal}{/footer_script}
    2727
    28 <script type='text/javascript'>
    29 $(function(){
    30         $(".assocLink").tipTip({
     28
     29{footer_script require='jquery.tablesorter'}{literal}
     30jQuery(document).ready(function() {
     31  jQuery(".assocLink").tipTip({
    3132                maxWidth: "auto",
    3233                activation: "hover",
     
    3435                defaultPosition: "top",
    3536                delay: 0
    36         });
     37  });
    3738});
    38 </script>
     39{/literal}{/footer_script}
    3940
    40   {/literal}
     41
    4142
    4243<div class="titrePage">
     
    4748</ul>
    4849
    49 <br>
     50<!--br>
    5051[ <a href="{$params.U_ADD_ASSOC}">{'add_assoc'|@translate}</a> ]
    51 <br>
     52<br-->
    5253
    5354<table class="table2" id="tablesorter">
    5455  <thead>
    5556  <tr class="throw">
    56     <th>{'categories'|@translate}</th>
    57     <th>{'theme'|@translate}</th>
    58     <th>{'action'|@translate}</th>
     57    <th>{'Albums'|@translate}</th>
     58    <th>{'Themes'|@translate}</th>
     59    <th>{'Action'|@translate}</th>
    5960        <th>{'Status'|@translate}</th>
    6061  </tr>
     
    9596    <table class="table2">
    9697      <tr class="throw">
    97         <th>{'categories'|@translate}</th>
    98         <th>{'theme'|@translate}</th>
    99                 <th>{'subCategoriesApply'|@translate}</th>
     98        <th>{'Album'|@translate}</th>
     99        <th>{'Theme'|@translate}</th>
     100                <th>{'subAlbumsApply'|@translate}</th>
    100101      </tr>
    101102      <tr>
Note: See TracChangeset for help on using the changeset viewer.