From d3f29649d576d386772113c7f9aacd9f24dc2331 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Apr 2013 01:23:33 +0200 Subject: [PATCH] Fix into div/br --- htdocs/comm/propal.php | 2 +- htdocs/commande/fiche.php | 4 ++-- htdocs/compta/facture.php | 5 +---- htdocs/fourn/commande/fiche.php | 2 ++ htdocs/fourn/facture/fiche.php | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index b2cae60f115..1ec2c7b258b 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -2119,8 +2119,8 @@ else } print ''; - print "
\n"; } + print "
\n"; if ($action != 'presend') { diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index b8658408e48..3dde52a460c 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -2307,7 +2307,7 @@ else /* * Boutons actions - */ + */ if ($action != 'presend') { if ($user->societe_id == 0 && $action <> 'editline') @@ -2435,8 +2435,8 @@ else print ''; } - print '
'; } + print '
'; if ($action != 'presend') diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 76ecaa5b1ad..53e839e0241 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3440,7 +3440,7 @@ else if ($id > 0 || ! empty($ref)) print ''; } } - + print '
'; if ($action != 'prerelance' && $action != 'presend') { @@ -3457,7 +3457,6 @@ else if ($id > 0 || ! empty($ref)) $genallowed=$user->rights->facture->creer; $delallowed=$user->rights->facture->supprimer; - print '
'; print $formfile->showdocuments('facture',$filename,$filedir,$urlsource,$genallowed,$delallowed,$object->modelpdf,1,0,0,28,0,'','','',$soc->default_lang); $somethingshown=$formfile->numoffiles; @@ -3476,8 +3475,6 @@ else if ($id > 0 || ! empty($ref)) print '
'; //print ''; - print '
'; - // List of actions on element include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php'; $formactions=new FormActions($db); diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index a97148ab531..653397cfaf5 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -1762,6 +1762,8 @@ elseif (! empty($object->id)) print "
"; } + print "
"; + print '
'; //print '
'; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 3c9b268e492..6ed624b82fa 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -2054,10 +2054,11 @@ else print ''.$langs->trans('Delete').''; } print ''; + print '
'; if ($action != 'edit') { - print '
'; + print '
'; //print '
'; //print ''; // ancre @@ -2073,7 +2074,6 @@ else $delallowed=$user->rights->fournisseur->facture->supprimer; $modelpdf=(! empty($object->modelpdf)?$object->modelpdf:(empty($conf->global->INVOICE_SUPPLIER_ADDON_PDF)?'':$conf->global->INVOICE_SUPPLIER_ADDON_PDF)); - print '
'; print $formfile->showdocuments('facture_fournisseur',$subdir,$filedir,$urlsource,$genallowed,$delallowed,$modelpdf,1,0,0,0,0,'','','',$societe->default_lang); $somethingshown=$formfile->numoffiles;