Index: temp_moodle_dev/lamstwo/view.php
===================================================================
diff -u -refa28348a96b4e32952ad0562ce54e74b93d227a -r0878683fa8df8ae2224a2d9a43f7509919e02274
--- temp_moodle_dev/lamstwo/view.php (.../view.php) (revision efa28348a96b4e32952ad0562ce54e74b93d227a)
+++ temp_moodle_dev/lamstwo/view.php (.../view.php) (revision 0878683fa8df8ae2224a2d9a43f7509919e02274)
@@ -61,7 +61,7 @@
XXX;
$customcsv = "$USER->username,$course->id,$cm->section";
- $authorurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], 0, $course->id, $LAMS2CONSTANTS->author_method, $customcsv);
+ $authorurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], 0, $course->id, $course->fullname, $course->timecreated, $LAMS2CONSTANTS->author_method, $customcsv);
echo $openauthorjs;
@@ -102,12 +102,12 @@
$links = '';
$lessonlink = $lesson->name;
if ($canparticipate) {
- $learnerurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], $lesson->lesson_id, $course->id, $LAMS2CONSTANTS->learner_method);
+ $learnerurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], $lesson->lesson_id, $course->id, $course->fullname, $course->timecreated, $LAMS2CONSTANTS->learner_method);
$learnerurl = "onclick=\"javascript:window.open('".$learnerurl."','learner','location=0,toolbar=0,menubar=0,statusbar=0,width=996,height=600,resizable',0)\"";
$lessonlink = "$lesson->name";
}
if ($canmanage) {
- $monitorurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], $lesson->lesson_id, $course->id, $LAMS2CONSTANTS->monitor_method);
+ $monitorurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], $lesson->lesson_id, $course->id, $course->fullname, $course->timecreated, $LAMS2CONSTANTS->monitor_method);
$monitorurl = "onclick=\"javascript:window.open('".$monitorurl."','monitor','location=0,toolbar=0,menubar=0,statusbar=0,width=996,height=600,resizable',0)\"";
$monitorlink = "".get_string('openmonitor', 'lamstwo')."";
$links .= $monitorlink;