Index: weblib.php =================================================================== RCS file: /cvsroot/moodle/moodle/lib/weblib.php,v retrieving revision 1.970.2.82 diff -u -r1.970.2.82 weblib.php --- weblib.php 2 May 2008 02:20:36 -0000 1.970.2.82 +++ weblib.php 2 May 2008 02:32:39 -0000 @@ -1,4 +1,4 @@ -id .'&course='. $courseid ; if ($target) { - $target=' target="_blank"'; + $target='onclick="return openpopup(\''.$url.'\');"'; } - $output = ''; + $output = ''; } else { $output = ''; }