Skip to content

Commit

Permalink
Dev Added CSS class to email statement in resume later screen. That a…
Browse files Browse the repository at this point in the history
…llows for hiding by CSS the email field and the related text if wanted for privacy protection reasons.
  • Loading branch information
c-schmitz committed Apr 17, 2015
1 parent ad14f8e commit 4f721bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -560,7 +560,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
$coreReplacements['SAVEERROR'] = isset($errormsg) ? $errormsg : ''; // global - same as LOADERROR
$coreReplacements['SAVEFORM'] = $_saveform;
$coreReplacements['SAVEHEADING'] = gT("Save your unfinished survey");
$coreReplacements['SAVEMESSAGE'] = gT("Enter a name and password for this survey and click save below.")."<br />\n".gT("Your survey will be saved using that name and password, and can be completed later by logging in with the same name and password.")."<br /><br />\n".gT("If you give an email address, an email containing the details will be sent to you.")."<br /><br />\n".gT("After having clicked the save button you can either close this browser window or continue filling out the survey.");
$coreReplacements['SAVEMESSAGE'] = gT("Enter a name and password for this survey and click save below.")."<br />\n".gT("Your survey will be saved using that name and password, and can be completed later by logging in with the same name and password.")."<br /><br />\n<span class='emailoptional'>".gT("If you give an email address, an email containing the details will be sent to you.")."</span><br /><br />\n".gT("After having clicked the save button you can either close this browser window or continue filling out the survey.");
$coreReplacements['SID'] = Yii::app()->getConfig('surveyID','');// Allways use surveyID from config
$coreReplacements['SITENAME'] = isset($sitename) ? $sitename : ''; // global
$coreReplacements['SUBMITBUTTON'] = $_submitbutton;
Expand Down

0 comments on commit 4f721bb

Please sign in to comment.