Fix look and feel v6

This commit is contained in:
Laurent Destailleur 2017-07-31 12:43:07 +02:00
parent 2f9f9ac80d
commit 97e694f4d9

View File

@ -70,12 +70,12 @@ if (empty($reshook)) {
$result = $ldap->update($dn, $info, $user, $olddn); $result = $ldap->update($dn, $info, $user, $olddn);
if ($result >= 0) if ($result >= 0)
{ {
setEventMessages($langs->trans("UserSynchronized"), null, 'mesgs'); setEventMessages($langs->trans("UserSynchronized"), null, 'mesgs');
$db->commit(); $db->commit();
} }
else else
{ {
setEventMessages($ldap->error, $ldap->errors, 'errors'); setEventMessages($ldap->error, $ldap->errors, 'errors');
$db->rollback(); $db->rollback();
@ -104,6 +104,7 @@ if ($user->rights->user->user->lire || $user->admin) {
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin); dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>'; print '<div class="underbanner clearboth"></div>';
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
@ -128,7 +129,7 @@ if ($conf->global->LDAP_SERVER_TYPE == "activedirectory")
{ {
$userSID = $ldap->getObjectSid($object->login); $userSID = $ldap->getObjectSid($object->login);
} }
print '<tr><td width="25%" valign="top">'.$langs->trans("SID").'</td>'; print '<tr><td class="valigntop">'.$langs->trans("SID").'</td>';
print '<td>'.$userSID.'</td>'; print '<td>'.$userSID.'</td>';
print "</tr>\n"; print "</tr>\n";
} }
@ -150,6 +151,8 @@ print '</table>';
print '</div>'; print '</div>';
dol_fiche_end();
/* /*
* Barre d'actions * Barre d'actions
*/ */