]> git.mjollnir.org Git - moodle.git/commitdiff
Category dropdown now shows publishing course + only those categories for
authorthepurpleblob <thepurpleblob>
Fri, 18 Jun 2004 13:07:20 +0000 (13:07 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 18 Jun 2004 13:07:20 +0000 (13:07 +0000)
which the user has editing rights are displayed

mod/quiz/shortanswer.html

index e4ca0d83b6bc28ba5254f55c643bb9c72afa566c..ce621449dcb1b1de418b1bb205489954b0d928d4 100644 (file)
@@ -4,7 +4,7 @@
 <TR valign=top>\r
     <TD align=right><P><B><?php  print_string("category", "quiz") ?>:</B></P></TD>\r
     <TD>\r
-    <?php   choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+    <?php   quiz_category_select_menu($course->id, true, true); ?>\r
     </TD>\r
 </TR>\r
 <TR valign=top>\r