浏览代码

fix holiday page titles

Christian Foellmann 3 年之前
父节点
当前提交
156f1e7e2a
共有 3 个文件被更改,包括 3 次插入4 次删除
  1. 1 1
      htdocs/holiday/card.php
  2. 1 2
      htdocs/holiday/document.php
  3. 1 1
      htdocs/holiday/info.php

+ 1 - 1
htdocs/holiday/card.php

@@ -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);

+ 1 - 2
htdocs/holiday/document.php

@@ -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);
 

+ 1 - 1
htdocs/holiday/info.php

@@ -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);