log($sortie, 'sortie'); /* == Traitement des feuilles de styles == */ if(isset($tabStyles) && count($tabStyles)>0){ foreach($tabStyles as $name => $group){ if( in_array('all', $group['pages']) || in_array($page, $group['pages']) ){ if( ENVIRONNEMENT == 'DEV' || $sortie=='pdf' || $compressoff ){ foreach($group['list'] as $style){ print ''; print "\n"; } }else{ print ''; print "\n"; } } } } /* == Traitement des scripts javascripts == */ $compressoff = false; if(isset($tabScripts) && count($tabScripts)>0){ foreach($tabScripts as $name => $group){ if(in_array('all', $group['pages']) || in_array($page, $group['pages'])){ if( ENVIRONNEMENT == 'DEV' || $compressoff){ foreach($group['list'] as $script){ print ''; print "\n"; } }else{ print ''; print "\n"; } } } }