Permalink
Browse files

Category dropdown now shows publishing course. Only those categores t…

…hat the user

has permission to edit are displayed
  • Loading branch information...
1 parent 6c9b806 commit fe6dd029a5b954504e3822b6665bc42272af7504 thepurpleblob committed Jun 18, 2004
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/multichoice.html
@@ -4,7 +4,7 @@
<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 +43,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 fe6dd02

Please sign in to comment.