Changeset 10099


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

Location:
extensions/nbc_ThemeChanger
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_ThemeChanger/Version.txt

    r6642 r10099  
     1Version 2.2.0.a
     2[lang=fr]
     3Mise en compatibilité avec piwigo 2.2
     4        CSS combine ok
     5        combine_script ok
     6        remplacement du terme "catégorie" par "album"
     7       
     8fichier modifiés
     9        admin/nbc_themeChanger_admin.tpl
     10        language/*/plugin.lang.php
     11       
     12[/lang=fr]
     13[lang=en]
     14Piwigo 2.2 compatibility upgrade
     15[/lang=en]
     16
     17[lang=it]
     18
     19[/lang=it]
     20
     21--------------------------------------------------
    122Version 2.1.0.c
    223
  • 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>
  • extensions/nbc_ThemeChanger/language/en_UK/plugin.lang.php

    r6648 r10099  
    11<?php
     2
     3/***************V2.2.0.a*****************/
     4$lang['subAlbumsApply']='Apply into the Sub-Albums?';
     5
    26/***************V2.1.0.c*****************/
    37$lang['Valide_assoc'] = 'Valide association ';
  • extensions/nbc_ThemeChanger/language/es_ES/plugin.lang.php

    r6648 r10099  
    11<?php
     2
     3/***************V2.2.0.a*****************/
     4$lang['subAlbumsApply']='¿ Aplicar sobre las subalbums ?';
     5
    26/***************V2.1.0.c*****************/
    37$lang['Valide_assoc'] = 'Valide association';
  • extensions/nbc_ThemeChanger/language/fr_FR/plugin.lang.php

    r6648 r10099  
    11<?php
     2
     3/***************V2.2.0.a*****************/
     4$lang['subAlbumsApply']='Appliquer aux sous-Albums?';
     5
    26/***************V2.1.0.c*****************/
    37$lang['Valide_assoc'] = 'Association valide';
    4 $lang['ErrorDelete_assoc'] = 'Association invalide à cause d la supression du thème';
     8$lang['ErrorDelete_assoc'] = 'Association invalide à cause de la supression du thème';
    59$lang['ErrorUnactive_assoc'] = 'Association invalide à cause de la désactivation du thème';
    610
  • extensions/nbc_ThemeChanger/language/hu_HU/plugin.lang.php

    r6686 r10099  
    11<?php
     2
     3/***************V2.2.0.a*****************/
     4$lang['subAlbumsApply']='Apply into the Sub-Albums?';
     5
    26/***************V2.1.0.c*****************/
    37$lang['Valide_assoc'] = 'Sikeres társítás ';
  • extensions/nbc_ThemeChanger/language/it_IT/plugin.lang.php

    r7435 r10099  
    11<?php
     2
     3/***************V2.2.0.a*****************/
     4$lang['subAlbumsApply']='Applicare alle Sotto-Album?';
     5 
    26/***************V2.1.0.c*****************/
    37$lang['Valide_assoc'] = 'Associazione valida';
  • extensions/nbc_ThemeChanger/main.inc.php

    r6648 r10099  
    22/*
    33Plugin Name: NBC ThemeChanger
    4 Version: 2.1.0.B
     4Version: 2.2.0.A
    55Description: Permet d'associer à chaque catégorie virtuel ou physique un thème spécifique.
    66        ThemeChanger vous permet de spécifier pour chaque catérie un thème différent.
     
    3030                array(
    3131                  'NAME' => 'ThemeChanger',
    32                   'URL'  => get_admin_plugin_menu_link(NBC_ThemeChanger_PATH.'admin/nbc_ThemeChanger_admin.php')
     32                //  'URL'  => get_admin_plugin_menu_link(NBC_ThemeChanger_PATH.'admin/nbc_ThemeChanger_admin.php')
     33                  'URL'  => get_root_url().'admin.php?page=plugin-'.basename(NBC_ThemeChanger_PATH)
     34                 // 'URL' =>  get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))
    3335                )
    3436          );
Note: See TracChangeset for help on using the changeset viewer.