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
|
@ -58,7 +58,6 @@ if (empty($CFG->bloglevel)) {
|
|||
}
|
||||
|
||||
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
|
||||
$tabsfile = null;
|
||||
|
||||
if (!$userid && has_capability('moodle/blog:view', $sitecontext) && $CFG->bloglevel > BLOG_USER_LEVEL) {
|
||||
if ($entryid) {
|
||||
|
@ -173,7 +172,6 @@ if (!empty($user)) {
|
|||
print_error('cannotviewcourseblog', 'blog');
|
||||
}
|
||||
}
|
||||
$tabsfile = $CFG->dirroot . '/user/tabs.php';
|
||||
}
|
||||
|
||||
$courseid = (empty($courseid)) ? SITEID : $courseid;
|
||||
|
@ -195,10 +193,6 @@ if (empty($entryid) && empty($modid) && empty($groupid)) {
|
|||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
if (!empty($tabsfile)) {
|
||||
require_once($tabsfile);
|
||||
}
|
||||
|
||||
echo $OUTPUT->heading($blogheaders['heading'], 2);
|
||||
|
||||
$bloglisting = new blog_listing($blogheaders['filters']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue