[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonstatistics.pm
raeburn
raeburn at source.lon-capa.org
Sat May 11 17:48:06 EDT 2013
raeburn Sat May 11 21:48:06 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonstatistics.pm
Log:
- For 2.11
- Backport 1.158, and on change missed in 1.156.2.2 (backport of 1.157).
Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.156.2.2 loncom/interface/lonstatistics.pm:1.156.2.3
--- loncom/interface/lonstatistics.pm:1.156.2.2 Mon Mar 18 01:28:27 2013
+++ loncom/interface/lonstatistics.pm Sat May 11 21:48:06 2013
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstatistics.pm,v 1.156.2.2 2013/03/18 01:28:27 raeburn Exp $
+# $Id: lonstatistics.pm,v 1.156.2.3 2013/05/11 21:48:06 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -615,7 +615,7 @@
# Output some of the standard interface components
my $Str;
$Str .= &Apache::lonhtmlcommon::breadcrumbs('Select One Student');
- $Str .= '<p><table cellspacing="5">'."\n";
+ $Str .= '<table cellspacing="5">'."\n";
$Str .= '<tr>';
$Str .= '<th align="center"><b>'.&mt('Sections').'</b></th>';
$Str .= '<th align="center"><b>'.&mt('Groups').'</b></th>';
@@ -633,7 +633,7 @@
'</td>';
$Str .= '</tr>'.$/;
- $Str .= '</table></p>';
+ $Str .= '</table>';
$Str .= '<input type="submit" name="selectstudent" value="'.
&mt('Update Display').'" />';
$r->print($Str);
@@ -696,8 +696,8 @@
.&Apache::loncommon::start_data_table_header_row();
foreach my $field (@Fields) {
$Str .= '<th><a href="/adm/statistics?'.
- 'reportSelected=student_assessment&'.
- 'selectstudent=1&'.
+ 'reportSelected=student_assessment&'.
+ 'selectstudent=1&'.
'sort='.$field.'">'.&mt($field).
'</a></th>';
}
@@ -712,8 +712,8 @@
if ($field eq 'fullname' || $field eq 'username') {
$Str .= '<a href="/adm/statistics?reportSelected=';
$Str .= &escape('student_assessment');
- $Str .= '&sort='.&escape($env{'form.sort'});
- $Str .= '&SelectedStudent=';
+ $Str .= '&sort='.&escape($env{'form.sort'});
+ $Str .= '&SelectedStudent=';
$Str .= &escape($sname).'">';
$Str .= $student->{$field};
$Str .= '</a>';
@@ -725,7 +725,6 @@
} else {
$Str .= $student->{$field};
}
- $Str .= $student->{$field};
}
$Str .= '</td>';
}
More information about the LON-CAPA-cvs
mailing list