--- loncom/interface/courseprefs.pm 2012/12/21 18:51:49 1.51
+++ loncom/interface/courseprefs.pm 2012/12/31 14:43:09 1.52
@@ -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.52 2012/12/31 14:43:09 raeburn 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);