diff --git a/ecrire/exec/articles_edit.php b/ecrire/exec/articles_edit.php index d5f3414a99d9779590363ad8e899605a3215b7b8..a104192e5ebadce5686bce4c556a4f389451d46e 100644 --- a/ecrire/exec/articles_edit.php +++ b/ecrire/exec/articles_edit.php @@ -51,9 +51,7 @@ function exec_articles_edit_dist() $commencer_page = charger_fonction('commencer_page', 'inc'); echo $commencer_page(_T('titre_page_articles_edit', array('titre' => $titre)), - "naviguer", "articles", "hauteurTextarea();", - "", - $id_rubrique); + "naviguer", "articles", $id_rubrique); debut_grand_cadre(); echo afficher_hierarchie($id_rubrique); diff --git a/ecrire/inc/editer_article.php b/ecrire/inc/editer_article.php index 699edd5b763a15e93a0951c51b4a470812501a20..12b6acd61fcdd1900c762530d0e703b800e1bdbd 100644 --- a/ecrire/inc/editer_article.php +++ b/ecrire/inc/editer_article.php @@ -131,7 +131,10 @@ function inc_editer_article($row, $lier_trad, $new, $champs_article) { aide("raccourcis") . $sup . ($spip_display==4 ? '' : afficher_barre('document.formulaire.texte')) . - "<textarea id='text_area' name='texte'$att_text>$texte</textarea>\n" . + "<textarea id='text_area' name='texte'$att_text>$texte</textarea>\n" + ."<script type='text/javascript'><!--\njQuery(hauteurTextarea);\n//--></script>\n" + + . ((($articles_ps AND $options == "avancees") OR strlen($ps)) ? ("\n</p><p><b>" . _T('info_post_scriptum') ."</b><br />" . "<textarea name='ps' class='forml' rows='5' cols='40'>" . $ps . "</textarea>\n") :