mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-38889-master' of git://github.com/mouneyrac/moodle
This commit is contained in:
commit
6cb94fd13b
@ -93,7 +93,9 @@ class community_hub_search_form extends moodleform {
|
||||
|
||||
//add the course id (of the context)
|
||||
$mform->addElement('hidden', 'courseid', $this->_customdata['courseid']);
|
||||
$mform->setType('courseid', PARAM_INT);
|
||||
$mform->addElement('hidden', 'executesearch', 1);
|
||||
$mform->setType('executesearch', PARAM_INT);
|
||||
|
||||
//retrieve the hub list on the hub directory by web service
|
||||
$function = 'hubdirectory_get_hubs';
|
||||
@ -298,7 +300,7 @@ class community_hub_search_form extends moodleform {
|
||||
$mform->addElement('text', 'search', get_string('keywords', 'block_community'),
|
||||
array('size' => 30));
|
||||
$mform->addHelpButton('search', 'keywords', 'block_community');
|
||||
|
||||
$mform->setType('search', PARAM_NOTAGS);
|
||||
|
||||
$mform->addElement('submit', 'submitbutton', get_string('search', 'block_community'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user