mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
|
@ -231,7 +231,7 @@ switch ($context->contextlevel) {
|
|||
admin_externalpage_setup('assignroles', '', array('contextid' => $contextid, 'roleid' => $roleid));
|
||||
break;
|
||||
case CONTEXT_USER:
|
||||
$tabfile = $CFG->dirroot.'/user/tabs.php';
|
||||
$tabfile = null;
|
||||
if ($isfrontpage) {
|
||||
$fullname = fullname($user, has_capability('moodle/site:viewfullnames', $context));
|
||||
$PAGE->set_heading($fullname);
|
||||
|
@ -259,9 +259,11 @@ switch ($context->contextlevel) {
|
|||
break;
|
||||
}
|
||||
|
||||
$currenttab = 'assign';
|
||||
echo $OUTPUT->header();
|
||||
include($tabfile);
|
||||
if ($tabfile) {
|
||||
$currenttab = 'assign';
|
||||
include($tabfile);
|
||||
}
|
||||
|
||||
// Print heading.
|
||||
echo $OUTPUT->heading_with_help($title, 'assignroles', 'role');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue