[SPIP Zone] r17728 - in /_plugins_/_stable_/barre_typo_v2: exec/article_preview.php exec/article_stats.php exec/galerie.php exec/tableau_edit.php fonds/cfg_btv2.html inc/barre.php lang/bartypenr_fr.php plugin.xml typo_options.php

* patfr@ifrance.com tapuscrivait, le 27/12/2007 23:06:

Author: patfr@ifrance.com
Date: Thu Dec 27 23:06:01 2007
New Revision: 17728

Modified: _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

RealET a écrit :

Attention, là, tu as cassé ce commit : 17559 !

Merci j'ai eu aussi le msg irc. J'ai réparé, désolé.
Pat