Skip to content

Commit

Permalink
ARLO-22 added comments to help find the headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-hunt-moodle committed Nov 30, 2023
1 parent ba084aa commit 573cab5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/form/admin/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ public function definition() {
$form->setDefault('matchuseraccountsby', $default);
$form->addHelpButton('matchuseraccountsby', 'matchuseraccountsby', 'enrol_arlo');

// User account creation
$form->addElement('header', 'useraccountcreation', get_string('useraccountcreation', 'enrol_arlo'));
$form->setExpanded('useraccountcreation', true);

$form->addElement('html', static::get_username_generation_table_html());

// Course enrolment
$form->addElement('header', 'courseenrolment', get_string('courseenrolment', 'enrol_arlo'));
$form->setExpanded('courseenrolment', true);

Expand Down Expand Up @@ -87,6 +89,7 @@ public function definition() {
$form->setDefault('expiredaction', ENROL_EXT_REMOVED_SUSPEND);
$form->addHelpButton('expiredaction', 'expiredaction', 'enrol_arlo');

// Resulting
$form->addElement('header', 'resulting', get_string('resulting', 'enrol_arlo'));
$form->setExpanded('resulting', true);

Expand All @@ -100,6 +103,7 @@ public function definition() {
$form->setDefault('pusheventresults', 1);
$form->addHelpButton('pusheventresults', 'pusheventresults', 'enrol_arlo');

// Other
$form->addElement('header', 'other', get_string('other'));
$form->setExpanded('other', true);

Expand All @@ -125,6 +129,7 @@ public function definition() {
$form->setDefault('allowunenrolaccessedui', 0);
$form->addHelpButton('allowunenrolaccessedui', 'allowunenrolaccessedui', 'enrol_arlo');

// Cleanup
$form->addElement('header', 'cleanup', get_string('cleanup', 'enrol_arlo'));
$form->setExpanded('cleanup', true);

Expand Down

0 comments on commit 573cab5

Please sign in to comment.