--- loncom/interface/lonpickcourse.pm 2009/05/08 17:22:17 1.81 +++ loncom/interface/lonpickcourse.pm 2009/07/25 23:16:04 1.83 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.81 2009/05/08 17:22:17 raeburn Exp $ +# $Id: lonpickcourse.pm,v 1.83 2009/07/25 23:16:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,18 +54,18 @@ sub handler { my ($type,$title,$jscript,$multelement,$multiple,$roleelement, $lastaction,$autosubmit,$submitopener); - # Get course type - Course or Non-standard Course. + # Get course type - Course or Community. $type = $env{'form.type'}; if (!defined($env{'form.type'})) { $type = 'Course'; } - $title = &mt('Selecting a [_1]',$type); + $title = 'Selecting a '.$type; # Setup for multiple course selections, if flag for multiples set. $multiple = $env{'form.multiple'}; if ($multiple) { ($jscript,$multelement) = &multiples_tag(); - $title = &mt('Selecting [_1](s)',lc($type)); + $title = 'Selecting '.$type.'(s)'; } # if called when a DC is selecting a course @@ -545,7 +545,7 @@ sub build_filters { ''."\n"; } } - foreach my $posstype ('Course','Non-standard Course') { + foreach my $posstype ('Course','Community') { $typeselectform.='\n"; } @@ -753,7 +753,7 @@ sub gochoose_javascript { total => 'coursetotal', list => 'courselist', }, - 'Non-standard Course' => { + 'Community' => { name => 'grouppick', total => 'grouptotal', list => 'grouplist', @@ -870,7 +870,7 @@ Course Activity - how recently was cours Course Domain - the domain of the course =item * -Course Type - Course or Non-standard Course +Course Type - Course or Community =item * Course Institutional Code - the institutional identifier assigned to the course @@ -923,7 +923,7 @@ Following selection, and/or submission, X B: -Input: 1 - $type - the course type - Course or Non-standard Course +Input: 1 - $type - the course type - Course or Community Output: 1 - $output - javascript wrapped in EscriptEE/scriptE tags