--- /Users/Kordan/Desktop/weblib.php 2009-11-25 18:26:03.000000000 +0100 +++ /Applications/MAMP/htdocs/moodle19/lib/weblib.php 2009-12-10 22:53:16.000000000 +0100 @@ -1182,7 +1182,7 @@ * @todo Finish documenting this function
*/ function popup_form($common, $options, $formid, $selected='', $nothing='choose', $help='', $helptext='', $return=false, -$targetwindow='self', $selectlabel='', $optionsextra=NULL, $gobutton=NULL) { +$targetwindow='self', $selectlabel='', $optionsextra=NULL, $gobutton=NULL, $module='moodle') { global $CFG; static $go, $choose; /// Locally cached, in case there's lots on a page @@ -1210,7 +1210,7 @@ ' id="'.$formid.'"'. ' class="popupform">'; if ($help) { - $button = helpbutton($help, $helptext, 'moodle', true, false, '', true); + $button = helpbutton($help, $helptext, $module, true, false, '', true); } else { $button = ''; }