Changeset 57244 in spip-zone


Ignore:
Timestamp:
Jan 16, 2012, 4:31:26 PM (8 years ago)
Author:
maieul@…
Message:

procéder autrement pour tester si on est au premier niveau, car sinon les squelette ajouter via affichage_finale posent pb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/greves/greves_pipelines.php

    r57219 r57244  
    33function greves_styliser($flux){
    44        if($id_greve=greve_active() and !test_espace_prive()){
    5                 if(substr_count($flux['args']['fond'],'/')==0 and $flux['args']['fond']!='inc-head' and $flux['args']['fond']!='inc-entete' and $flux['args']['contexte']['page']!='login'){
    6 
     5                if(substr_count($flux['args']['fond'],'/')==0 and ($flux['args']['contexte']['type'] or $flux['args']['contexte']['page']) and $flux['args']['fond']!='inc-head' and $flux['args']['fond']!='inc-entete' and $flux['args']['contexte']['page']!='login'){       
    76                        $flux['data']                           =       str_replace('.html','',find_in_path('greve.html'));
    87                        $flux['args']['fond']           =       'greve';
Note: See TracChangeset for help on using the changeset viewer.