http://www.atutor.ca/atutor/mantis/view.php?id=4460
authorCindy Li <cli@ocad.ca>
Tue, 10 Aug 2010 18:26:10 +0000 (18:26 -0000)
committerCindy Li <cli@ocad.ca>
Tue, 10 Aug 2010 18:26:10 +0000 (18:26 -0000)
docs/home/editor/editor_tabs/tests.inc.php

index 65dbc53..e7a06dd 100644 (file)
@@ -32,7 +32,7 @@ if (is_array($all_tests)) $num_tests = count($all_tests);
 
 //If there are no tests, don't display anything except a message
 if ($num_tests == 0){
-       $msg->addInfo('NO_TESTS');
+       $msg->addInfo(array('NO_TESTS', TR_BASE_HREF.'tests/create_test.php?_course_id='.$_course_id));
        $msg->printInfos();
        return;
 }
@@ -47,7 +47,7 @@ else {
 }
 ?>
 <div class="row">
-       <span style="font-weight:bold"><?php echo _AT('about_content_tests'); ?></span>
+       <span style="font-weight:bold"><?php echo _AT('about_content_tests', TR_BASE_HREF.'tests/create_test.php?_course_id='.$_course_id); ?></span>
 </div>
 
 <div class="row">