diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php
index ee4465a4aee..419fabf9087 100644
--- a/htdocs/holiday/list.php
+++ b/htdocs/holiday/list.php
@@ -218,26 +218,13 @@ if ($id > 0)
$title = $langs->trans("User");
dol_fiche_head($head, 'paidholidays', $title, 0, 'user');
- print '
';
-
- // Ref
- print '| '.$langs->trans("Ref").' | ';
- print '';
- print $form->showrefnav($fuser,'id','',$user->rights->user->user->lire || $user->admin);
- print ' | ';
- print '
';
-
- // LastName
- print '| '.$langs->trans("LastName").' | ';
- print ''.$fuser->lastname.' | ';
- print "
\n";
-
- // FirstName
- print '| '.$langs->trans("FirstName").' | ';
- print ''.$fuser->firstname.' | ';
- print "
\n";
-
- print '
';
+ dol_banner_tab($fuser,'id','',$user->rights->user->user->lire || $user->admin);
+
+
+ print '';
+
+ print '
';
+
}
else
{
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 5457a6690df..425cb84bdb9 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -489,6 +489,7 @@ div.confirmmessage {
.maxwidth100 { max-width: 100px; }
.maxwidth200 { max-width: 200px; }
.maxwidth300 { max-width: 300px; }
+.titlefield { width: 25% }
.hideonsmartphone { display: none; }
.noenlargeonsmartphone { width : 50px !important; display: inline !important; }
@@ -496,6 +497,7 @@ div.confirmmessage {
.maxwidth100onsmartphone { max-width: 100px; }
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth300onsmartphone { max-width: 300px; }
+.titlefield { width: auto; }
.linkobject { cursor: pointer; }
diff --git a/htdocs/user/agenda_extsites.php b/htdocs/user/agenda_extsites.php
index cd38d7a2965..ea8c1978677 100644
--- a/htdocs/user/agenda_extsites.php
+++ b/htdocs/user/agenda_extsites.php
@@ -49,8 +49,8 @@ $colorlist=array('BECEDD','DDBECE','BFDDBE','F598B4','F68654','CBF654','A4A4A5')
// Security check
$id = GETPOST('id','int');
-$fuser = new User($db);
-$fuser->fetch($id);
+$object = new User($db);
+$object->fetch($id);
// Security check
$socid=0;
@@ -63,7 +63,7 @@ if ($user->id == $id) // A user can always read its own card
$result = restrictedArea($user, 'user', $id, 'user&user', $feature2);
// If user is not user that read and no permission to read other users, we stop
-if (($fuser->id != $user->id) && (! $user->rights->user->user->lire))
+if (($object->id != $user->id) && (! $user->rights->user->user->lire))
accessforbidden();
@@ -108,7 +108,7 @@ if ($actionsave)
if (! $error)
{
- $result=dol_set_user_param($db, $conf, $fuser, $tabparam);
+ $result=dol_set_user_param($db, $conf, $object, $tabparam);
if (! $result > 0) $error++;
}
@@ -141,10 +141,16 @@ llxHeader('',$langs->trans("UserSetup"),'','',0,0,$arrayofjs,$arrayofcss);
print '