Fix look and feel v16
This commit is contained in:
parent
f4b7b0d060
commit
13df3747d0
@ -1406,7 +1406,11 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
if ($action != 'edit') {
|
if ($action != 'edit') {
|
||||||
print dol_get_fiche_head($head, 'user', $title, -1, 'user');
|
print dol_get_fiche_head($head, 'user', $title, -1, 'user');
|
||||||
|
|
||||||
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
|
$morehtmlref = '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'" class="refid">';
|
||||||
|
$morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard"), 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"');
|
||||||
|
$morehtmlref .= '</a>';
|
||||||
|
|
||||||
|
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin, 'rowid', 'ref', $morehtmlref);
|
||||||
|
|
||||||
print '<div class="fichecenter">';
|
print '<div class="fichecenter">';
|
||||||
print '<div class="fichehalfleft">';
|
print '<div class="fichehalfleft">';
|
||||||
@ -1714,15 +1718,6 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
print dol_htmlentitiesbr($object->signature);
|
print dol_htmlentitiesbr($object->signature);
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
|
|
||||||
// VCard
|
|
||||||
print '<tr><td>'.$langs->trans("VCard").'</td>';
|
|
||||||
print '<td>';
|
|
||||||
print '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'">';
|
|
||||||
print img_picto($langs->trans("Download"), 'vcard.png', 'class="paddingrightonly"');
|
|
||||||
print $langs->trans("Download");
|
|
||||||
print '</a>';
|
|
||||||
print "</td></tr>\n";
|
|
||||||
|
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
// Credentials
|
// Credentials
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user