From 05efb0e52f12c62e281206402132a9e8665a125d Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 9 Sep 2008 08:43:40 +0000 Subject: [PATCH] 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 --- lib/questionlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.39.5