@@ -71,7 +71,7 @@ |
||
71 | 71 | $site = get_site(); |
72 | 72 | |
73 | 73 | $PAGE->set_title(get_string('editpagetitle', 'block_featuredcourses')); |
74 | -$PAGE->set_heading($site->fullname . ' - ' . get_string('pluginname', 'block_featuredcourses')); |
|
74 | +$PAGE->set_heading($site->fullname.' - '.get_string('pluginname', 'block_featuredcourses')); |
|
75 | 75 | |
76 | 76 | echo $OUTPUT->header(), |
77 | 77 |
@@ -38,17 +38,17 @@ |
||
38 | 38 | global $CFG; |
39 | 39 | |
40 | 40 | $mform = $this->_form; |
41 | - $availablecourses = $this->_customdata['availablecourses']; |
|
42 | - $featuredcourses = $this->_customdata['featuredcourses']; |
|
41 | + $availablecourses = $this->_customdata['availablecourses']; |
|
42 | + $featuredcourses = $this->_customdata['featuredcourses']; |
|
43 | 43 | $availablecourseslist = array(); |
44 | 44 | foreach ($availablecourses as $c) { |
45 | - $availablecourseslist[$c->id] = $c->shortname . ' : ' . $c->fullname; |
|
45 | + $availablecourseslist[$c->id] = $c->shortname.' : '.$c->fullname; |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | // Forms to edit existing featured courses. |
49 | 49 | foreach ($featuredcourses as $c) { |
50 | 50 | $mform->addElement('header', 'featured', |
51 | - get_string('featuredcourse', 'block_featuredcourses', $c->shortname . ' - '. $c->fullname)); |
|
51 | + get_string('featuredcourse', 'block_featuredcourses', $c->shortname.' - '.$c->fullname)); |
|
52 | 52 | |
53 | 53 | $mform->addElement('hidden', 'featured['.$c->id.'][id]', null); |
54 | 54 | $mform->setType('featured['.$c->id.'][id]', PARAM_INT); |