Changeset 10099 for extensions/nbc_ThemeChanger/admin
- Timestamp:
- Apr 6, 2011, 12:23:29 PM (13 years ago)
- 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"} 1 2 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'} 4 4 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} 6 jQuery(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: { 17 18 sorter: false 18 19 } , … … 20 21 sorter: false 21 22 } 22 }; 23 // call the tablesorter plugin 24 $("table").tablesorter(); 23 } 24 }); 25 25 }); 26 </script> 26 {/literal}{/footer_script} 27 27 28 <script type='text/javascript'> 29 $(function(){ 30 $(".assocLink").tipTip({ 28 29 {footer_script require='jquery.tablesorter'}{literal} 30 jQuery(document).ready(function() { 31 jQuery(".assocLink").tipTip({ 31 32 maxWidth: "auto", 32 33 activation: "hover", … … 34 35 defaultPosition: "top", 35 36 delay: 0 36 37 }); 37 38 }); 38 </script> 39 {/literal}{/footer_script} 39 40 40 {/literal} 41 41 42 42 43 <div class="titrePage"> … … 47 48 </ul> 48 49 49 < br>50 <!--br> 50 51 [ <a href="{$params.U_ADD_ASSOC}">{'add_assoc'|@translate}</a> ] 51 <br >52 <br--> 52 53 53 54 <table class="table2" id="tablesorter"> 54 55 <thead> 55 56 <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> 59 60 <th>{'Status'|@translate}</th> 60 61 </tr> … … 95 96 <table class="table2"> 96 97 <tr class="throw"> 97 <th>{' categories'|@translate}</th>98 <th>{' theme'|@translate}</th>99 <th>{'sub CategoriesApply'|@translate}</th>98 <th>{'Album'|@translate}</th> 99 <th>{'Theme'|@translate}</th> 100 <th>{'subAlbumsApply'|@translate}</th> 100 101 </tr> 101 102 <tr>
Note: See TracChangeset
for help on using the changeset viewer.