community hub MDL-24243 course listing improvement

This commit is contained in:
jerome mouneyrac 2010-09-17 02:30:55 +00:00
parent fb6b45426f
commit 09d2da6ecc

View File

@ -288,7 +288,7 @@ class block_community_renderer extends plugin_renderer_base {
$rateandcomment = html_writer::tag('div',
html_writer::tag('a', get_string('rateandcomment', 'block_community'),
array('href' => new moodle_url($huburl,
array('courseid' => $course->id)),
array('courseid' => $course->id, 'mustbelogged' => true)),
'onclick' => 'this.target="_blank"')),
array('class' => 'hubrateandcomment'));