mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme - added new divs for better control on user profile and user index pages - reduced data on course user profiles down to minimum - removed user/tabs.php completely and all uses of it - changed default user icon pix to something very bland (bye bye smiley cake)
This commit is contained in:
parent
db1a1c0d9e
commit
99cca8470e
19 changed files with 106 additions and 540 deletions
|
@ -143,10 +143,13 @@
|
|||
$PAGE->set_title("$course->shortname: ".get_string('participants'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_pagetype('course-view-' . $course->format);
|
||||
$PAGE->add_body_class('path-user'); // So we can style it independently
|
||||
$PAGE->set_other_editing_capability('moodle/course:manageactivities');
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
echo '<div class="userlist">';
|
||||
|
||||
if ($isseparategroups and (!$currentgroup) ) {
|
||||
// The user is not in the group so show message and exit
|
||||
echo $OUTPUT->heading(get_string("notingroup"));
|
||||
|
@ -884,6 +887,8 @@
|
|||
echo $OUTPUT->container(html_writer::link($perpageurl, get_string('showall', '', $matchcount)), array(), 'showall');
|
||||
}
|
||||
|
||||
echo '</div>'; // userlist
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
if ($userlist) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue