Index: temp_moodle_dev/lamstwo/view.php =================================================================== diff -u -rc440b24fcf2fa3d03b1820c66628ac217d56344a -refa28348a96b4e32952ad0562ce54e74b93d227a --- temp_moodle_dev/lamstwo/view.php (.../view.php) (revision c440b24fcf2fa3d03b1820c66628ac217d56344a) +++ temp_moodle_dev/lamstwo/view.php (.../view.php) (revision efa28348a96b4e32952ad0562ce54e74b93d227a) @@ -68,7 +68,7 @@ echo '
'; echo '
'; echo "  "; + onclick=\"openAuthor('$authorurl','author','location=0,toolbar=0,menubar=0,statusbar=0,width=996,height=700,resizable',0)\" />  "; echo "
wwwroot/mod/lamstwo/add.php\">"; echo '
'; echo ""; @@ -103,12 +103,12 @@ $lessonlink = $lesson->name; if ($canparticipate) { $learnerurl = lamstwo_get_url($USER->username, $locale['lang'], $locale['country'], $lesson->lesson_id, $course->id, $LAMS2CONSTANTS->learner_method); - $learnerurl = "onclick=\"javascript:window.open('".$learnerurl."','learner','location=0,toolbar=0,menubar=0,statusbar=0,width=796,height=570,resizable',0)\""; + $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 = "onclick=\"javascript:window.open('".$monitorurl."','monitor','location=0,toolbar=0,menubar=0,statusbar=0,width=796,height=570,resizable',0)\""; + $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; }