Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:functions:mailresume [19.12.2014 23:28] – [Pause Questionnaire] alexander.ritteren:create:functions:mailresume [19.12.2014 23:30] – [Pause Questionnaire] alexander.ritter
Line 35: Line 35:
  
 // Check how much time has elapsed since the start of the survey // Check how much time has elapsed since the start of the survey
-// If this is less than 24 hours (24 * 3600 seconds), the questionnaire is suspended+// If this is less than 24 hours (24 * 3600 seconds), the questionnaire will be paused
 if (caseTime('begin') < 24 * 3600) { if (caseTime('begin') < 24 * 3600) {
   text('end1'); // displayed at the end of the first part   text('end1'); // displayed at the end of the first part
Line 66: Line 66:
  
 // Check how much time has elapsed since the page was first accessed  // Check how much time has elapsed since the page was first accessed 
-// Suspend if this is less than than 14 days (14 * 24 * 3600 seconds)+// Pause, if this is less than than 14 days (14 * 24 * 3600 seconds)
 if (time() - $timeBreak1 < 14 * 24 * 3600) { if (time() - $timeBreak1 < 14 * 24 * 3600) {
   text('end1'); // displayed at the end of the first part   text('end1'); // displayed at the end of the first part
-  option('nextbutton', false); // hide Next button (suspend questionnaire)+  option('nextbutton', false); // hide Next button (pause questionnaire)
 } else { } else {
   // Perhaps the progress bar should be adjusted?   // Perhaps the progress bar should be adjusted?
en/create/functions/mailresume.txt · Last modified: 21.04.2024 20:27 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki