diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 31be67d3719..d7bfc4c4e64 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -3778,7 +3778,7 @@ if ($action == 'create') { if (!getDolGlobalString('INVOICE_DISABLE_AUTOMATIC_RECURRING_INVOICE')) { $text .= ' '.$langs->trans("ToCreateARecurringInvoiceGeneAuto", $langs->transnoentitiesnoconv('Module2300Name')); } - print info_admin($text, 0, 0, '0', 'opacitymedium').'
'; + print info_admin($text, 0, 0, 'info', '').'
'; } print '
'; @@ -3826,8 +3826,8 @@ if ($action == 'create') { // Outstanding Bill $arrayoutstandingbills = $soc->getOutstandingBills(); $outstandingBills = $arrayoutstandingbills['opened']; - print ' - '.$langs->trans('CurrentOutstandingBill').': '; - print ''.price($outstandingBills, 0, $langs, 0, 0, -1, $conf->currency).''; + print ' - '.$langs->trans('CurrentOutstandingBill').': '; + print ''.price($outstandingBills, 0, $langs, 0, 0, -1, $conf->currency).''; if ($soc->outstanding_limit != '') { if ($outstandingBills > $soc->outstanding_limit) { print img_warning($langs->trans("OutstandingBillReached")); @@ -3864,7 +3864,7 @@ if ($action == 'create') { '; } if (!GETPOSTINT('fac_rec')) { - print ' '; + print ' '; } print ''; print ''."\n"; @@ -4272,7 +4272,7 @@ if ($action == 'create') { print $desc; print ''."\n"; - print ''; + print '
'; if (getDolGlobalString('INVOICE_USE_DEFAULT_DOCUMENT')) { // Hidden conf diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index f65db9e07ca..fb72eba8d02 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -5580,7 +5580,9 @@ abstract class CommonObject } print ''.$langs->trans('ReductionShort').''; print ''.$langs->trans('TotalHT').''; - print ''.$form->showCheckAddButtons('checkforselect', 1).''; + print ''; + print $form->showCheckAddButtons('checkforselect', 1); + print ''; print ''; $i = 0; diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index dc4e2f4636d..d009bb38c35 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6270,7 +6270,7 @@ function img_searchclear($titlealt = 'default', $other = '') * @param string $text Text info * @param integer $infoonimgalt Info is shown only on alt of star picto, otherwise it is show on output after the star picto * @param int $nodiv No div - * @param string $admin '1'=Info for admin users. '0'=Info for standard users (change only the look), 'error', 'warning', 'xxx'=Other + * @param string $admin '1'=Info for admin users. '0'=Info for standard users (change only the look), 'info', 'error', 'warning', 'xxx'=Other * @param string $morecss More CSS ('', 'warning', 'error') * @param string $textfordropdown Show a text to click to dropdown the info box. * @param string $picto '' or 'warning'