dolibarr
25.0.0-alpha
Main Page
Related Pages
Topics
Classes
Files
Examples
File List
File Members
dolibarr_dev
htdocs
projet
jsgantt_language.js.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
3
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
4
* Copyright (C) 2026 MDW <mdeweerd@users.noreply.github.com>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
25
if
(!defined(
'NOREQUIRESOC'
)) {
26
define(
'NOREQUIRESOC'
,
'1'
);
27
}
28
if
(!defined(
'NOCSRFCHECK'
)) {
29
define(
'NOCSRFCHECK'
, 1);
30
}
31
if
(!defined(
'NOTOKENRENEWAL'
)) {
32
define(
'NOTOKENRENEWAL'
, 1);
33
}
34
if
(!defined(
'NOLOGIN'
)) {
35
define(
'NOLOGIN'
, 1);
36
}
37
if
(!defined(
'NOREQUIREMENU'
)) {
38
define(
'NOREQUIREMENU'
, 1);
39
}
40
if
(!defined(
'NOREQUIREHTML'
)) {
41
define(
'NOREQUIREHTML'
, 1);
42
}
43
if
(!defined(
'NOREQUIREAJAX'
)) {
44
define(
'NOREQUIREAJAX'
,
'1'
);
45
}
46
47
require_once __DIR__.
'/../main.inc.php'
;
48
57
// Define mime type
58
top_httphead
(
'text/javascript'
);
59
60
global $langs;
61
$langs->load(
"projects"
);
62
?>
63
64
var vLangs={
'<?php print $langs->getDefaultLang(1); ?>'
:
65
{
66
'format'
:
'<?php print $langs->transnoentities('
Period
'); ?>'
,
'hour'
:
'"<?php print $langs->transnoentities('
Hour
'); ?>'
,
'day'
:
'<?php print $langs->transnoentities('
Day
'); ?>'
,
67
'week'
:
'<?php print $langs->transnoentities('
Week
'); ?>'
,
'month'
:
'<?php print $langs->transnoentities('
Month
'); ?>'
,
'quarter'
:
'<?php print $langs->transnoentities('
Quadri
'); ?>'
,
68
'hours'
:
'<?php print $langs->transnoentities('
Hours
'); ?>'
,
'days'
:
'<?php print $langs->transnoentities('
Days
'); ?>'
,
'weeks'
:
'<?php print $langs->transnoentities('
Weeks
'); ?>'
,
69
'months'
:
'<?php print $langs->transnoentities('
Months
'); ?>'
,
'quarters'
:
'<?php print $langs->transnoentities('
Quadri
'); ?>'
,
'hr'
:
'Hr'
,
'dy'
:
'<?php print $langs->transnoentities('
Day
'); ?>'
,
'wk'
:
'<?php print $langs->transnoentities('
Week
'); ?>'
,
'mth'
:
'<?php print $langs->transnoentities('
Month
'); ?>'
,
'qtr'
:
'<?php print $langs->transnoentities('
Quadri
'); ?>'
,
'hrs'
:
'<?php print $langs->transnoentities('
Hours
'); ?>'
,
70
'dys'
:
'<?php print $langs->transnoentities('
Days
'); ?>'
,
'wks'
:
'<?php print $langs->transnoentities('
Weeks
'); ?>'
,
'mths'
:
'<?php print $langs->transnoentities('
Months
'); ?>'
,
'qtrs'
:
'<?php print $langs->transnoentities('
Quadri
'); ?>'
,
'resource'
:<?php print
"'"
.dol_escape_js($langs->transnoentities(
'Resource'
)).
"'"
; ?>,
'duration'
:<?php print
"'"
.dol_escape_js($langs->transnoentities(
'Duration'
)).
"'"
; ?>,
'comp'
:
'%'
,
71
'completion'
:
'<?php print $langs->transnoentities('
Total
'); ?>'
,
'startdate'
:
'<?php print $langs->transnoentities('
DateStart
'); ?>'
,
'enddate'
:
'<?php print $langs->transnoentities('
DateEnd
'); ?>'
,
'moreinfo'
:<?php print
"'"
.dol_escape_js($langs->transnoentities(
'ShowTask'
)).
"'"
; ?>,
72
'notes'
:
'<?php print $langs->transnoentities('
NotePublic
'); ?>'
,
73
'january'
:
'<?php print $langs->transnoentities('
January
'); ?>'
,
'february'
:
'<?php print $langs->transnoentities('
February
'); ?>'
,
'march'
:
'<?php print $langs->transnoentities('
March
'); ?>'
,
'april'
:
'<?php print $langs->transnoentities('
April
'); ?>'
,
'maylong'
:
'<?php print $langs->transnoentities('
May
'); ?>'
,
'june'
:
'<?php print $langs->transnoentities('
June
'); ?>'
,
'july'
:
'<?php print $langs->transnoentities('
July
'); ?>'
,
74
'august'
:
'<?php print $langs->transnoentities('
August
'); ?>'
,
'september'
:
'<?php print $langs->transnoentities('
September
'); ?>'
,
'october'
:
'<?php print $langs->transnoentities('
October
'); ?>'
,
'november'
:
'<?php print $langs->transnoentities('
November
'); ?>'
,
'december'
:
'<?php print $langs->transnoentities('
December
'); ?>'
,
75
'jan'
:
'<?php print $langs->transnoentities('
MonthShort01
'); ?>'
,
'feb'
:
'<?php print $langs->transnoentities('
MonthShort02
'); ?>'
,
'mar'
:
'<?php print $langs->transnoentities('
MonthShort03
'); ?>'
,
'apr'
:
'<?php print $langs->transnoentities('
MonthShort04
'); ?>'
,
'may'
:
'<?php print $langs->transnoentities('
MonthShort05
'); ?>'
,
'jun'
:
'<?php print $langs->transnoentities('
MonthShort06
'); ?>'
,
'jul'
:
'<?php print $langs->transnoentities('
MonthShort07
'); ?>'
,
76
'aug'
:
'<?php print $langs->transnoentities('
MonthShort08
'); ?>'
,
'sep'
:
'<?php print $langs->transnoentities('
MonthShort09
'); ?>'
,
'oct'
:
'<?php print $langs->transnoentities('
MonthShort10
'); ?>'
,
'nov'
:
'<?php print $langs->transnoentities('
MonthShort11
'); ?>'
,
'dec'
:
'<?php print $langs->transnoentities('
MonthShort12
'); ?>'
,
77
'sunday'
:
'<?php print $langs->transnoentities('
Sunday
'); ?>'
,
'monday'
:
'<?php print $langs->transnoentities('
Monday
'); ?>'
,
'tuesday'
:
'<?php print $langs->transnoentities('
Tuesday
'); ?>'
,
'wednesday'
:
'<?php print $langs->transnoentities('
Wednesday
'); ?>'
,
'thursday'
:
'<?php print $langs->transnoentities('
Thursday
'); ?>'
,
'friday'
:
'<?php print $langs->transnoentities('
Friday
'); ?>'
,
'saturday'
:
'<?php print $langs->transnoentities('
Saturday
'); ?>'
,
78
'sun'
:
'<?php print $langs->transnoentities('
SundayMin
'); ?>'
,
'mon'
:
'<?php print $langs->transnoentities('
MondayMin
'); ?>'
,
'tue'
:
'<?php print $langs->transnoentities('
TuesdayMin
'); ?>'
,
'wed'
:
'<?php print $langs->transnoentities('
WednesdayMin
'); ?>'
,
'thu'
:
'<?php print $langs->transnoentities('
ThursdayMin
'); ?>'
,
'fri'
:
'<?php print $langs->transnoentities('
FridayMin
'); ?>'
,
'sat'
:
'<?php print $langs->transnoentities('
SaturdayMin
'); ?>'
79
}
80
}
81
var vLang=
'<?php print $langs->getDefaultLang(1); ?>'
;
82
<?php
83
if
(is_object($db)) {
84
$db->close();
85
}
top_httphead
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
Definition
main.inc.php:1572
Generated on Thu Oct 1 2026 01:00:28 for
dolibarr
by Doxygen 1.11.0