Index: admin/editsurveysettings.php =================================================================== --- admin/editsurveysettings.php (révision 10117) +++ admin/editsurveysettings.php (copie de travail) @@ -1035,17 +1035,17 @@ // The external button to submit Survey edit changes if ($action == "newsurvey") { - $cond = "if (isEmpty(document.getElementById(\"surveyls_title\"), \"" . $clang->gT("Error: You have to enter a title for this survey.", 'js') . "\"))"; - $editsurvey .= "

\n"; + $cond = "if (isEmpty(document.getElementById('surveyls_title'), '" . $clang->gT("Error: You have to enter a title for this survey.", 'js') . "'))"; + $editsurvey .= "

\n"; } elseif ($action == "editsurveysettings") { - $cond = "if (UpdateLanguageIDs(mylangs,\"" . $clang->gT("All questions, answers, etc for removed languages will be lost. Are you sure?", "js") . "\"))"; + $cond = "if (UpdateLanguageIDs(mylangs,'" . $clang->gT("All questions, answers, etc for removed languages will be lost. Are you sure?", "js") . "'))"; if (bHasSurveyPermission($surveyid,'surveysettings','update')) { - $editsurvey .= "

\n"; + $editsurvey .= "

\n"; } if (bHasSurveyPermission($surveyid,'surveylocale','read')) { - $editsurvey .= "

\n"; + $editsurvey .= "

\n"; } } }