diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index 1c2053df794..ea6ef4d0530 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -622,9 +622,14 @@ else
// Name
print '
| ';
- print 'lastname).'" autofocus="autofocus"> | ';
- print ' | ';
- print 'firstname).'"> |
';
+ print 'lastname).'" autofocus="autofocus"> | ';
+ print '';
+
+ print '';
+ print ' | ';
+ print 'firstname).'"> | ';
+ print '
';
// Company
if (empty($conf->global->SOCIETE_DISABLE_CONTACTS))
@@ -715,19 +720,24 @@ else
// Phone / Fax
print '| '.img_picto('', 'object_phoning').' '.$form->editfieldkey('PhonePro', 'phone_pro', '', $object, 0).' | ';
print ' | ';
+ if ($conf->browser->layout == 'phone') print '
';
print '| '.img_picto('', 'object_phoning').' '.$form->editfieldkey('PhonePerso', 'phone_perso', '', $object, 0).' | ';
print ' |
';
print '| '.img_picto('', 'object_phoning_mobile').' '.$form->editfieldkey('PhoneMobile', 'phone_mobile', '', $object, 0).' | ';
print ' | ';
+ if ($conf->browser->layout == 'phone') print '
';
print '| '.img_picto('', 'object_phoning_fax').' '.$form->editfieldkey('Fax', 'fax', '', $object, 0).' | ';
- print ' |
';
+ print ' | ';
+ print '';
if (($objsoc->typent_code == 'TE_PRIVATE' || !empty($conf->global->CONTACT_USE_COMPANY_ADDRESS)) && dol_strlen(trim($object->email)) == 0) $object->email = $objsoc->email; // Predefined with third party
// Email
print '| '.img_picto('', 'object_email').' '.$form->editfieldkey('EMail', 'email', '', $object, 0, 'string', '').' | ';
print ' | ';
+ print '
';
+
if (!empty($conf->mailing->enabled))
{
$noemail = '';
@@ -743,12 +753,10 @@ else
}
}
+ print '';
print ' | ';
print ''.$form->selectyesno('no_email', (GETPOSTISSET("no_email") ?GETPOST("no_email", 'alpha') : $noemail), 1).' | ';
- }
- else
- {
- print ' | ';
+ print '
';
}
print '';
@@ -842,7 +850,7 @@ else
print '";