--- loncom/publisher/lonrights.pm 2005/04/07 06:56:27 1.17
+++ loncom/publisher/lonrights.pm 2006/11/09 22:48:50 1.20
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to show and edit custom distribution rights
#
-# $Id: lonrights.pm,v 1.17 2005/04/07 06:56:27 albertel Exp $
+# $Id: lonrights.pm,v 1.20 2006/11/09 22:48:50 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -55,11 +55,9 @@ sub handler {
&Apache::loncommon::content_type($r,'text/html');
$r->send_http_header;
- $r->print(
- '
LON-CAPA Custom Distribution Rights'.
- &Apache::loncommon::coursebrowser_javascript().'');
+ my $js = &Apache::loncommon::coursebrowser_javascript();
- $r->print(&Apache::loncommon::bodytag('Custom Distribution Rights'));
+ $r->print(&Apache::loncommon::start_page('Custom Distribution Rights',$js));
$r->rflush();
my $uri=$r->uri;
@@ -177,7 +175,7 @@ sub handler {
my %lt=&Apache::lonlocal::texthash('ef' => 'Effect',
'do' => 'Domain',
'co' => 'Course',
- 'se' => 'Section/Group',
+ 'se' => 'Section',
'ro' => 'Role');
# ---------------------------------------------------------- Start table output
$r->print(<print('');
if ($rcourse) {
my %descript=
- &Apache::lonnet::coursedescription($rdom.'_'.$rcourse);
+ &Apache::lonnet::coursedescription($rdom.'_'.$rcourse,
+ {'one_time' => 1});
$r->print($descript{'description'}.' ');
}
if ($constructmode) {
@@ -307,7 +306,7 @@ ENDSTARTTABLE
if ($constructmode) {
$r->print('');
}
- $r->print(' |