Changeset 102859 in spip-zone for _plugins_/sjcycle


Ignore:
Timestamp:
Feb 14, 2017, 10:30:44 AM (2 years ago)
Author:
kent1@…
Message:

S'assurer d'avoir un id_article

Location:
_plugins_/sjcycle
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/sjcycle/branches/v2/paquet.xml

    r96762 r102859  
    22        prefix="sjcycle"
    33        categorie="multimedia"
    4         version="2.3.2"
     4        version="2.3.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/sjcycle/branches/v2/sjcycle_prive_pipelines.php

    r98145 r102859  
    55
    66function sjcycle_affiche_gauche($flux) {
    7         include_spip('inc/documents');
    8         include_spip('inc/meta');
    9 
    10         if ($flux['args']['exec'] == 'article_edit') {
     7        if ($flux['args']['exec'] == 'article_edit'
     8                and isset($flux['args']['id_article'])
     9                and (intval($flux['args']['id_article']) > 0)) {
     10                include_spip('inc/documents');
     11                include_spip('inc/config');
    1112                $conf_jcycle = lire_config('sjcycle');
    1213                if ($conf_jcycle['afficher_aide']) {
  • _plugins_/sjcycle/trunk/paquet.xml

    r100652 r102859  
    22        prefix="sjcycle"
    33        categorie="multimedia"
    4         version="3.4.16"
     4        version="3.4.17"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
  • _plugins_/sjcycle/trunk/sjcycle_prive_pipelines.php

    r84440 r102859  
    33
    44function sjcycle_affiche_gauche($flux){
    5         include_spip('inc/documents');
    6         include_spip('inc/meta');
    7 
    8         if ($flux['args']['exec'] == 'article_edit') {
     5        if ($flux['args']['exec'] == 'article_edit' and isset($flux['args']['id_article']) and (intval($flux['args']['id_article']) > 0)) {
     6                include_spip('inc/documents');
     7                include_spip('inc/config');
    98                $conf_sjcycle = lire_config('sjcycle');
    109                if($conf_sjcycle['afficher_aide']) {
Note: See TracChangeset for help on using the changeset viewer.