Permalink
Browse files

Merge branch 'MDL-27627-master' of git://github.com/sammarshallou/moodle

  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed May 30, 2011
2 parents bef9ad9 + 3fbe0e8 commit 91bad7adc13b7d2e5d5329f7e99f8466eef6ef23
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/moodleform_mod.php
@@ -428,7 +428,7 @@ function standard_coursemodule_elements(){
if (!empty($CFG->enableavailability)) {
// Conditional availability
- $mform->addElement('header', '', get_string('availabilityconditions', 'condition'));
+ $mform->addElement('header', 'availabilityconditionsheader', get_string('availabilityconditions', 'condition'));
$mform->addElement('date_selector', 'availablefrom', get_string('availablefrom', 'condition'), array('optional'=>true));
$mform->addHelpButton('availablefrom', 'availablefrom', 'condition');
$mform->addElement('date_selector', 'availableuntil', get_string('availableuntil', 'condition'), array('optional'=>true));
@@ -522,7 +522,7 @@ function standard_coursemodule_elements(){
$completion = new completion_info($COURSE);
}
if ($completion->is_enabled()) {
- $mform->addElement('header', '', get_string('activitycompletion', 'completion'));
+ $mform->addElement('header', 'activitycompletionheader', get_string('activitycompletion', 'completion'));
// Unlock button for if people have completed it (will
// be removed in definition_after_data if they haven't)

0 comments on commit 91bad7a

Please sign in to comment.