Update of /home/spip-cvs/spip/ecrire
In directory alan:/tmp/cvs-serv3441/ecrire
Modified Files:
inc_documents.php3
Log Message:
modifier le descriptif des documents
Index: inc_documents.php3
RCS file: /home/spip-cvs/spip/ecrire/inc_documents.php3,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- a/inc_documents.php3 15 Apr 2004 19:09:31 -0000 1.102
+++ b/inc_documents.php3 20 Apr 2004 21:45:27 -0000 1.103
@@ -728,17 +728,20 @@
echo "</SELECT><br />";
}
- if ($options == "avancees" AND ($type_inclus == "embed" OR $type_inclus == "image")) {
+ if ($options == "avancees") {
echo "<b>"._T('info_description')."</b><br />\n";
echo "<textarea name='descriptif_document' rows='4' class='forml' style='font-size:10px;' cols='*' wrap='soft'>";
echo entites_html($descriptif);
echo "</textarea>\n";
+ } else {
+ echo "<input type='hidden' name='descriptif_document' value='".entites_html($descriptif)."' />\n";
+ }
+ if ($type_inclus == "embed" OR $type_inclus == "image") {
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";
}