Completed
Push — master ( 1abfb3...169323 )
by Daniel Neis
02:07
created
featuredcourses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
featuredcourses_form.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,17 +38,17 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.