mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-40829: courses heading: remove 'headerblock' class from header and fix heading levels
This commit is contained in:
parent
62b35d5852
commit
278d64572d
28 changed files with 22 additions and 132 deletions
12
index.php
12
index.php
|
@ -191,11 +191,11 @@
|
|||
} else {
|
||||
$subtext = get_string('subscribe', 'forum');
|
||||
}
|
||||
echo $OUTPUT->heading($forumname, 2, 'headingblock header');
|
||||
echo $OUTPUT->heading($forumname);
|
||||
$suburl = new moodle_url('/mod/forum/subscribe.php', array('id' => $newsforum->id, 'sesskey' => sesskey()));
|
||||
echo html_writer::tag('div', html_writer::link($suburl, $subtext), array('class' => 'subscribelink'));
|
||||
} else {
|
||||
echo $OUTPUT->heading($forumname, 2, 'headingblock header');
|
||||
echo $OUTPUT->heading($forumname);
|
||||
}
|
||||
|
||||
forum_print_latest_discussions($SITE, $newsforum, $SITE->newsitems, 'plain', 'p.modified DESC');
|
||||
|
@ -215,7 +215,7 @@
|
|||
//wrap frontpage course list in div container
|
||||
echo html_writer::start_tag('div', array('id'=>'frontpage-course-list'));
|
||||
|
||||
echo $OUTPUT->heading(get_string('mycourses'), 2, 'headingblock header');
|
||||
echo $OUTPUT->heading(get_string('mycourses'));
|
||||
echo $mycourseshtml;
|
||||
|
||||
//end frontpage course list div container
|
||||
|
@ -234,7 +234,7 @@
|
|||
//wrap frontpage course list in div container
|
||||
echo html_writer::start_tag('div', array('id'=>'frontpage-course-list'));
|
||||
|
||||
echo $OUTPUT->heading(get_string('availablecourses'), 2, 'headingblock header');
|
||||
echo $OUTPUT->heading(get_string('availablecourses'));
|
||||
echo $availablecourseshtml;
|
||||
|
||||
//end frontpage course list div container
|
||||
|
@ -250,7 +250,7 @@
|
|||
//wrap frontpage category names in div container
|
||||
echo html_writer::start_tag('div', array('id'=>'frontpage-category-names'));
|
||||
|
||||
echo $OUTPUT->heading(get_string('categories'), 2, 'headingblock header');
|
||||
echo $OUTPUT->heading(get_string('categories'));
|
||||
echo $courserenderer->frontpage_categories_list();
|
||||
|
||||
//end frontpage category names div container
|
||||
|
@ -265,7 +265,7 @@
|
|||
//wrap frontpage category combo in div container
|
||||
echo html_writer::start_tag('div', array('id'=>'frontpage-category-combo'));
|
||||
|
||||
echo $OUTPUT->heading(get_string('courses'), 2, 'headingblock header');
|
||||
echo $OUTPUT->heading(get_string('courses'));
|
||||
echo $courserenderer->frontpage_combo_list();
|
||||
|
||||
//end frontpage category combo div container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue