Changeset 43296 in spip-zone
- Timestamp:
- Jan 2, 2011, 5:12:31 PM (10 years ago)
- Location:
- _plugins_/zen-garden
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/zen-garden/action/zengarden_activer_theme.php
r33416 r43296 12 12 if (strncmp('defaut:',$arg,7) == 0){ 13 13 $dir_theme = _DIR_THEMES . substr($arg,7); 14 $flux = pipeline('zengarden_ effacer_theme', array('args' => array('dir' =>$dir_theme), 'data' => true));14 $flux = pipeline('zengarden_activer_theme', array('args' => array('dir' =>$dir_theme, 'action'=>'effacer'), 'data' => true)); 15 15 if ($flux) { 16 16 include_spip('inc/meta'); … … 22 22 $dir_theme = _DIR_THEMES . $theme; 23 23 if (is_dir($dir_theme)) { 24 $flux = pipeline('zengarden_a percevoir_theme', array('args' => array('dir' =>$dir_theme), 'data' => true));24 $flux = pipeline('zengarden_activer_theme', array('args' => array('dir' =>$dir_theme, 'action'=>'apercevoir'), 'data' => true)); 25 25 if ($flux) { 26 26 include_spip('inc/cookie'); … … 33 33 $dir_theme = _DIR_THEMES . $theme; 34 34 if (is_dir($dir_theme)) { 35 $flux = pipeline('zengarden_activer_theme', array('args' => array('dir' => $dir_theme ), 'data' => true));35 $flux = pipeline('zengarden_activer_theme', array('args' => array('dir' => $dir_theme, 'action'=>'activer'), 'data' => true)); 36 36 if ($flux) { 37 37 include_spip('inc/meta'); -
_plugins_/zen-garden/plugin.xml
r41488 r43296 2 2 <nom>Zen-Garden</nom> 3 3 <auteur>Cedric Morin [yterium.com->http://www.yterium.com]</auteur> 4 <version>1.0. 4</version>4 <version>1.0.5</version> 5 5 <icon>img_pack/themes-128.png</icon> 6 6 <etat>test</etat> … … 37 37 <nom>Zen-Garden</nom> 38 38 <auteur>Cedric Morin [yterium.com->http://www.yterium.com]</auteur> 39 <version>1.1. 1</version>39 <version>1.1.2</version> 40 40 <icon>img_pack/themes-128.png</icon> 41 41 <etat>test</etat> -
_plugins_/zen-garden/zengarden_options.php
r36702 r43296 52 52 } 53 53 54 // Déclaration des pipelines permettant d'ajouter traitements lors de la preview et de l'activiation 55 $GLOBALS['spip_pipeline']['zengarden_apercevoir_theme'] = ''; 54 // Déclaration du pipeline permettant d'ajouter traitements lors de la preview et de l'activiation 56 55 $GLOBALS['spip_pipeline']['zengarden_activer_theme'] = ''; 57 $GLOBALS['spip_pipeline']['zengarden_effacer_theme'] = '';58 56 59 57 function zengarden_affichage_final($texte){
Note: See TracChangeset
for help on using the changeset viewer.