--- loncom/homework/grades.pm 2009/04/16 16:36:32 1.562
+++ loncom/homework/grades.pm 2010/01/06 18:43:57 1.581.2.1
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.562 2009/04/16 16:36:32 bisitz Exp $
+# $Id: grades.pm,v 1.581.2.1 2010/01/06 18:43:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -183,7 +183,8 @@ sub get_display_part {
my ($partID,$symb)=@_;
my $display=&Apache::lonnet::EXT('resource.'.$partID.'.display',$symb);
if (defined($display) and $display ne '') {
- $display.= " (id $partID)";
+ $display.= ' ('
+ .&mt('Part ID: [_1]',$partID).')';
} else {
$display=$partID;
}
@@ -217,9 +218,9 @@ sub showResourceInfo {
$partsseen{$partID}=1;
}
my $display_part=&get_display_part($partID,$symb);
- $result.='
'.&mt('Part').': '.$display_part.
+ $result.=' | '.&mt('Part: [_1]',$display_part).''.
' '.$resID.' | '.
- ''.&mt('Type').': '.$responsetype.' | ';
+ ''.&mt('Type: [_1]',$responsetype).' | ';
# ''.&mt('Handgrade: [_1]',$handgrade).' | ';
}
}
@@ -1044,7 +1045,7 @@ LISTJAVASCRIPT
$gradeTable.= &Apache::loncommon::start_data_table_row();
}
$gradeTable.=''.$ctr.' | '.
- ' | '."\n".''.
&nameUserString(undef,$$fullname{$student},$uname,$udom).
@@ -1551,8 +1552,8 @@ INNERJS
pDoc.write("");
pDoc.write(" Compose Message for \"+fullname+\"<\\/span><\\/h3>
");
- pDoc.write("");
- pDoc.write("");
+ pDoc.write('');
+ pDoc.write('');
pDoc.write("Type<\\/b><\\/td> | Include<\\/b><\\/td> | Message<\\/td><\\/tr>");
}
function displaySubject(msg,shwsel) {
@@ -1636,8 +1637,8 @@ INNERJS
hDoc.write(" |
|
|
|