diff --git a/ecrire/inc_documents.php3 b/ecrire/inc_documents.php3 index 73716f533f56959cfcb447c55b52517a26eb3a5b..fafdc2897308c86bcc979a51b2a3eaf1472035c4 100644 --- a/ecrire/inc_documents.php3 +++ b/ecrire/inc_documents.php3 @@ -689,6 +689,10 @@ function afficher_horizontal_document($id_document, $image_link, $redirect_url = echo "<br /><b>"._T('info_dimension')."</b><br />\n"; echo "<input type='text' name='largeur_document' class='fondl' style='font-size:9px;' value=\"$largeur\" size='5'>"; echo " x <input type='text' name='hauteur_document' class='fondl' style='font-size:9px;' value=\"$hauteur\" size='5'> "._T('info_pixels'); + } else { + echo "<input type='hidden' name='descriptif_document' value='".entites_html($descriptif)."' />\n"; + echo "<input type='hidden' name='largeur_document' value=\"$largeur\" />\n"; + echo "<input type='hidden' name='hauteur_document' value=\"$hauteur\" />\n"; } echo "<div align='".$GLOBALS['spip_lang_right']."'>"; @@ -1025,7 +1029,7 @@ function afficher_case_document($id_document, $image_link, $redirect_url = "", $ if (strlen($descriptif) > 0) echo propre($descriptif)."<br />"; echo "<font size='2'>"; - if ($options == "avanceees") { + if ($options == "avancees") { if ($type_titre){ echo "$type_titre"; } else {