2717c2717 < global $help, $totalquestions, $surveyformat; --- > global $help, $totalquestions; 2727c2727,2735 < --- > $surveylang= $clang->langcode; > if (isset($thissurvey['format'])) > { > $surveyformat = str_replace(array("A","S","G"),array("allinone","questionbyquestion","groupbygroup"),$thissurvey['format']); > } > else > { > $surveyformat = "notsurvey"; > } 2769c2777,2779 < --- > if (strpos($line, "{SURVEYLANGAGE}") !== false) $line=str_replace("{SURVEYLANGAGE}", $surveylang, $line); > if (strpos($line, "{SURVEYFORMAT}") !== false) $line=str_replace("{SURVEYFORMAT}", $surveyformat, $line); >