Modif esthétique mineure
This commit is contained in:
parent
c90de6af0c
commit
0ecd8eab43
@ -152,11 +152,19 @@ if ($socid > 0)
|
|||||||
if (defined('MAIN_UPLOAD_DOC') && MAIN_UPLOAD_DOC == 1)
|
if (defined('MAIN_UPLOAD_DOC') && MAIN_UPLOAD_DOC == 1)
|
||||||
{
|
{
|
||||||
echo '<form name="userfile" action="docsoc.php?socid='.$socid.'" enctype="multipart/form-data" METHOD="POST">';
|
echo '<form name="userfile" action="docsoc.php?socid='.$socid.'" enctype="multipart/form-data" METHOD="POST">';
|
||||||
|
|
||||||
|
print '<table class="noborder" width="100%">';
|
||||||
|
print '<tr><td width="50%" valign="top">';
|
||||||
|
|
||||||
print '<input type="hidden" name="max_file_size" value="2000000">';
|
print '<input type="hidden" name="max_file_size" value="2000000">';
|
||||||
print '<input type="file" name="userfile" size="40" maxlength="80">';
|
print '<input type="file" name="userfile" size="40" maxlength="80">';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<input type="submit" value="'.$langs->trans("Upload").'" name="sendit"> ';
|
print '<input type="submit" value="'.$langs->trans("Upload").'" name="sendit"> ';
|
||||||
print '<input type="submit" value="'.$langs->trans("Cancel").'" name="cancelit"><br>';
|
print '<input type="submit" value="'.$langs->trans("Cancel").'" name="cancelit"><br>';
|
||||||
|
|
||||||
|
print "</td></tr>";
|
||||||
|
print "</table>";
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -197,7 +205,7 @@ if ($socid > 0)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "<p>Impossible d'ouvrir : <b>".$upload_dir."</b>";
|
print "Impossible d'ouvrir : <b>".$upload_dir."</b>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user