mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
html issues
This commit is contained in:
parent
02f66c4202
commit
a1856aff0b
@ -52,10 +52,10 @@ class block_blog_menu extends block_base {
|
|||||||
|
|
||||||
$coursearg = '';
|
$coursearg = '';
|
||||||
if(blog_isLoggedIn() && isset($course) && isset($course->id) && $course->id !=0 && $course->id!=SITEID && $CFG->bloglevel >=3 ) {
|
if(blog_isLoggedIn() && isset($course) && isset($course->id) && $course->id !=0 && $course->id!=SITEID && $CFG->bloglevel >=3 ) {
|
||||||
$coursearg = '&courseid='. $course->id;
|
$coursearg = '&courseid='. $course->id;
|
||||||
// a course is specified
|
// a course is specified
|
||||||
|
|
||||||
$courseviewlink = '<a href="'. $CFG->wwwroot .'/blog/index.php?filtertype=course&filterselect='. $course->id .'">';
|
$courseviewlink = '<a href="'. $CFG->wwwroot .'/blog/index.php?filtertype=course&filterselect='. $course->id .'">';
|
||||||
$courseviewlink .= get_string('viewcourseentries', 'blog') .'</a><br />';
|
$courseviewlink .= get_string('viewcourseentries', 'blog') .'</a><br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ class block_blog_menu extends block_base {
|
|||||||
|
|
||||||
// show View site entries link
|
// show View site entries link
|
||||||
if ($CFG->bloglevel >= 4) {
|
if ($CFG->bloglevel >= 4) {
|
||||||
$output .= '<a href="'. $CFG->wwwroot .'/blog/index.php?filtertype=site&">';
|
$output .= '<a href="'. $CFG->wwwroot .'/blog/index.php?filtertype=site&">';
|
||||||
$output .= get_string('viewsiteentries', 'blog') .'</a><br />';
|
$output .= get_string('viewsiteentries', 'blog') .'</a><br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user