[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn@source.lon-capa.org
Mon, 22 Feb 2010 18:28:14 -0000
raeburn Mon Feb 22 18:28:14 2010 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Better use of blank space when setting course requests configuration.
- Trailing ; to terminate lines in perl, where missing.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.126 loncom/interface/domainprefs.pm:1.127
--- loncom/interface/domainprefs.pm:1.126 Fri Feb 19 15:41:40 2010
+++ loncom/interface/domainprefs.pm Mon Feb 22 18:28:13 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.126 2010/02/19 15:41:40 bisitz Exp $
+# $Id: domainprefs.pm,v 1.127 2010/02/22 18:28:13 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1327,15 +1327,15 @@
$cell{$item} .= '<span class="LC_nobreak"><label>'.
'<input type="radio" name="crsreq_'.$item.
'_'.$type.'" value="'.$val.'"'.$checked.' />'.
- $titles{$option}.'</label> ';
+ $titles{$option}.'</label>';
if ($option eq 'autolimit') {
- $cell{$item} .= '<input type="text" name="crsreq_'.
+ $cell{$item} .= ' <input type="text" name="crsreq_'.
$item.'_limit_'.$type.'" size="1" '.
'value="'.$currlimit.'" />';
}
- $cell{$item} .= '</span> ';
+ $cell{$item} .= '</span> ';
if ($option eq 'autolimit') {
- $cell{$item} .= $titles{'unlimited'}
+ $cell{$item} .= $titles{'unlimited'};
}
}
} else {
@@ -1435,13 +1435,13 @@
'_default" value="'.$val.'"'.$checked.' />'.
$titles{$option}.'</label>';
if ($option eq 'autolimit') {
- $defcell{$item} .= '<input type="text" name="crsreq_'.
+ $defcell{$item} .= ' <input type="text" name="crsreq_'.
$item.'_limit_default" size="1" '.
'value="'.$currlimit.'" />';
}
- $defcell{$item} .= '</span> ';
+ $defcell{$item} .= '</span> ';
if ($option eq 'autolimit') {
- $defcell{$item} .= $titles{'unlimited'}
+ $defcell{$item} .= $titles{'unlimited'};
}
}
} else {
@@ -1538,13 +1538,13 @@
'__LC_adv" value="'.$val.'"'.$checked.' />'.
$titles{$option}.'</label>';
if ($option eq 'autolimit') {
- $advcell{$item} .= '<input type="text" name="crsreq_'.
+ $advcell{$item} .= ' <input type="text" name="crsreq_'.
$item.'_limit__LC_adv" size="1" '.
'value="'.$currlimit.'" />';
}
- $advcell{$item} .= '</span> ';
+ $advcell{$item} .= '</span> ';
if ($option eq 'autolimit') {
- $advcell{$item} .= $titles{'unlimited'}
+ $advcell{$item} .= $titles{'unlimited'};
}
}
} else {