summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram Pai2014-04-18 09:17:48 +0530
committerJayaram Pai2014-04-18 09:17:48 +0530
commite2110c70ccfeb5b553186f098becb4fcdc8359a3 (patch)
tree676f988e29d8c36b895cdfd1a2a7e32898bf26d3
parentf0e941cd9375fadb52c55e7574d92f98e92398ab (diff)
downloadtbc-external-review-e2110c70ccfeb5b553186f098becb4fcdc8359a3.tar.gz
tbc-external-review-e2110c70ccfeb5b553186f098becb4fcdc8359a3.tar.bz2
tbc-external-review-e2110c70ccfeb5b553186f098becb4fcdc8359a3.zip
added content to eligibility test page
-rwxr-xr-xtbc_external_review.module9
1 files 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 .= "<p>You are about to give a test based on which you will be selected as a reviewer for the Scilab Textbook Companions.</p>";
+ $page_content .= "<ul>";
+ $page_content .= "<li>The test consists of 5 code review questions that are mandatory.</li>";
+ $page_content .= "<li>Test duration is 25 minutes, after which the test will automatically close.</li>";
+ $page_content .= "</ul>";
+ $page_content .= "<u><b>" . l("Click here", "tbc_external_review/eligibility_test/question/1") . "</b></u>";
$page_content .= " to start the test.";
}
return $page_content;