--- loncom/interface/lonpickcourse.pm 2007/11/06 04:39:19 1.67
+++ loncom/interface/lonpickcourse.pm 2009/03/16 16:05:40 1.77
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Pick a course
#
-# $Id: lonpickcourse.pm,v 1.67 2007/11/06 04:39:19 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.77 2009/03/16 16:05:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -104,7 +104,7 @@ sub handler {
# if called to assign a role in a course to a user via CUSR
if ($env{'form.form'} eq 'cu' || $env{'form.form'} eq 'studentform') {
- $r->print(&create_user_javascript($type));
+ $r->print(&create_user_javascript($type));
}
# print javascript functions for choosing a course
@@ -215,9 +215,35 @@ sub display_matched_courses {
if ($env{'form.form'} eq 'portform') {
$action = '/adm/portfolio';
}
+ my $numcourses = keys(%courses);
$r->print('
-
-|;
+ $output .= &Apache::lonhtmlcommon::row_title($lt{'cde'})
+ .' '
+ .&Apache::lonhtmlcommon::row_closure(1);
+ }
+ $output .= &Apache::lonhtmlcommon::end_pick_box();
+ $output .= '
'."\n".''."\n".' '."\n";
return $output;
}
@@ -464,7 +530,7 @@ sub search_courses {
my ($r,$type,$onlyown,$filter) = @_;
my %courses;
if (!$onlyown) {
- $r->print(&mt('Searching').' ... ');
+ $r->print(&mt('Searching ...').' ');
$r->rflush();
if (($filter->{'ownerfilter'} ne '') ||
($filter->{'ownerdomfilter'} ne '')) {
@@ -504,7 +570,7 @@ sub course_chooser {
if ($multiple) {
$output = ' '."\n";
} else {
- $output = ' '."\n";
}
return $output;
@@ -647,7 +713,7 @@ Course Owner's Username - the username o
Course Owner's Domain - the domain of the owner of the course
=item *
-Course Description - text which appears in the Course Description (or title), as set in the Course Parameters.
+Course Title - text which appears in the Course Title, as set in the Course Parameters.
=item *
Course ID - the internal course number (course ID part after initial 'domain_') used by LON-CAPA (this criterion is only displayed to Domain Coordinators selecting a course in the same domain as their DC role).