\n
\n"; $activateoutput .= "
".$clang->gT("Activate Survey")." ($surveyid)
\n"; $activateoutput .= "
\n".$clang->gT("Error")."
\n"; $activateoutput .= $clang->gT("Survey does not pass consistency check")."
\n"; $activateoutput .= "

\n"; $activateoutput .= "".$clang->gT("The following problems have been found:")."
\n"; $activateoutput .= "

\n"; $activateoutput .= $clang->gT("The survey cannot be activated until these problems have been resolved.")."\n"; $activateoutput .= "

 \n"; return; } $activateoutput .= "
\n
\n"; $activateoutput .= "
".$clang->gT("Activate Survey")." ($surveyid)
\n"; $activateoutput .= "
\n"; $activateoutput .= $clang->gT("Warning")."
\n"; $activateoutput .= $clang->gT("READ THIS CAREFULLY BEFORE PROCEEDING")."\n"; $activateoutput .= "\t
\n"; $activateoutput .= $clang->gT("You should only activate a survey when you are absolutely certain that your survey setup is finished and will not need changing.")."

\n"; $activateoutput .= $clang->gT("Once a survey is activated you can no longer:")."\n"; $activateoutput .= $clang->gT("However you can still:")."\n"; $activateoutput .= $clang->gT("Once data has been entered into this survey, if you want to add or remove groups or questions, you will need to deactivate this survey, which will move all data that has already been entered into a separate archived table.")."

\n"; $activateoutput .= "\tgT("Activate Survey")."\" onclick=\"".get2post("$scriptname?action=activate&ok=Y&sid={$_GET['sid']}")."\" />\n"; $activateoutput .= "

 \n"; } else { $activateoutput = activateSurvey($postsid,$surveyid); //also activate tokens queXS addition if(bHasSurveyPermission($surveyid,'tokens','read')) { $_POST['createtable'] = 'Y'; $_SESSION['FileManagerContext']="edit:emailsettings:$surveyid"; include('tokens.php'); } }