fix holiday page titles

This commit is contained in:
Christian Foellmann 2021-10-28 11:00:12 +02:00
parent 97d97af932
commit 156f1e7e2a
3 changed files with 3 additions and 4 deletions

View File

@ -882,7 +882,7 @@ $object = new Holiday($db);
$listhalfday = array('morning'=>$langs->trans("Morning"), "afternoon"=>$langs->trans("Afternoon"));
$title = $langs->trans('CPTitreMenu');
$title = $langs->trans('Leave');
$help_url = 'EN:Module_Holiday';
llxHeader('', $title, $help_url);

View File

@ -137,8 +137,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
$form = new Form($db);
$listhalfday = array('morning'=>$langs->trans("Morning"), "afternoon"=>$langs->trans("Afternoon"));
$title = $langs->trans('InterventionCard');
$title = $langs->trans("Leave").' - '.$langs->trans("Files");
llxHeader('', $title);

View File

@ -78,7 +78,7 @@ $result = restrictedArea($user, 'holiday', $object->id, 'holiday');
$form = new Form($db);
$title = $langs->trans("Holiday")." - ".$langs->trans("Info");
$title = $langs->trans("Leave")." - ".$langs->trans("Info");
$helpurl = "";
llxHeader("", $title, $helpurl);