--- loncom/interface/coursecatalog.pm 2010/09/07 03:00:38 1.64
+++ loncom/interface/coursecatalog.pm 2012/10/04 13:41:10 1.71
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for displaying the course catalog interface
#
-# $Id: coursecatalog.pm,v 1.64 2010/09/07 03:00:38 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.71 2012/10/04 13:41:10 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -283,7 +283,6 @@ sub instcode_course_selector {
$r->print(''."\n".
''."\n".
''."\n".
- ''."\n".
''.
''.&mt('De-select').'';
for (my $j=0; $j<@{$cats[$shallower]{$container}}; $j++) {
my $name = $cats[$shallower]{$container}[$j];
- my $item = &escape($name).':'.$container.':'.$shallower;
+ my $item = &escape($name).':'.&escape($container).':'.$shallower;
my $selected = '';
if ($item eq $env{'form.currcat_'.$shallower}) {
$selected = ' selected="selected"';
@@ -523,9 +522,9 @@ sub additional_filters {
}
my $selfenroll_text;
if ($env{'form.currcat_0'} eq 'communities::0') {
- $selfenroll_text = &mt('Only show communities which allow self-enrollment');
+ $selfenroll_text = &mt('Only show communities which currently allow self-enrollment (or will allow it in the future)');
} else {
- $selfenroll_text = &mt('Only show courses which allow self-enrollment');
+ $selfenroll_text = &mt('Only show courses which currently allow self-enrollment (or will allow it in the future)');
}
$output .= '
'.
' |