From: tjhunt Date: Tue, 9 Sep 2008 08:43:40 +0000 (+0000) Subject: MDL-6751 Admin page for question types. This does the bulk of the work: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05efb0e52f12c62e281206402132a9e8665a125d;p=moodle.git MDL-6751 Admin page for question types. This does the bulk of the work: MDL-16407 Add to admin/settings/plugins.php to link to the new manage page, and pull in any qtype settings pages MDL-16408 Write the manage question types page, to display the table of installed types --- diff --git a/lib/questionlib.php b/lib/questionlib.php index 30bc1744f2..5bafa6166e 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1689,7 +1689,7 @@ function print_question_icon($question, $return = false) { global $QTYPES, $CFG; if (array_key_exists($question->qtype, $QTYPES)) { - $namestr = $QTYPES[$question->qtype]->menu_name(); + $namestr = $QTYPES[$question->qtype]->local_name(); } else { $namestr = 'missingtype'; }