Commit dc1377e9 authored by JM Oupah's avatar JM Oupah

Les optiions de tiny typo dans ZCM + page de test

parent eae399a2
This diff is collapsed.
......@@ -21,4 +21,15 @@ if (!isset($GLOBALS['z_blocs'])) {
}
// Ne pas insérer les CSS des albums sur les pages publiques (plugin albums)
define('_ALBUMS_INSERT_HEAD_CSS',false);
\ No newline at end of file
define('_ALBUMS_INSERT_HEAD_CSS',false);
$GLOBALS['spip_pipeline']['affichage_final'] .= '|tinytypo';
function tinytypo($texte) {
$texte = str_replace('hr class="spip"', 'hr', $texte);
$texte = str_replace('spip_out', 'external', $texte);
$texte = str_replace('spip_url', 'external', $texte);
$texte = str_replace('spip_mail', 'mailto', $texte);
$texte = str_replace('blockquote class="spip"', 'blockquote', $texte);
$texte = str_replace('<table class="spip', '<table class="table spip', $texte);
return $texte;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment