--- loncom/interface/lonuserutils.pm 2009/04/22 17:19:10 1.88
+++ loncom/interface/lonuserutils.pm 2009/06/05 12:49:50 1.94
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.88 2009/04/22 17:19:10 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.94 2009/06/05 12:49:50 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -328,7 +328,7 @@ sub print_upload_manager_header {
&javascript_validations('upload',$krbdefdom,$password_choice,undef,
$env{'request.role.domain'},$context,
$groupslist);
- my $checked=(($env{'form.noFirstLine'})?' checked="checked" ':'');
+ my $checked=(($env{'form.noFirstLine'})?' checked="checked"':'');
$r->print(&mt('Total number of records found in file: [_1]',''.$distotal.'').
" \n");
$r->print('
'.
@@ -401,7 +401,7 @@ sub javascript_validations {
krb => 'You need to specify the Kerberos domain.',
ipass => 'You need to specify the initial password.',
name => 'The optional name field was not specified.',
- snum => 'The optional ID number field was not specified.',
+ snum => 'The optional student/employee ID field was not specified.',
section => 'The optional section field was not specified.',
email => 'The optional e-mail address field was not specified.',
role => 'The optional role field was not specified.',
@@ -845,7 +845,7 @@ sub forceid_change {
if ($context eq 'domain') {
$output .= ' '."\n";
}
$output .= '';
@@ -1332,7 +1332,7 @@ sub print_userlist {
.''.(' 'x3)."\n");
my $roleselected = '';
if ($env{'form.showrole'} eq 'Any') {
- $roleselected = ' selected="selected" ';
+ $roleselected = ' selected="selected"';
}
my ($cnum,$cdom);
$r->print(&role_filter($context));
@@ -1526,7 +1526,7 @@ sub role_filter {
my $output;
my $roleselected = '';
if ($env{'form.showrole'} eq 'Any') {
- $roleselected = ' selected="selected" ';
+ $roleselected = ' selected="selected"';
}
my ($role_select);
if ($context eq 'domain') {
@@ -1542,7 +1542,7 @@ sub role_filter {
foreach my $role (@poss_roles) {
$roleselected = '';
if ($role eq $env{'form.showrole'}) {
- $roleselected = ' selected="selected" ';
+ $roleselected = ' selected="selected"';
}
my $plrole;
if ($role eq 'cr') {
@@ -2153,7 +2153,7 @@ END
END
if ($actionselect) {
$output .= <<"END";
-