--- loncom/interface/slotrequest.pm 2009/05/16 22:50:35 1.98 +++ loncom/interface/slotrequest.pm 2009/08/13 10:32:29 1.103 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.98 2009/05/16 22:50:35 raeburn Exp $ +# $Id: slotrequest.pm,v 1.103 2009/08/13 10:32:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1736,7 +1736,7 @@ ENDSCRIPT } } else { $r->print('' - .&mt('There are no transactions to display') + .&mt('There are no transactions to display.') .'' ); } @@ -1933,7 +1933,7 @@ function chgPage(caller) { ENDSCRIPT } } else { - $r->print(&mt('There are no records to display')); + $r->print(&mt('There are no records to display.')); } $r->print(''. ''. @@ -2052,36 +2052,41 @@ sub display_filter { } $output .= '  '. - ''. - &mt('[_1]Note:[_2] Only changes made from servers running LON-CAPA 2.8.99.0 or later are displayed.'); + '

'. + &mt('Only changes made from servers running LON-CAPA [_1] or later are displayed.' + ,'2.9.0'); if ($version) { - $output .= ' '.&mt('This server is version [_3].','','',$version); + $output .= ' '.&mt('This LON-CAPA server is version [_1]',$version); } - $output .= '



'; + $output .= '



'; return $output; } sub upload_start { my ($r)=@_; - $r->print(&Apache::grades::checkforfile_js()); - my $result.=''."\n"; - $result.='
'."\n"; - $result.=' '. - &mt('Specify a file containing the slot definitions.'). - '
'."\n"; - my $upfile_select=&Apache::loncommon::upfile_select_html(); - my $ignore=&mt('Ignore First Line'); - $result.=< - -$upfile_select -
- - -ENDUPFORM - $result.='
'."\n"; - $result.=''."\n"; - $r->print($result); + $r->print( + &Apache::grades::checkforfile_js() + .'

'.&mt('Specify a file containing the slot definitions.').'

' + .'
' + .'' + .&Apache::lonhtmlcommon::start_pick_box() + .&Apache::lonhtmlcommon::row_title(&mt('File')) + .&Apache::loncommon::upfile_select_html() + .&Apache::lonhtmlcommon::row_closure() + .&Apache::lonhtmlcommon::row_title( + '') + .'' + .&Apache::lonhtmlcommon::row_closure(1) + .&Apache::lonhtmlcommon::end_pick_box() + .'

' + .'' + .'

' + .'
' + ); } sub csvuploadmap_header { @@ -2103,7 +2108,7 @@ sub csvuploadmap_header { Total number of records found in file: $distotal
Enter as many fields as you can. The system will inform you and bring you back to this page if the data selected is insufficient to create the slots.
- + @@ -2128,7 +2133,7 @@ sub csvuploadmap_footer { -
+
ENDPICK }