From 2a10ff545bf6bda4d70b0773dd72a8fe4193907e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 3 Mar 2005 16:53:35 +0000 Subject: [PATCH] Debut ajout photo --- htdocs/product/fiche.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index f04d7f5c5b7..8184cf82f5b 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -530,12 +530,15 @@ else */ if ($_GET["action"] == 'ajout_photo' && $user->rights->produit->creer && $product->isproduct) { + $product->add_photo($conf->produit->dir_output); + $langs->load("suppliers"); print_titre($langs->trans("AddPhoto")); - print '
'; - print ''; - print ''; + + print ''; + print ''; + print ''; print ''; print '';
'.$langs->trans("File").'