Skip to content

Commit

Permalink
MDL-21695 Fixing some regressions at the course settings page
Browse files Browse the repository at this point in the history
AMOS BEGIN
 HLP expirynotify.html,[notify_help,core]
AMOS END
  • Loading branch information
mudrd8mz committed May 4, 2010
1 parent b01c3e8 commit 83fc999
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions course/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function definition() {
$choices['0'] = get_string('no');
$choices['1'] = get_string('yes');
$mform->addElement('select', 'expirynotify', get_string('notify'), $choices);
$mform->addHelpButton('expirynotify', 'expirynotify');
$mform->addHelpButton('expirynotify', 'notify');
$mform->setDefault('expirynotify', $courseconfig->expirynotify);

$mform->addElement('select', 'notifystudents', get_string('expirynotifystudents'), $choices);
Expand All @@ -285,15 +285,15 @@ function definition() {
$choices[NOGROUPS] = get_string('groupsnone', 'group');
$choices[SEPARATEGROUPS] = get_string('groupsseparate', 'group');
$choices[VISIBLEGROUPS] = get_string('groupsvisible', 'group');
$mform->addElement('select', 'groupmode', get_string('groupmode'), $choices);
$mform->addHelpButton('groupmode', 'groupmode');
$mform->addElement('select', 'groupmode', get_string('groupmode', 'group'), $choices);
$mform->addHelpButton('groupmode', 'groupmode', 'group');
$mform->setDefault('groupmode', $courseconfig->groupmode);

$choices = array();
$choices['0'] = get_string('no');
$choices['1'] = get_string('yes');
$mform->addElement('select', 'groupmodeforce', get_string('force'), $choices);
$mform->addHelpButton('groupmodeforce', 'groupmodeforce');
$mform->addElement('select', 'groupmodeforce', get_string('groupmodeforce', 'group'), $choices);
$mform->addHelpButton('groupmodeforce', 'groupmodeforce', 'group');
$mform->setDefault('groupmodeforce', $courseconfig->groupmodeforce);

//default groupings selector
Expand Down
2 changes: 1 addition & 1 deletion lang/en/moodle.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
$string['block'] = 'Block';
$string['blockconfiga'] = 'Configuring a {$a} block';
$string['blockconfigbad'] = 'This block has not been implemented correctly and thus cannot provide a configuration interface.';
$string['blockdeleteconfirm'] = 'You are about to completely delete the block \'{$a}\'. This will completely delete everything in the database associated with this block. Are you SURE you want to continue?';
$string['blockdeleteconfirm'] = 'You are about to completely delete the block \'{$a}\'. This will completely delete everything in the database associated with this block. Are you SURE you want to continue?';
$string['blockdeletefiles'] = 'All data associated with the block \'{$a->block}\' has been deleted from the database. To complete the deletion (and prevent the block re-installing itself), you should now delete this directory from your server: {$a->directory}';
$string['blocks'] = 'Blocks';
$string['blocksaddedit'] = 'Add/Edit Blocks';
Expand Down

0 comments on commit 83fc999

Please sign in to comment.