--- loncom/interface/lonpickcourse.pm 2011/01/25 02:49:42 1.101
+++ loncom/interface/lonpickcourse.pm 2013/02/05 17:02:40 1.105
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Pick a course
#
-# $Id: lonpickcourse.pm,v 1.101 2011/01/25 02:49:42 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.105 2013/02/05 17:02:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -133,8 +133,7 @@ sub handler {
$onlyown) {
$r->print(&gochoose_javascript($type,$multiple,$autosubmit,$lastaction));
}
- $r->print('');
+ $r->print(&Apache::lonhtmlcommon::scripttag($jscript));
$r->print($submitopener);
# ------------------------------------------ Display of filters to limit search
@@ -364,9 +363,9 @@ sub display_matched_courses {
}
if ($numcourses > 1 && $multiple) {
- $r->print('print('
-
');
}
@@ -494,9 +493,9 @@ sub display_matched_courses {
}
if (!%courses) {
- $r->print(&mt('None found'));
+ $r->print('
'.&mt('None found').'
'); } elsif ($multiple) { - $r->print(''); + $r->print(''); } $r->print(''. "\n".''."\n". @@ -645,7 +644,7 @@ sub build_filters { } else { $typeselectform = ''; } } - $output .= ''."\n". + $output .= ''."\n". ''."\n".''."\n".'