mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-54027-master' of git://github.com/FMCorz/moodle
This commit is contained in:
commit
53b540c82a
@ -389,9 +389,19 @@ if (isset($courseid) && $courseid != SITEID) {
|
||||
}
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($inpageheading);
|
||||
echo html_writer::start_tag('div', array('class' => 'user-content'));
|
||||
|
||||
if ($isspecificcourse) {
|
||||
$userheading = array(
|
||||
'heading' => fullname($user),
|
||||
'user' => $user,
|
||||
'usercontext' => $usercontext
|
||||
);
|
||||
echo $OUTPUT->context_header($userheading, 2);
|
||||
} else {
|
||||
echo $OUTPUT->heading($inpageheading);
|
||||
}
|
||||
|
||||
if (!empty($postoutput)) {
|
||||
echo $OUTPUT->paging_bar($result->totalcount, $page, $perpage, $url);
|
||||
foreach ($postoutput as $post) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user