diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index 34a673335f800..4f9871fee5aa8 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -1542,6 +1542,10 @@ function refreshNatureCss() {
print '
'.$form->editfieldkey('Fax', 'fax', '', $object, 0).' | ';
print 'browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning_fax', 'class="pictofixedwidth"').' | ';
+ // URL
+ print ''.$form->editfieldkey('Web', 'url', '', $object, 0).' | ';
+ print ''.img_picto('', 'globe', 'class="pictofixedwidth"').' |
';
+
// Email
print ''.$form->editfieldkey('EMail', 'email', '', $object, 0, 'string', '', getDolGlobalString('SOCIETE_EMAIL_MANDATORY')).' | ';
print 'browser->layout == 'phone') || !isModEnabled('mailing') ? ' colspan="3"' : '').'>'.img_picto('', 'object_email', 'class="pictofixedwidth"').' | ';
@@ -1590,10 +1594,6 @@ function refreshNatureCss() {
print '
';
}
- // URL
- print ''.$form->editfieldkey('Web', 'url', '', $object, 0).' | ';
- print ''.img_picto('', 'globe', 'class="pictofixedwidth"').' |
';
-
// Social networks
if (isModEnabled('socialnetworks')) {
$colspan = ($conf->browser->layout == 'phone' ? 2 : 4);
@@ -2176,7 +2176,7 @@ function init_supplier_categ() {
// Nature of thirdparty
$selectedprospect = (GETPOSTISSET('prospect') ? GETPOSTINT('prospect') : $selectedprospect);
$selectedcustomer = (GETPOSTISSET('customer') ? GETPOSTINT('customer') : $selectedcustomer);
- print ''.$form->editfieldkey('NatureOfThirdParty', 'customerprospect', '', $object, 0, 'string', '', 0).' | ';
+ print '
'.$form->editfieldkey('', 'customerprospect', '', $object, 0, 'string', '', 0).' | ';
print '';
print '';
@@ -2263,7 +2263,7 @@ function refreshNatureCss() {
print ' |
';
$colspan = ($conf->browser->layout == 'phone' ? 2 : 4);
- print '
|
';
+ print ' |
';
// Address
print ''.$form->editfieldkey('Address', 'address', '', $object, 0).' | ';
@@ -2326,13 +2326,16 @@ function refreshNatureCss() {
// EMail
print '
'.$form->editfieldkey('EMail', 'email', GETPOST('email', 'alpha'), $object, 0, 'string', '', (getDolGlobalString('SOCIETE_EMAIL_MANDATORY'))).' | ';
- print '';
+ print ' | browser->layout == 'phone') || !isModEnabled('mailing') ? ' colspan="3"' : '').'>';
print img_picto('', 'object_email', 'class="pictofixedwidth"');
print '';
- print ' |
';
+ print '';
// Unsubscribe
if (isModEnabled('mailing')) {
+ if ($conf->browser->layout == 'phone') {
+ print '';
+ }
if ($conf->use_javascript_ajax && getDolGlobalInt('MAILING_CONTACT_DEFAULT_BULK_STATUS') == 2) {
print "\n".'