Changeset 49023 in spip-zone
- Timestamp:
- Jun 23, 2011, 10:56:56 PM (10 years ago)
- Location:
- _plugins_/article_pdf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/article_pdf/article_pdf.html
r38958 r49023 40 40 [$chapo='(#CHAPO|pdf_first_clean|texte_script)';] 41 41 [$descriptif='(#DESCRIPTIF|pdf_first_clean|texte_script)';] 42 [$texte= '(#TEXTE |pdf_first_clean|texte_script)';]42 [$texte= '(#TEXTE*|pdf_first_clean_prepropre|pdf_first_clean|texte_script)';] 43 43 [$ps='(#PS|pdf_first_clean|texte_script)';] 44 44 [$notes='(#NOTES|pdf_first_clean|texte_script)';] -
_plugins_/article_pdf/article_pdf_mes_fonctions.php
r28418 r49023 3 3 define('_DIR_PLUGIN_ARTICLE_PDF',(_DIR_PLUGINS.end($p))); 4 4 5 function pdf_first_clean_prepropre($texte){ 6 // Cette fonction est appelé avant propre. 7 $texte = preg_replace ('#(<code class=(\'|")([\w]+)(\'|")>)#','<code>',$texte); // si on a coloration code, on décolorie d'abord 8 return propre($texte); 9 10 } 5 11 function pdf_first_clean($texte) 6 12 { 13 // Cette focntion est appelé après la fonction propre 7 14 // $texte = ereg_replace("<p class[^>]*>", "<P>", $texte); 8 15 //Translation des codes iso -
_plugins_/article_pdf/plugin.xml
r34503 r49023 14 14 </auteur> 15 15 <version> 16 0. 216 0.3 17 17 </version> 18 18 <etat>
Note: See TracChangeset
for help on using the changeset viewer.