--- loncom/interface/domainprefs.pm 2009/08/11 23:24:29 1.102
+++ loncom/interface/domainprefs.pm 2009/08/22 18:48:56 1.106
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.102 2009/08/11 23:24:29 raeburn Exp $
+# $Id: domainprefs.pm,v 1.106 2009/08/22 18:48:56 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -105,7 +105,7 @@ affiliate type (and also default, and _L
(official, unofficial and community). In each case the radio buttons allow the
selection of one of four values:
-0, approve, validate, autolimit=N (where N is blank, or a positive integer).
+0, approval, validate, autolimit=N (where N is blank, or a positive integer).
which have the following effects:
0
@@ -116,7 +116,7 @@ which have the following effects:
=back
-approve
+approval
=over
@@ -1149,7 +1149,7 @@ sub print_quotas {
my ($css_class,%titles);
if ($context eq 'requestcourses') {
@usertools = ('official','unofficial','community');
- @options =('norequest','approve','autolimit','validate');
+ @options =('norequest','approval','validate','autolimit');
%validations = &Apache::lonnet::auto_courserequest_checks($dom);
%titles = &courserequest_titles();
} else {
@@ -1222,9 +1222,12 @@ sub print_quotas {
if ($option eq 'autolimit') {
$cell{$item} .= '';
+ 'value="'.$currlimit.'" />';
}
$cell{$item} .= ' ';
+ if ($option eq 'autolimit') {
+ $cell{$item} .= $titles{'unlimited'}
+ }
}
} else {
my $checked = 'checked="checked" ';
@@ -1246,7 +1249,7 @@ sub print_quotas {
if ($context eq 'requestcourses') {
$datatable .= '
';
foreach my $item (@usertools) {
- $datatable .= '