Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
5a05d4a4
Commit
5a05d4a4
authored
10 years ago
by
aspangaro
Browse files
Options
Downloads
Patches
Plain Diff
Untranslatable token Calendar in datepicker
parent
a81c4830
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/datepicker.php
+2
-1
2 additions, 1 deletion
htdocs/core/datepicker.php
with
2 additions
and
1 deletion
htdocs/core/datepicker.php
+
2
−
1
View file @
5a05d4a4
...
...
@@ -39,6 +39,7 @@ require_once '../main.inc.php';
if
(
GETPOST
(
'lang'
))
$langs
->
setDefaultLang
(
GETPOST
(
'lang'
));
// If language was forced on URL by the main.inc.php
$langs
->
load
(
"main"
);
$langs
->
load
(
"agenda"
);
$right
=
(
$langs
->
trans
(
"DIRECTION"
)
==
'rtl'
?
'left'
:
'right'
);
$left
=
(
$langs
->
trans
(
"DIRECTION"
)
==
'rtl'
?
'right'
:
'left'
);
...
...
@@ -57,7 +58,7 @@ if (GETPOST('mode') && GETPOST('mode') == 'test')
}
else
{
print
'<title>Calendar</title>'
;
print
'<title>
'
.
$langs
->
trans
(
"
Calendar
"
)
.
'
</title>'
;
}
// Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment