From e2110c70ccfeb5b553186f098becb4fcdc8359a3 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Fri, 18 Apr 2014 09:17:48 +0530 Subject: added content to eligibility test page --- tbc_external_review.module | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tbc_external_review.module b/tbc_external_review.module index 0edfbf9..9bceeec 100755 --- a/tbc_external_review.module +++ b/tbc_external_review.module @@ -1740,7 +1740,7 @@ // end the test drupal_goto("tbc_external_review/eligibility_test/end"); } else { - drupal_goto("tbc_external_review/eligibility_test/question/".(++$question_id)); + drupal_goto("tbc_external_review/eligibility_test/question/".($question_id+1)); } } @@ -1823,7 +1823,12 @@ $result = db_query($query); drupal_set_message("Eligibility Test completed successfully. We will get back to you soon.", "status"); } else { - $page_content .= l("Click here", "tbc_external_review/eligibility_test/question/1"); + $page_content .= "

You are about to give a test based on which you will be selected as a reviewer for the Scilab Textbook Companions.

"; + $page_content .= ""; + $page_content .= "" . l("Click here", "tbc_external_review/eligibility_test/question/1") . ""; $page_content .= " to start the test."; } return $page_content; -- cgit