mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +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
|
@ -169,7 +169,9 @@ if ($currentpage->userid == 0) {
|
|||
}
|
||||
|
||||
// TODO WORK OUT WHERE THE NAV BAR IS!
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo '<div class="userprofile">';
|
||||
|
||||
|
||||
// Print the standard content of this page, the basic profile info
|
||||
|
@ -370,6 +372,13 @@ echo "</table>";
|
|||
|
||||
echo $OUTPUT->blocks_for_region('content');
|
||||
|
||||
if ($CFG->debugdisplay && debugging('', DEBUG_DEVELOPER) && $currentuser) { // Show user object
|
||||
echo '<br /><br /><hr />';
|
||||
echo $OUTPUT->heading('DEBUG MODE: User session variables');
|
||||
print_object($USER);
|
||||
}
|
||||
|
||||
echo '</div>'; // userprofile class
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue