Index: common_functions.php =================================================================== --- common_functions.php (revision 9992) +++ common_functions.php (working copy) @@ -3024,13 +3024,13 @@ } if (strpos($line, "{CLEARALL}") !== false) { - $clearall = "gT("Are you sure you want to clear all your responses?",'js')."')) {window.open('{$publicurl}/index.php?sid=$surveyid&move=clearall&lang=".$_SESSION['s_lang']; if (returnglobal('token')) { $clearall .= "&token=".urlencode(trim(sanitize_xss_string(strip_tags(returnglobal('token'))))); } - $clearall .= "', '_self')}\" />"; + $clearall .= "', '_self')}\" >".$clang->gT("Exit and Clear Survey").""; $line=str_replace("{CLEARALL}", $clearall, $line); @@ -3055,19 +3055,19 @@ { if($thissurvey['tokenanswerspersistence'] != 'Y') { - $saveall = "\t\t\t" - ."\n\t\t\t"; // Show Save So Far button + $saveall = "\t\t\t" + ."\n\t\t\t"; // Show Save So Far button } else { - $saveall= "\t\t\t"; // Show Save So Far button + $saveall= "\t\t\t"; // Show Save So Far button }; } elseif (!isset($_SESSION['step']) || !$_SESSION['step']) //First page, show LOAD { if($thissurvey['tokenanswerspersistence'] != 'Y') { - $saveall = "\t\t\t"; + $saveall = "\t\t\t"; } else { @@ -3080,7 +3080,7 @@ } else { - $saveall= ""; // Show Save So Far button + $saveall= ""; // Show Save So Far button } } else @@ -3219,7 +3219,7 @@ $saveform .="