diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php
index e4c5437028b..f25dcb9e227 100644
--- a/htdocs/holiday/list.php
+++ b/htdocs/holiday/list.php
@@ -330,6 +330,18 @@ if ($id > 0) // For user tab
}
dol_fiche_end();
+
+ print '
';
+
+ $canedit=(($user->id == $user_id && $user->rights->holiday->write) || ($user->id != $user_id && $user->rights->holiday->write_all));
+
+ // Boutons d'actions
+ if ($canedit)
+ {
+ print '
'.$langs->trans("AddCP").'';
+ }
+
+ print '
';
}
else
{
@@ -348,8 +360,6 @@ else
}*/
}
-if ($id > 0) print '
';
-
if ($sall)
{
foreach($fieldstosearchall as $key => $val) $fieldstosearchall[$key]=$langs->trans($val);