Plugin Directory

Changeset 1547401


Ignore:
Timestamp:
12/07/2016 01:38:09 PM (9 years ago)
Author:
Friz
Message:

2.0.2

Location:
hal/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • hal/trunk/constantes.php

    r1462080 r1547401  
    3232
    3333// Constante de Version USERAGENT
    34 define('version', '2.0.1');
     34define('version', '2.0.2');
  • hal/trunk/readme.txt

    r1462080 r1547401  
    44Requires at least: 4.0
    55Tested up to: 4.5.3
    6 Stable tag: 2.0.1
     6Stable tag: 2.0.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7777
    7878== Changelog ==
     79
     80= 2.0.2 =
     81*Release Date - 07 December 2016*
     82
     83Page :
     84
     85* Libraries jQplot and PieRenderer are load if the metadata "Disciplines" is checked !
    7986
    8087= 2.0.1 =
  • hal/trunk/wp-hal.php

    r1462080 r1547401  
    44 * Plugin URI: http://www.ccsd.cnrs.fr
    55 * Description: Crée une page qui remonte les publications d'un auteur ou d'une structure en relation avec HAL et un widget des dernières publications d'un auteur ou d'une structure.
    6  * Version: 2.0.1
     6 * Version: 2.0.2
    77 * Author: Baptiste Blondelle
    88 * Author URI: http://www.ccsd.cnrs.fr
     
    9292        echo 'Please check the';?> <a href="https://wordpress.org/plugins/hal/faq/" target="_blank" id="curl">FAQ</a><?php echo ' with the code : CURL';
    9393    } else {
     94
     95        if(in_array('disciplines', get_option('option_choix'))){ //Lance les scripts pour le Graphique
     96            wp_enqueue_style('wp-hal-style2');
     97
     98            wp_enqueue_script('wp-hal-script1');
     99            wp_enqueue_script('wp-hal-script2');
     100            wp_enqueue_script('wp-hal-script3');
     101        }
     102
    94103        if (get_option('option_idhal') != '') {
    95104            $idhal = verifSolr(get_option('option_idhal'));
     
    265274
    266275            if (!is_null($facetdomain) && !empty($facetdomain)) {
    267 
    268276                $content .= '<div id="listdisci">';
    269277                $content .= '<span id="tridisciplines">';
     
    802810
    803811    wp_enqueue_style('wp-hal-style1');
    804     wp_enqueue_style('wp-hal-style2');
    805812}
    806813
     
    813820
    814821    wp_enqueue_script("jquery");
    815     wp_enqueue_script('wp-hal-script1');
    816     wp_enqueue_script('wp-hal-script2');
    817     wp_enqueue_script('wp-hal-script3');
    818822    wp_enqueue_script('wp-hal-script4', false, array(), false, true);
    819823}
Note: See TracChangeset for help on using the changeset viewer.