--- loncom/interface/lonuserutils.pm 2014/02/05 18:02:15 1.161
+++ loncom/interface/lonuserutils.pm 2014/02/14 17:44:00 1.162
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.161 2014/02/05 18:02:15 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.162 2014/02/14 17:44:00 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1394,9 +1394,9 @@ sub default_role_selector {
&default_course_roles($context,$checkpriv,'Course',%customroles)."\n".
'
'.
''.
- ''.
+ ' | '.
$lt{'exs'}.'
| '.
' | '.
''.$lt{'new'}.' '.
@@ -3005,10 +3005,10 @@ END
if ($mode eq 'autoenroll') {
my $cellentry;
if ($in{'type'} eq 'auto') {
- $cellentry = ''.&mt('auto').' ';
+ $cellentry = ''.&mt('auto').' ';
$autocount ++;
} else {
- $cellentry = ''.&mt('manual').' | | ';
+ $cellentry = ''.&mt('manual').' | | ';
$manualcount ++;
if ($in{'lockedtype'}) {
$cellentry .= '';
@@ -3139,10 +3139,10 @@ END
$r->print(&Apache::loncommon::end_data_table().' ');
} elsif ($mode eq 'excel') {
$excel_workbook->close();
- $r->print(&mt('[_1]Your Excel spreadsheet[_2] is ready for download.', '','')." \n");
+ $r->print(''.&mt('[_1]Your Excel spreadsheet[_2] is ready for download.', '','')." \n");
} elsif ($mode eq 'csv') {
close($CSVfile);
- $r->print(&mt('[_1]Your CSV file[_2] is ready for download.', '','')." \n");
+ $r->print(''.&mt('[_1]Your CSV file[_2] is ready for download.', '','')." \n");
$r->rflush();
}
if ($mode eq 'autoenroll') {
@@ -3840,7 +3840,6 @@ sub show_drop_list {
$check_uncheck_js
// ]]>
-
END
my ($indexhash,$keylist) = &make_keylist_array();
@@ -3877,6 +3876,7 @@ END
$classlist,$keylist,$cdom,$cnum);
my %lt=&Apache::lonlocal::texthash('usrn' => "username",
'dom' => "domain",
+ 'id' => "ID",
'sn' => "student name",
'mn' => "member name",
'sec' => "section",
@@ -3895,7 +3895,7 @@ END
| |
$lt{'usrn'} |
$lt{'dom'} |
- ID |
+ $lt{'id'} |
$nametitle |
$lt{'sec'} |
$lt{'start'} |
@@ -3909,21 +3909,21 @@ END
$r->print(<
- $lt{'usrn'}
+ $lt{'usrn'}
|
- $lt{'dom'}
+ $lt{'dom'}
|
- ID
+ $lt{'id'}
|
- $nametitle
+ $nametitle
|
- $lt{'sec'}
+ $lt{'sec'}
|
- $lt{'start'}
+ $lt{'start'}
|
- $lt{'end'}
+ $lt{'end'}
|
- $lt{'groups'}
+ $lt{'groups'}
|
END
$r->print(&Apache::loncommon::end_data_table_header_row());
@@ -3994,7 +3994,6 @@ END
$btn = $lt{'dm'};
}
$r->print(<<"END");
-
@@ -4820,7 +4819,7 @@ sub print_drop_menu {
} else {
&show_drop_list($r,$classlist,'nosort',$permission,$crstype);
}
- $r->print(''. &Apache::loncommon::end_page());
+ $r->print('');
return;
}
---|
|
| |