Changeset 110942 in spip-zone
- Timestamp:
- Jun 30, 2018, 9:13:59 AM (3 years ago)
- Location:
- _plugins_/emogrifier/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/emogrifier/trunk/emogrifier_fonctions.php
r110302 r110942 25 25 26 26 foreach ($fichiers as $fichier) { 27 28 if (find_in_path($fichier . '.html')) { 29 $_css = produire_fond_statique($fichier, array('format' => 'css')); 30 $css .= file_get_contents(find_in_path(supprimer_timestamp($_css))); 31 }else{ 32 $css .= file_get_contents(find_in_path(trim($fichier))); 33 } 27 if (find_in_path($fichier . '.html')) { 28 $_css = produire_fond_statique($fichier, array('format' => 'css')); 29 $css .= file_get_contents(find_in_path(supprimer_timestamp($_css))); 30 } elseif ( find_in_path(trim($fichier)) ){ 31 $css .= file_get_contents(find_in_path(trim($fichier))); 32 } 34 33 } 35 34 … … 41 40 $htmldoc = new \Pelago\Emogrifier($html, $css); 42 41 if (_EMOGRIFIER_DISABLE_STYLE_BLOCKS_PARSING) { 43 $htmldoc->disableStyleBlocksParsing();42 $htmldoc->disableStyleBlocksParsing(); 44 43 } 45 44 return $htmldoc->emogrify(); -
_plugins_/emogrifier/trunk/paquet.xml
r110302 r110942 2 2 prefix="emogrifier" 3 3 categorie="outil" 4 version="1.0.1 1"4 version="1.0.12" 5 5 etat="test" 6 6 compatibilite="[3.0.5;3.2.*]" … … 17 17 18 18 <licence>GNU/GPL</licence> 19 19 20 20 <necessite nom="php" compatibilite="[5.5;]" /> 21 21 <chemin path=""/>
Note: See TracChangeset
for help on using the changeset viewer.