@@ 1226-1230 (lines=5) @@ | ||
1223 | $babBody->addItemMenu("lper", absences_translate("Requests"), absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
1224 | $babBody->addItemMenu("vunew", absences_translate("Edit"), absences_addon()->getUrl()."vacuser&idx=vunew&id=".$id."&rfrom=1"); |
|
1225 | } |
|
1226 | } else { |
|
1227 | // modification d'une demande par un agent |
|
1228 | $babBody->addItemMenu("lvreq", absences_translate("Requests"), absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
1229 | $babBody->addItemMenu("vunew", absences_translate("Edit"), absences_addon()->getUrl()."vacuser&idx=vunew&id=".$id); |
|
1230 | } |
|
1231 | } else { |
|
1232 | ||
1233 | if ($rfrom) |
|
@@ 1248-1252 (lines=5) @@ | ||
1245 | $babBody->addItemMenu("lper", absences_translate("Requests"), absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
1246 | $babBody->addItemMenu("vunew", absences_translate("Edit"), absences_addon()->getUrl()."vacuser&idx=vunew&rfrom=1"); |
|
1247 | } |
|
1248 | } else { |
|
1249 | // creation d'une demande par un agent |
|
1250 | $babBody->addItemMenu("lvreq", absences_translate("Requests"), absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
1251 | $babBody->addItemMenu("vunew", absences_translate("Request"), absences_addon()->getUrl()."vacuser&idx=vunew"); |
|
1252 | } |
|
1253 | ||
1254 | } |
|
1255 |