From 64030993c39700cedcb6a16e727fa34ad482798d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 13 Jul 2006 16:18:46 +0000 Subject: [PATCH] Look: Tous les champs de soumission de fichiers utilisent la limite $conf->maxfilesize --- htdocs/boutique/livre/fiche.php | 4 ++-- htdocs/comm/action/document.php | 4 ++-- htdocs/comm/propal/document.php | 4 ++-- htdocs/compta/facture/document.php | 4 ++-- htdocs/compta/prelevement/fiche.php | 3 ++- htdocs/docsoc.php | 4 ++-- htdocs/fourn/facture/document.php | 2 +- htdocs/fourn/product/photos.php | 2 +- htdocs/product/document.php | 4 ++-- htdocs/product/photos.php | 2 +- htdocs/telephonie/ligne/commande/retour/index.php | 2 +- 11 files changed, 18 insertions(+), 17 deletions(-) diff --git a/htdocs/boutique/livre/fiche.php b/htdocs/boutique/livre/fiche.php index ab2bbcf3e22..15ce078ee7c 100644 --- a/htdocs/boutique/livre/fiche.php +++ b/htdocs/boutique/livre/fiche.php @@ -316,8 +316,8 @@ else print 'Vignette'; echo '
'; - print ''; - print '
'; + print ''; + print '
'; print ''; print '
'; print '
'; diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 52600ea1b0c..155f4164890 100755 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -191,8 +191,8 @@ if ($_GET["id"] > 0) print ''; print '
'; - print ''; - print ''; + print ''; + print ''; print '   '; print ''; diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 91aeb06a15d..7635571c69a 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -171,8 +171,8 @@ if ($propalid > 0) print ''; print '
'; - print ''; - print ''; + print ''; + print ''; print '   '; print ''; diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index d4b964d6c7f..7e5ad04eb48 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -173,8 +173,8 @@ if ($facid > 0) print ''; print ''; print ''; print '
'; - print ''; - print ''; + print ''; + print ''; print '   '; print ''; diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php index 5740b5188f5..953f6606f5d 100644 --- a/htdocs/compta/prelevement/fiche.php +++ b/htdocs/compta/prelevement/fiche.php @@ -196,7 +196,8 @@ if ($_GET["id"]) print $html->select_array("methode",$bon->methodes_trans); print '
Fichier'; - print '
'; + print ''; + print '
'; print '
'; print ''; diff --git a/htdocs/docsoc.php b/htdocs/docsoc.php index 45a86f5ee7b..cb9ec343892 100644 --- a/htdocs/docsoc.php +++ b/htdocs/docsoc.php @@ -175,8 +175,8 @@ if ($socid > 0) print ''; print '
'; - print ''; - print ''; + print ''; + print ''; print '   '; print ''; diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index d6753cc2d08..fa611cc0d39 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -165,7 +165,7 @@ if ($facid > 0) print '
'; print ''; print '
'; - print ''; + print ''; print ''; print '   '; print ''; diff --git a/htdocs/fourn/product/photos.php b/htdocs/fourn/product/photos.php index f97fd35e366..efb14a23974 100644 --- a/htdocs/fourn/product/photos.php +++ b/htdocs/fourn/product/photos.php @@ -123,7 +123,7 @@ if ($_GET["id"]) print_titre($langs->trans("AddPhoto")); print ''; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 43a36a1f53e..d59598dac03 100755 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -255,8 +255,8 @@ if ($product->id) print '
'.$langs->trans("File").'
'; print '
'; - print ''; - print ''; + print ''; + print ''; print '   '; print ''; diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php index 82bc1e904e6..5d1d58410f1 100644 --- a/htdocs/product/photos.php +++ b/htdocs/product/photos.php @@ -242,7 +242,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''; print ''; - print ''; + print ''; print '
'.$langs->trans("File").' ('.$langs->trans("Size").' <= '.$conf->maxfilesize.')
'; print '   '; diff --git a/htdocs/telephonie/ligne/commande/retour/index.php b/htdocs/telephonie/ligne/commande/retour/index.php index 2580d986f45..0e6a7ae67cd 100644 --- a/htdocs/telephonie/ligne/commande/retour/index.php +++ b/htdocs/telephonie/ligne/commande/retour/index.php @@ -103,7 +103,7 @@ else print '
'; print ''; -print ''; +print ''; print ''; print '';
Charger un fichier de retour