Better responsive behaviour
This commit is contained in:
parent
8158d6c73e
commit
39ef32326f
@ -1072,14 +1072,15 @@ while ($i < $imaxinloop) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Phone
|
||||||
if (!empty($arrayfields['u.office_phone']['checked'])) {
|
if (!empty($arrayfields['u.office_phone']['checked'])) {
|
||||||
print '<td>'.dol_print_phone($obj->office_phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'phone')."</td>\n";
|
print '<td class="tdoverflowmax125">'.dol_print_phone($obj->office_phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'phone')."</td>\n";
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['u.user_mobile']['checked'])) {
|
if (!empty($arrayfields['u.user_mobile']['checked'])) {
|
||||||
print '<td>'.dol_print_phone($obj->user_mobile, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'mobile')."</td>\n";
|
print '<td class="tdoverflowmax125">'.dol_print_phone($obj->user_mobile, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'mobile')."</td>\n";
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
@ -1091,10 +1092,10 @@ while ($i < $imaxinloop) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['u.api_key']['checked'])) {
|
if (!empty($arrayfields['u.api_key']['checked'])) {
|
||||||
print '<td>';
|
print '<td class="tdoverflowmax125" title="'.dol_escape_htmltag($obj->api_key).'">';
|
||||||
if ($obj->api_key) {
|
if ($obj->api_key) {
|
||||||
if ($canreadsecretapi) {
|
if ($canreadsecretapi) {
|
||||||
print $obj->api_key;
|
print dol_escape_htmltag($obj->api_key);
|
||||||
} else {
|
} else {
|
||||||
print '<span class="opacitymedium">'.$langs->trans("Hidden").'</span>';
|
print '<span class="opacitymedium">'.$langs->trans("Hidden").'</span>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user