Changeset 23208 in spip-zone


Ignore:
Timestamp:
Oct 13, 2008, 10:35:37 AM (12 years ago)
Author:
real3t@…
Message:

Résoudre le bug :
Fatal error: Cannot redeclare execute_pipeline_bt_toolbox() (previously declared in xxx/tmp/charger_pipelines.php:462) in xxx/tmp/charger_pipelines.php on line 491

Location:
_plugins_/_stable_/barre_typo_v2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/barre_typo_v2/inc/barre.php

    r21642 r23208  
    272272        $toolbox .= afficher_gestion_remplacer($champ, $champhelp, $num_barre);
    273273        // Pipeline pour ajouter des toolzbox
    274         $add = pipeline("BT_toolbox", $params_vierge);
     274        $add = pipeline("bt_toolbox", $params_vierge);
    275275        $toolbox .= $add['flux'];
    276276
     
    283283        $ret .= bouton_barre_racc("barre_raccourci('{','}',$champ, $num_barre)", _DIR_IMG_ICONES_BARRE."italique.png", _T('barre_italic'), $champhelp);
    284284        $ret .= bouton_barre_racc("barre_raccourci('{{','}}',$champ, $num_barre)", _DIR_IMG_ICONES_BARRE."gras.png", _T('barre_gras'), $champhelp);
    285         $add = pipeline("BT_caracteres", $params_vierge);
     285        $add = pipeline("bt_caracteres", $params_vierge);
    286286        $ret .= $add['flux'];
    287287
     
    296296                $retP .= bouton_barre_racc("barre_raccourci('\n\n<quote>','</quote>\n\n',$champ, $num_barre)", _DIR_IMG_ICONES_BARRE."quote.png", _T('barre_quote'), $champhelp);
    297297        }
    298         $add = pipeline("BT_paragraphes", $params_vierge);
     298        $add = pipeline("bt_paragraphes", $params_vierge);
    299299        $retP .= $add['flux'];
    300300        $ret .= "&nbsp;$retP</td>\n<td>";
     
    309309                $retL .= bouton_barre_racc("barre_raccourci('[?',']',$champ, $num_barre)", _DIR_BTV2_IMG.'barre-wiki.png', _T('bartypenr:barre_glossaire'), $champhelp);
    310310        }
    311         $add = pipeline("BT_liens", $params_vierge);
     311        $add = pipeline("bt_liens", $params_vierge);
    312312        $retL .= $add['flux'];
    313313        $ret .= "&nbsp;$retL</td>\n<td>";
     
    322322                // idee originale de http://www.gasteroprod.com/la-galerie-spip-pour-reutiliser-facilement-les-images-et-documents.html
    323323                $retS .= bouton_barre_racc("javascript:barre_galerie($champ, '"._DIR_RESTREINT."')", _DIR_BTV2_IMG.'galerie.png', _T('bartypenr:barre_galerie'), $champhelp);
    324                 $add = pipeline("BT_structures", $params_vierge);
     324                $add = pipeline("bt_structures", $params_vierge);
    325325                $retS .= $add['flux'];
    326326                $ret .= "&nbsp;$retS</td>\n<td>";
     
    336336                $retG .= bouton_barre_racc("toggle_stats($num_barre,'".str_replace("'","\\'",$champ)."');", _DIR_BTV2_IMG.'stats.png', _T('bartypenr:barre_stats'), $champhelp);
    337337        }
    338         $add = pipeline("BT_gadgets", $params_vierge);
     338        $add = pipeline("bt_gadgets", $params_vierge);
    339339        $retG .= $add['flux'];
    340340        $ret .= "&nbsp;$retG</td>";
  • _plugins_/_stable_/barre_typo_v2/typo_options.php

    r21644 r23208  
    11<?php
    2 $GLOBALS['spip_pipeline']['BT_toolbox']='';
    3 $GLOBALS['spip_pipeline']['BT_caracteres']='';
    4 $GLOBALS['spip_pipeline']['BT_paragraphes']='';
    5 $GLOBALS['spip_pipeline']['BT_liens']='';
    6 $GLOBALS['spip_pipeline']['BT_structures']='';
    7 $GLOBALS['spip_pipeline']['BT_gadgets']='';
     2$GLOBALS['spip_pipeline']['bt_toolbox']='';
     3$GLOBALS['spip_pipeline']['bt_caracteres']='';
     4$GLOBALS['spip_pipeline']['bt_paragraphes']='';
     5$GLOBALS['spip_pipeline']['bt_liens']='';
     6$GLOBALS['spip_pipeline']['bt_structures']='';
     7$GLOBALS['spip_pipeline']['bt_gadgets']='';
    88?>
Note: See TracChangeset for help on using the changeset viewer.