Changeset 45139 in spip-zone for _plugins_/boussole/exec/boussoles.php
- Timestamp:
- Mar 3, 2011, 8:18:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/boussole/exec/boussoles.php
r43463 r45139 61 61 $nbr_sites = $boussole['nbr_sites']; 62 62 $maj = $boussole['maj']; 63 $demo = $boussole['demo']; 63 64 64 65 $boite = pipeline ('boite_infos', … … 82 83 $haut = "<div class='bandeau_actions'>$actions</div>" . gros_titre($nom, '' , false); 83 84 84 $onglet_contenu = afficher_corps_boussole($alias, $slogan, $descriptif, $url );85 $onglet_contenu = afficher_corps_boussole($alias, $slogan, $descriptif, $url, $demo); 85 86 $onglet_proprietes = ((!_INTERFACE_ONGLETS) ? "" :"") 86 87 . pipeline('affiche_milieu',array('args'=>array('exec'=>'boussoles', 'alias' => $alias),'data'=>'')); … … 113 114 } 114 115 115 function afficher_corps_boussole($alias, $slogan, $descriptif, $url ) {116 function afficher_corps_boussole($alias, $slogan, $descriptif, $url, $demo) { 116 117 $corps = ''; 117 118 $type = 'boussole'; 118 $contexte = array('alias' => $alias, 'slogan'=>$slogan, 'descriptif'=>$descriptif, 'url'=>$url );119 $contexte = array('alias' => $alias, 'slogan'=>$slogan, 'descriptif'=>$descriptif, 'url'=>$url, 'demo'=>$demo); 119 120 $fond = recuperer_fond("prive/contenu/$type",$contexte); 120 121 // Permettre a d'autres plugins de faire des modifs ou des ajouts
Note: See TracChangeset
for help on using the changeset viewer.