From 48c77d2cebd014d4002968aab489c092cdaa7187 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Apr 2014 10:48:20 +0200 Subject: [PATCH] Fix: [ bug #1312 ] Call to undefined function _() --- htdocs/opensurvey/public/choix_autre.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/opensurvey/public/choix_autre.php b/htdocs/opensurvey/public/choix_autre.php index e120bd7ec20..47dca9d7cae 100644 --- a/htdocs/opensurvey/public/choix_autre.php +++ b/htdocs/opensurvey/public/choix_autre.php @@ -185,19 +185,19 @@ if ($testremplissage != "ok" && (isset($_POST["fin_sondage_autre"]) || isset($_P //message d'erreur si mauvaise date if ($testdate === false) { - print "
" . _("Date must be have the format DD/MM/YYYY") . "

"."\n"; + print "
" . $langs->trans("Date must be have the format DD/MM/YYYY") . "

"."\n"; } if ($erreur_injection) { - print "" . _("Characters \" < and > are not permitted") . "

\n"; + print "" . $langs->trans("Characters \" < and > are not permitted") . "

\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 '
'."\n"; print '
'."\n"; - print '
'. _("Your poll will be automatically removed after 6 months.
You can fix another removal date for it.") .'

'."\n"; - print _("Removal date (optional)") .' : '. _("(DD/MM/YYYY)") ."\n"; + print '
'. $langs->trans("Your poll will be automatically removed after 6 months.
You can fix another removal date for it.") .'

'."\n"; + print $langs->trans("Removal date (optional)") .' : '. $langs->trans("(DD/MM/YYYY)") ."\n"; print '
'."\n"; print '
'."\n"; print ''. $langs->trans("InfoAfterCreate") .''."\n";