From b036120c707bcd2562d8a9b2c2e0ae94b04d883f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 4 Mar 2013 23:56:17 +0100 Subject: [PATCH] Labels --- htdocs/core/modules/modHoliday.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/modHoliday.class.php b/htdocs/core/modules/modHoliday.class.php index bbce310b028..4abd87f3d40 100644 --- a/htdocs/core/modules/modHoliday.class.php +++ b/htdocs/core/modules/modHoliday.class.php @@ -133,14 +133,14 @@ class modHoliday extends DolibarrModules $r=0; $this->rights[$r][0] = 20001; // Permission id (must not be already used) - $this->rights[$r][1] = 'Créer / Modifier / Lire ses demandes de congés payés'; // Permission label + $this->rights[$r][1] = 'Lire/créer/modifier ses demandes de congés payés'; // Permission label $this->rights[$r][3] = 1; // Permission by default for new user (0/1) $this->rights[$r][4] = 'write'; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2) $this->rights[$r][5] = ''; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2) $r++; $this->rights[$r][0] = 20002; // Permission id (must not be already used) - $this->rights[$r][1] = 'Lire / Modifier toutes les demandes de congés payés'; // Permission label + $this->rights[$r][1] = 'Lire/créer/modifier toutes les demandes de congés payés'; // Permission label $this->rights[$r][3] = 0; // Permission by default for new user (0/1) $this->rights[$r][4] = 'lire_tous'; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2) $this->rights[$r][5] = ''; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2)