qtypes help: MDL-5106 Create questiontype help file dynamically

This commit is contained in:
tjhunt
2009-02-26 07:07:40 +00:00
parent 944efb3e8b
commit 8bc590f5df
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -1901,7 +1901,7 @@ function create_new_question_button($categoryid, $params, $caption, $tooltip = '
$params['category'] = $categoryid;
print_single_button($CFG->wwwroot . '/question/addquestion.php', $params,
$caption,'get', '', false, $tooltip, $disabled);
helpbutton('questiontypes', get_string('createnewquestion', 'question'), 'question');
helpbutton('types', get_string('createnewquestion', 'question'), 'question');
require_js(array('yui_yahoo','yui_dom','yui_event', 'yui_dragdrop', 'yui_container'));
if (!$choiceformprinted) {
echo '<div id="qtypechoicecontainer">';