mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window.
This commit is contained in:
parent
3d436d5974
commit
d4fe14d3e4
12 changed files with 68 additions and 56 deletions
|
@ -3,7 +3,7 @@ require_once('HTML/QuickForm/hidden.php');
|
|||
|
||||
/**
|
||||
* HTML class for a hidden type element
|
||||
*
|
||||
*
|
||||
* @author Jamie Pratt
|
||||
* @access public
|
||||
*/
|
||||
|
@ -19,9 +19,10 @@ class MoodleQuickForm_hidden extends HTML_QuickForm_hidden{
|
|||
*
|
||||
* @access public
|
||||
* @param array $help array of arguments to make a help button
|
||||
* @param string $function function name to call to get html
|
||||
*/
|
||||
function setHelpButton($helpbuttonargs){
|
||||
|
||||
function setHelpButton($helpbuttonargs, $function='helpbutton'){
|
||||
|
||||
}
|
||||
/**
|
||||
* get html for help button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue