@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | $PAGE->set_title(get_string('editpagetitle', 'block_featuredcourses')); |
| 52 | 52 | $PAGE->set_heading($site->fullname . ' - ' . |
| 53 | - get_string('pluginname', 'block_featuredcourses')); |
|
| 53 | + get_string('pluginname', 'block_featuredcourses')); |
|
| 54 | 54 | |
| 55 | 55 | echo $OUTPUT->header(); |
| 56 | 56 | echo $OUTPUT->heading(get_string('editpagedesc', 'block_featuredcourses')); |
@@ -114,12 +114,12 @@ |
||
| 114 | 114 | // my moodle can only have SITEID and it's redundant here, so take it away |
| 115 | 115 | public function applicable_formats() { |
| 116 | 116 | return array('all' => false, |
| 117 | - 'site' => true, |
|
| 118 | - 'site-index' => true); |
|
| 117 | + 'site' => true, |
|
| 118 | + 'site-index' => true); |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | public function instance_allow_multiple() { |
| 122 | - return false; |
|
| 122 | + return false; |
|
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | function has_config() {return true;} |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | $mform = new block_featuredcourses_delete_featuredcourse_form(); |
| 39 | 39 | $newformdata = array('courseid'=>$courseid, |
| 40 | - 'confirmdelete'=>'1'); |
|
| 40 | + 'confirmdelete'=>'1'); |
|
| 41 | 41 | $mform->set_data($newformdata); |
| 42 | 42 | $formdata = $mform->get_data(); |
| 43 | 43 | |
@@ -60,10 +60,10 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | echo $OUTPUT->header(), |
| 62 | 62 | |
| 63 | - $OUTPUT->box_start('generalbox errorboxcontent boxaligncenter boxwidthnormal'), |
|
| 64 | - html_writer::tag('p', get_string('confirmdelete', 'block_featuredcourses'), array('class' => 'bold')); |
|
| 63 | + $OUTPUT->box_start('generalbox errorboxcontent boxaligncenter boxwidthnormal'), |
|
| 64 | + html_writer::tag('p', get_string('confirmdelete', 'block_featuredcourses'), array('class' => 'bold')); |
|
| 65 | 65 | |
| 66 | 66 | $mform->display(); |
| 67 | 67 | |
| 68 | 68 | echo $OUTPUT->box_end(), |
| 69 | - $OUTPUT->footer(); |
|
| 69 | + $OUTPUT->footer(); |
|