* patfr@ifrance.com tapuscrivait, le 27/12/2007 23:06:
Author: patfr@ifrance.com
Date: Thu Dec 27 23:06:01 2007
New Revision: 17728Modified: _plugins_/_stable_/barre_typo_v2/exec/article_preview.php
--- _plugins_/_stable_/barre_typo_v2/exec/article_preview.php (original)
+++ _plugins_/_stable_/barre_typo_v2/exec/article_preview.php Thu Dec 27 23:06:01 2007
@@ -7,19 +7,15 @@
function exec_article_preview_dist()
{
- global $les_notes, $dir_lang;
- $ret = "";
- #lire_metas();
+ lire_metas();
#header('Content-Type: text/html;charset='.lire_meta('charset'));
#echo "<meta http-equiv='Content-Type' content='text/html; charset=".lire_meta('charset')."' />";
-
- $ret .= propre($_POST['texte']);
+ echo propre($_POST['texte']);
+ global $les_notes, $dir_lang;
if ($les_notes) {
- $ret .= ("<hr clear='all' /><div $dir_lang class='arial11'>"
+ echo ("<hr clear='all' /><div $dir_lang class='arial11'>"
. $les_notes
. "</div>");
}
- include_spip('inc/actions');
- ajax_retour($ret,false);
}
?>
Attention, là, tu as cassé ce commit : 17559 !
--
RealET