mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
merged, centering of tabs on blog page issue
This commit is contained in:
parent
ca79268087
commit
e3ec7995a7
@ -186,6 +186,14 @@ if ($ME == $CFG->wwwroot.'/blog/edit.php') { /// We are in edit mode, print the
|
||||
|
||||
} /// close switch
|
||||
|
||||
// prints the tabs
|
||||
$currenttab = 'blogs';
|
||||
$user = $USER;
|
||||
if (!$course) {
|
||||
$course = get_record('course','id',optional_param('courseid', SITEID, PARAM_INT));
|
||||
}
|
||||
require_once($CFG->dirroot .'/user/tabs.php');
|
||||
|
||||
$editing = false;
|
||||
if ($PAGE->user_allowed_editing()) {
|
||||
$editing = $PAGE->user_is_editing();
|
||||
|
@ -139,14 +139,6 @@ if ($limit == 'none') {
|
||||
|
||||
include($CFG->dirroot .'/blog/header.php');
|
||||
|
||||
// prints the tabs
|
||||
$currenttab = 'blogs';
|
||||
$user = $USER;
|
||||
if (!$course) {
|
||||
$course = get_record('course','id',optional_param('courseid', SITEID, PARAM_INT));
|
||||
}
|
||||
require_once($CFG->dirroot .'/user/tabs.php');
|
||||
|
||||
$blogpage = optional_param('blogpage',0,PARAM_INT);
|
||||
|
||||
blog_print_html_formatted_entries($userid, $postid, $limit, ($blogpage * $limit) ,$filtertype, $filterselect, $tagid, $tag, $filtertype, $filterselect);
|
||||
|
Loading…
x
Reference in New Issue
Block a user