Skip to content

Commit

Permalink
Set params seed and urlggb as advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
toniginard committed Dec 9, 2021
1 parent 0ca392c commit b451c5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ public function definition() {
$mform->setType('seed', PARAM_INT);
$mform->setDefault('seed', '0');
$mform->addHelpButton('seed', 'seed', 'geogebra');
$mform->setAdvanced('seed');

$mform->addElement('text', 'urlggb', get_string('urlggb', 'geogebra'), ['size' => '60']);
$mform->setType('urlggb', PARAM_RAW);
$mform->setDefault('urlggb', '');
$mform->addHelpButton('urlggb', 'urlggb', 'geogebra');
$mform->setAdvanced('urlggb');

$options = get_string_manager()->get_list_of_translations();
$mform->addElement('select', 'language', get_string('language', 'geogebra'), $options);
Expand Down

0 comments on commit b451c5d

Please sign in to comment.