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:
Martin Dougiamas 2010-05-16 08:21:12 +00:00
parent db1a1c0d9e
commit 99cca8470e
19 changed files with 106 additions and 540 deletions

View file

@ -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']);