Changeset 1373689
- Timestamp:
- 03/18/2016 11:01:26 AM (10 years ago)
- Location:
- hal
- Files:
-
- 40 added
- 3 edited
-
tags/1.4.3 (added)
-
tags/1.4.3/constantes.php (added)
-
tags/1.4.3/css (added)
-
tags/1.4.3/css/jquery.jqplot.css (added)
-
tags/1.4.3/css/style.css (added)
-
tags/1.4.3/fonts (added)
-
tags/1.4.3/fonts/glyphicons-halflings-regular.eot (added)
-
tags/1.4.3/fonts/glyphicons-halflings-regular.svg (added)
-
tags/1.4.3/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/1.4.3/fonts/glyphicons-halflings-regular.woff (added)
-
tags/1.4.3/img (added)
-
tags/1.4.3/img/facebook.svg (added)
-
tags/1.4.3/img/google-plus.svg (added)
-
tags/1.4.3/img/linkedin.svg (added)
-
tags/1.4.3/img/logo-hal.svg (added)
-
tags/1.4.3/img/mail.svg (added)
-
tags/1.4.3/img/menu.svg (added)
-
tags/1.4.3/img/option.svg (added)
-
tags/1.4.3/img/phone.svg (added)
-
tags/1.4.3/img/twitter.svg (added)
-
tags/1.4.3/img/user.svg (added)
-
tags/1.4.3/js (added)
-
tags/1.4.3/js/cv-hal.js (added)
-
tags/1.4.3/js/jqplot.highlighter.js (added)
-
tags/1.4.3/js/jqplot.pieRenderer.js (added)
-
tags/1.4.3/js/jquery.jqplot.js (added)
-
tags/1.4.3/json (added)
-
tags/1.4.3/json/doctype_en.json (added)
-
tags/1.4.3/json/doctype_fr.json (added)
-
tags/1.4.3/lang (added)
-
tags/1.4.3/lang/wp-hal-en_US.mo (added)
-
tags/1.4.3/lang/wp-hal-en_US.po (added)
-
tags/1.4.3/lang/wp-hal-es_ES.mo (added)
-
tags/1.4.3/lang/wp-hal-es_ES.po (added)
-
tags/1.4.3/lang/wp-hal-fr_FR.mo (added)
-
tags/1.4.3/lang/wp-hal-fr_FR.po (added)
-
tags/1.4.3/lang/wp-hal.mo (added)
-
tags/1.4.3/lang/wp-hal.pot (added)
-
tags/1.4.3/readme.txt (added)
-
tags/1.4.3/wp-hal.php (added)
-
trunk/constantes.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-hal.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hal/trunk/constantes.php
r1372175 r1373689 29 29 30 30 // Constante de Version USERAGENT 31 define('version', '1.4. 3');31 define('version', '1.4.4'); -
hal/trunk/readme.txt
r1372175 r1373689 4 4 Requires at least: 4.0 5 5 Tested up to: 4.4.2 6 Stable tag: 1.4. 36 Stable tag: 1.4.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 71 71 == Changelog == 72 73 = 1.4.4 = 74 *Release Date - 18 March 2016* 75 76 Page : 77 78 * **Important :** Fix bug Publications with DocType ! 79 * Add class CSS for each DocType block (Example : grp-div-ART) 72 80 73 81 = 1.4.3 = -
hal/trunk/wp-hal.php
r1372175 r1373689 4 4 * Plugin URI: http://www.ccsd.cnrs.fr 5 5 * 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: 1.4. 36 * Version: 1.4.4 7 7 * Author: Baptiste Blondelle 8 8 * Author URI: http://www.ccsd.cnrs.fr … … 535 535 <div class="display" id="publications">'; 536 536 if (get_option('option_groupe') == 'grouper') { 537 $doctype = file_get_contents( __DIR__.'\json\doctype_'.lang.'.json');537 $doctype = file_get_contents(plugin_dir_path( __FILE__ ).'json\doctype_'.lang.'.json'); 538 538 $jsontype = json_decode($doctype); 539 539 … … 547 547 if ($json->grouped->docType_s->groups[$d]->groupValue == $jsontype->response->result->doc[$i]->str[0]){ 548 548 $titre = $jsontype->response->result->doc[$i]->str[1]; 549 $content .= '<li><div class="grp-div "><h3 class="wphal-titre-groupe">' . $titre . '<span class="wphal-nbmetadata" style="margin-left:10px;">' . $json->grouped->docType_s->groups[$d]->doclist->numFound . ' ' . _n('document', 'documents', $json->grouped->docType_s->groups[$d]->doclist->numFound, 'wp-hal') . '</span></h3>';549 $content .= '<li><div class="grp-div-'. $jsontype->response->result->doc[$i]->str[0] .'"><h3 class="wphal-titre-groupe">' . $titre . '<span class="wphal-nbmetadata" style="margin-left:10px;">' . $json->grouped->docType_s->groups[$d]->doclist->numFound . ' ' . _n('document', 'documents', $json->grouped->docType_s->groups[$d]->doclist->numFound, 'wp-hal') . '</span></h3>'; 550 550 $content .= '<div class="grp-content">'; 551 551 $content .= '<ul>';
Note: See TracChangeset
for help on using the changeset viewer.