';
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 266a6e2fd9a..ee8b12f073f 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -1249,7 +1249,7 @@ class Form
if ($showempty && !is_numeric($showempty)) $textifempty = $langs->trans($showempty);
else $textifempty .= $langs->trans("All");
}
- if ($showempty) $out .= ''."\n";
+ if ($showempty) $out .= ''."\n";
$num = $this->db->num_rows($resql);
$i = 0;
@@ -1284,10 +1284,10 @@ class Form
if ($obj->client || $obj->fournisseur) $label .= ')';
}
- if ($conf->global->COMPANY_SHOW_ADDRESS_SELECTLIST) {
- $label .= '-'.$obj->address.'-'.$obj->zip.' '.$obj->town;
+ if (! empty($conf->global->COMPANY_SHOW_ADDRESS_SELECTLIST)) {
+ $label .= ($obj->address ? ' - '.$obj->address : '').($obj->zip ? ' - '.$obj->zip : '').($obj->town ? ' '.$obj->town : '');
if (!empty($obj->country_code)) {
- $label .= ' '.$langs->trans('Country'.$obj->country_code);
+ $label .= ', '.$langs->trans('Country'.$obj->country_code);
}
}
@@ -3274,6 +3274,7 @@ class Form
}
print '';
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
+ print ajax_combobox($htmlname);
}
/**
@@ -3357,6 +3358,7 @@ class Form
}
print '';
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
+ print ajax_combobox('select_'.$htmlname);
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
@@ -3706,6 +3708,8 @@ class Form
}
print "";
if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
+
+ print ajax_combobox('select'.$htmlname);
} else {
print $langs->trans("NoShippingMethodDefined");
}
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index e59a4c54f07..7a4aee9856a 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -2009,7 +2009,7 @@ DisabledResourceLinkContact=Disable feature to link a resource to contacts
EnableResourceUsedInEventCheck=Enable feature to check if a resource is in use in an event
ConfirmUnactivation=Confirm module reset
OnMobileOnly=On small screen (smartphone) only
-DisableProspectCustomerType=Disable the "Prospect + Customer" third party type (so third party must be Prospect or Customer but can't be both)
+DisableProspectCustomerType=Disable the "Prospect + Customer" third party type (so third party must be "Prospect" or "Customer", but can't be both)
MAIN_OPTIMIZEFORTEXTBROWSER=Simplify interface for blind person
MAIN_OPTIMIZEFORTEXTBROWSERDesc=Enable this option if you are a blind person, or if you use the application from a text browser like Lynx or Links.
MAIN_OPTIMIZEFORCOLORBLIND=Change interface's color for color blind person
diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php
index d27ebd79207..d61312dd8d1 100644
--- a/htdocs/societe/admin/societe.php
+++ b/htdocs/societe/admin/societe.php
@@ -800,22 +800,24 @@ if (!empty($conf->global->COMPANY_SHOW_ADDRESS_SELECTLIST))
print '';
print '';
-
-
-print '