]> git.mjollnir.org Git - moodle.git/commitdiff
quiz editing: MDL-17730 skip links; mistake in previous commit
authorpilpi <pilpi>
Fri, 26 Dec 2008 00:34:39 +0000 (00:34 +0000)
committerpilpi <pilpi>
Fri, 26 Dec 2008 00:34:39 +0000 (00:34 +0000)
mod/quiz/edit.php

index a86533760d1c6996a725bcf0ec01612af4a8a2bf..26b19893d4b9cc2e52f385e6b64bf33d64fe3452 100644 (file)
@@ -568,7 +568,8 @@ print_header_simple($pagetitle, '', $navigation, "", $localcss,true,
         $questionbankmanagement.$strupdatemodule);
 //TODO: these skip links really need to be right after the opening of the body element,
 // and preferably implemented in an <ul> element. See MDL-17730.
-echo '<a href="#quizcontentsblock" class="skip">Question bank</a> <a href="#quizcontentsblock" class="skip">Quiz contents</a>';
+echo '<a href="#questionbank" class="skip">Question bank</a> '.
+        '<a href="#quizcontentsblock" class="skip">Quiz contents</a>';
 // Initialise the JavaScript.
 $quizeditconfig = new stdClass;
 $quizeditconfig->url = $thispageurl->out(false, array('qbanktool' => '0'));