diff new/test_list.php @ 17:9da74cda0375

Ready to go
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 11 May 2016 13:32:54 +0100
parents 01608b20a12d
children d74d570f4832
line wrap: on
line diff
--- a/new/test_list.php	Tue May 10 18:20:05 2016 +0100
+++ b/new/test_list.php	Wed May 11 13:32:54 2016 +0100
@@ -6,12 +6,15 @@
   $baseUrl = 'test.html?url=hammond/tests'.$lang.'/';
   $preSurvey = $defaultTestEntry;
   $preSurvey['url'] = $baseUrl.'pre_survey.xml';
-  //$preSurvey['url'] = "survey.php?";
-  $preSurvey['string'] = 'Survey';
+  $preSurvey['string'] = 'Preliminary survey';
   
+  $postSurvey = $defaultTestEntry;
+  $postSurvey['url'] = $baseUrl.'post_survey.xml';
+  $postSurvey['string'] = 'Post survey(optional)';
+
   $trainingVideo = $defaultTestEntry;
   $trainingVideo['url'] = 'embedded_player.php?v=kcRtyvQxbgU';
-  $trainingVideo['string'] = 'Training video';
+  $trainingVideo['string'] = 'Training';
   $trainingVideo['alwaysAccessible'] = true;
 
   $trainingSamples = $defaultTestEntry;
@@ -38,5 +41,5 @@
   $seed = hexdec(substr($id, -8)); 
   //shuffling only the order of the ABtests
   fisherYatesShuffle($abTests, $seed);
-  $tests = array_merge(Array($preSurvey), Array($trainingVideo), Array($trainingSamples), Array($abxTest), $abTests);
+  $tests = array_merge(Array($preSurvey), Array($trainingVideo), /*Array($trainingSamples),*/ Array($abxTest), $abTests, Array($postSurvey));