mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-71161-master-4' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
83b71194cd
25 changed files with 586 additions and 10 deletions
|
@ -80,7 +80,7 @@
|
|||
}
|
||||
$record = NULL;
|
||||
}
|
||||
|
||||
$cm = cm_info::create($cm);
|
||||
require_course_login($course, true, $cm);
|
||||
|
||||
require_once($CFG->dirroot . '/comment/lib.php');
|
||||
|
@ -268,6 +268,11 @@
|
|||
|
||||
echo $OUTPUT->heading(format_string($data->name), 2);
|
||||
|
||||
// Render the activity information.
|
||||
$completiondetails = \core_completion\cm_completion_details::get_instance($cm, $USER->id);
|
||||
$activitydates = \core\activity_dates::get_dates_for_module($cm, $USER->id);
|
||||
echo $OUTPUT->activity_information($cm, $completiondetails, $activitydates);
|
||||
|
||||
// Do we need to show a link to the RSS feed for the records?
|
||||
//this links has been Settings (database activity administration) block
|
||||
/*if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue