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
48c77d2c
Commit
48c77d2c
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: [ bug #1312 ] Call to undefined function _()
parent
1fad6938
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/opensurvey/public/choix_autre.php
+4
-4
4 additions, 4 deletions
htdocs/opensurvey/public/choix_autre.php
with
4 additions
and
4 deletions
htdocs/opensurvey/public/choix_autre.php
+
4
−
4
View file @
48c77d2c
...
...
@@ -185,19 +185,19 @@ if ($testremplissage != "ok" && (isset($_POST["fin_sondage_autre"]) || isset($_P
//message d'erreur si mauvaise date
if
(
$testdate
===
false
)
{
print
"<br><font color=
\"
#FF0000
\"
>"
.
_
(
"Date must be have the format DD/MM/YYYY"
)
.
"</font><br><br>"
.
"
\n
"
;
print
"<br><font color=
\"
#FF0000
\"
>"
.
$langs
->
trans
(
"Date must be have the format DD/MM/YYYY"
)
.
"</font><br><br>"
.
"
\n
"
;
}
if
(
$erreur_injection
)
{
print
"<font color=#FF0000>"
.
_
(
"Characters
\"
< and > are not permitted"
)
.
"</font><br><br>
\n
"
;
print
"<font color=#FF0000>"
.
$langs
->
trans
(
"Characters
\"
< and > are not permitted"
)
.
"</font><br><br>
\n
"
;
}
if
((
isset
(
$_POST
[
"fin_sondage_autre"
])
||
isset
(
$_POST
[
"fin_sondage_autre_x"
]))
&&
!
$erreur
&&
!
$erreur_injection
)
{
//demande de la date de fin du sondage
print
'<br>'
.
"
\n
"
;
print
'<div class=presentationdatefin>'
.
"
\n
"
;
print
'<br>'
.
_
(
"Your poll will be automatically removed after 6 months.<br> You can fix another removal date for it."
)
.
'<br><br>'
.
"
\n
"
;
print
_
(
"Removal date (optional)"
)
.
' : <input type="text" name="champdatefin" value="'
.
$date_selected
.
'" size="10" maxlength="10"> '
.
_
(
"(DD/MM/YYYY)"
)
.
"
\n
"
;
print
'<br>'
.
$langs
->
trans
(
"Your poll will be automatically removed after 6 months.<br> You can fix another removal date for it."
)
.
'<br><br>'
.
"
\n
"
;
print
$langs
->
trans
(
"Removal date (optional)"
)
.
' : <input type="text" name="champdatefin" value="'
.
$date_selected
.
'" size="10" maxlength="10"> '
.
$langs
->
trans
(
"(DD/MM/YYYY)"
)
.
"
\n
"
;
print
'</div>'
.
"
\n
"
;
print
'<div class=presentationdatefin>'
.
"
\n
"
;
print
'<font color=#FF0000>'
.
$langs
->
trans
(
"InfoAfterCreate"
)
.
'</font>'
.
"
\n
"
;
...
...
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