--- loncom/interface/courseprefs.pm 2012/12/21 18:51:49 1.51
+++ loncom/interface/courseprefs.pm 2013/01/08 15:12:41 1.54
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.51 2012/12/21 18:51:49 bisitz Exp $
+# $Id: courseprefs.pm,v 1.54 2013/01/08 15:12:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -549,9 +549,13 @@ sub print_config_box {
'
'.
- &mt($item->{text}).' '.
- &Apache::loncommon::help_open_topic($item->{'help'}).' | '."\n".
- '
';
+ &mt($item->{text});
+ if ($item->{'help'}) {
+ $output .= ' '.
+ &Apache::loncommon::help_open_topic($item->{'help'});
+ }
+ $output .= ''."\n".
+ '';
if (($action eq 'feedback') || ($action eq 'classlists')) {
$output .= '
@@ -624,7 +628,7 @@ sub print_config_box {
$output .= &print_feedback('bottom',$cdom,$settings,$ordered,$itemtext,\$rowtotal);
} elsif ($action eq 'discussion') {
$output .= &print_discussion($cdom,$settings,$ordered,$itemtext,\$rowtotal);
- } elsif ($action eq 'classlists') {
+ } elsif (($action eq 'classlists') || ($action eq 'viewableroster')) {
$output .= &print_classlists('bottom',$cdom,$settings,$itemtext,\$rowtotal,$crstype);
} elsif ($action eq 'appearance') {
$output .= &print_appearance($cdom,$settings,$ordered,$itemtext,\$rowtotal,$crstype);
@@ -3479,7 +3483,7 @@ sub print_printouts {
A6 => &mt('A6').' [105x148 mm]',
},
order => ['Letter','Legal','Tabloid','Executive','A2','A3','A4','A5','A6'],
- nullval => 'None specified',
+ nullval => &mt('None specified'),
},
print_header_format => {
text => ''.&mt($itemtext->{'print_header_format'}).'',
@@ -3497,7 +3501,7 @@ sub print_printouts {
0 => &mt('No'),
},
order => ['1','0'],
- nullval => 'None specified - use domain default',
+ nullval => &mt('None specified - use domain default'),
}
);
return &make_item_rows($cdom,\%items,$ordered,$settings,$rowtotal,$crstype);