mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Now only allows user to select categories that they can really edit.
This commit is contained in:
parent
2ceec2d6be
commit
6c9b8063cf
@ -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 ": ";
|
||||
if (!$question->questiontextformat) {
|
||||
if (!isset($question->questiontextformat)) {
|
||||
$question->questiontextformat = FORMAT_MOODLE;
|
||||
}
|
||||
choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user