--- loncom/interface/lonparmset.pm 2010/01/25 21:58:31 1.413.4.3 +++ loncom/interface/lonparmset.pm 2010/01/25 22:11:57 1.413.4.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set parameters for assessments # -# $Id: lonparmset.pm,v 1.413.4.3 2010/01/25 21:58:31 raeburn Exp $ +# $Id: lonparmset.pm,v 1.413.4.4 2010/01/25 22:11:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3183,10 +3183,13 @@ ENDMAINFORMHEAD my $vgr = &Apache::lonnet::allowed('vgr',$env{'request.course.id'}); my $mgr = &Apache::lonnet::allowed('mgr',$env{'request.course.id'}); + my $crstype = &Apache::loncommon::course_type(); + my $lc_crstype = lc($crstype); + my @menu = - ( { divider=>'Settings for Your Course', + ( { divider=>"Settings for Your $crstype", }, - { text => 'Edit course configuration', + { text => "Edit $lc_crstype configuration", url => '/adm/courseprefs?origin=params', permission => $parm_permission, help => 'Course_Environment', @@ -3195,7 +3198,7 @@ ENDMAINFORMHEAD action => 'setrestrictmeta', permission => $parm_permission, }, - { text => 'Manage Course Slots', + { text => "Manage $crstype Slots", url => '/adm/slotrequest?command=showslots', permission => $vgr, }, @@ -3232,7 +3235,7 @@ ENDMAINFORMHEAD permission => $parm_permission, help => 'Parameter_Overview', }, - { text => 'Parameter Change Log and Course Blog Posting/User Notification', + { text => "Parameter Change Log and $crstype Blog Posting/User Notification", action => 'parameterchangelog', permission => $parm_permission, },