wrong appearance on feedbacks located on the frontpage
This commit is contained in:
@@ -91,10 +91,10 @@ $strfeedbacks = get_string("modulenameplural", "feedback");
|
||||
$strfeedback = get_string("modulename", "feedback");
|
||||
|
||||
if($course->id == SITEID) {
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_cm($cm, $course); // set's up global $COURSE
|
||||
$PAGE->set_pagelayout('incourse');
|
||||
}
|
||||
|
||||
$PAGE->set_url('/mod/feedback/view.php', array('id'=>$cm->id, 'do_show'=>'view'));
|
||||
$PAGE->set_title(format_string($feedback->name));
|
||||
$PAGE->set_heading(format_string($course->fullname));
|
||||
|
||||
Reference in New Issue
Block a user