Permalink
Browse files

Now only allows user to select categories that they can really edit.

  • Loading branch information...
1 parent 2ceec2d commit 6c9b8063cf4beb1a14fae0d0a066917e382b43a3 thepurpleblob committed Jun 18, 2004
Showing with 4 additions and 2 deletions.
  1. +4 −2 mod/quiz/truefalse.html
View
@@ -4,7 +4,9 @@
<TR valign=top>
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
<TD>
- <?php choose_from_menu($categories, "category", "$question->category", ""); ?>
+ <?php
+ quiz_category_select_menu($course->id, true, true);
+ ?>
</TD>
</TR>
<TR valign=top>
@@ -43,7 +45,7 @@
echo "<div align=right>";
print_string("formattexttype");
echo ":&nbsp;";
- if (!$question->questiontextformat) {
+ if (!isset($question->questiontextformat)) {
$question->questiontextformat = FORMAT_MOODLE;
}
choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, "");

0 comments on commit 6c9b806

Please sign in to comment.