diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 50c8bf903fb..b0654b0567d 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -215,7 +215,7 @@ if ($id > 0) { $langs->load("compta"); - print ''; + print ''; print $langs->trans('CustomerCode').''; print $object->code_client; if ($object->check_codeclient() <> 0) print ' ('.$langs->trans("WrongCustomerCode").')'; @@ -300,8 +300,8 @@ if ($id > 0) // Conditions de reglement par defaut $langs->load('bills'); $form = new Form($db); - print ''; - print '
'; + print '
'; + print ''; diff --git a/htdocs/core/modules/DolibarrModules.class.php b/htdocs/core/modules/DolibarrModules.class.php index 3134ae4162a..f79ff5766b0 100644 --- a/htdocs/core/modules/DolibarrModules.class.php +++ b/htdocs/core/modules/DolibarrModules.class.php @@ -1261,6 +1261,8 @@ abstract class DolibarrModules { foreach($this->module_parts as $key => $value) { + if (is_array($value) && count($value) == 0) continue; // Discard empty arrays + $newvalue = $value; // Serialize array parameters diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 52c82c86b69..b82662dcd6e 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1015,7 +1015,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs foreach($filescss as $cssfile) { // cssfile is a relative path - print ''."\n".''."\n"; diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index 58f468298ad..21d98fbd64c 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -70,6 +70,7 @@ if (GETPOST("button_removefilter")) $thirdTypeSelect = GETPOST("third_select_id"); $type_element = GETPOST('type_element')?GETPOST('type_element'):'invoice'; +$langs->load("companies"); $langs->load("bills"); $langs->load("orders"); $langs->load("suppliers"); diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 9b7020700e3..39a9292531c 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -952,10 +952,11 @@ div.blockvmenusearch background-image: linear-gradient(bottom, rgb() 90%, rgb() 100%); - border-left: 1px solid #CCCCCC; - border-right: 1px solid #BBBBBB; - border-bottom: 1px solid #BBBBBB; - border-radius: 5px; + border-left: 1px solid #DDDDDD; + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + border-top: 1px solid #E8E8E8; + border-radius: 5px; -moz-border-radius: 5px; -moz-box-shadow: 4px 4px 4px #DDD; -webkit-box-shadow: 4px 4px 4px #DDD;
'; print $langs->trans('PaymentConditions'); print ''; if (($action != 'editconditions') && $user->rights->societe->creer) print 'id.'">'.img_edit($langs->trans('SetConditions'),1).'