[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 09 Feb 2004 20:22:18 -0000
matthew Mon Feb 9 15:22:18 2004 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
&prettyprint was not being invoked properly.
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.59 loncom/interface/lonmeta.pm:1.60
--- loncom/interface/lonmeta.pm:1.59 Thu Jan 15 15:22:47 2004
+++ loncom/interface/lonmeta.pm Mon Feb 9 15:22:18 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.59 2004/01/15 20:22:47 www Exp $
+# $Id: lonmeta.pm,v 1.60 2004/02/09 20:22:18 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -561,7 +561,7 @@
'goto','goto_list',
'course','course_list') {
$r->print('<tr><td bgcolor="#AAAAAA">'.$lt{$_}.'</td><td bgcolor="#CCCCCC">'.
- &prettyprint($dynmeta{$_})."</td></tr>\n");
+ &prettyprint($_,$dynmeta{$_})."</td></tr>\n");
}
$r->print('</table>');
if ($uri=~/\.(problem|exam|quiz|assess|survey|form)\.meta$/) {
@@ -570,14 +570,14 @@
'<h4>'.&mt('Assessment Statistical Data').'</h4><table cellspacing=2 border=0>');
foreach ('stdno','avetries','difficulty') {
$r->print('<tr><td bgcolor="#AAAAAA">'.$lt{$_}.'</td><td bgcolor="#CCCCCC">'.
- &prettyprint($dynmeta{$_})."</td></tr>\n");
+ &prettyprint($_,$dynmeta{$_})."</td></tr>\n");
}
$r->print('</table>');
}
$r->print('<h4>'.&mt('Evaluation Data').'</h4><table cellspacing=2 border=0>');
foreach ('clear','depth','helpful','correct','technical') {
$r->print('<tr><td bgcolor="#AAAAAA">'.$lt{$_}.'</td><td bgcolor="#CCCCCC">'.
- &prettyprint($dynmeta{$_})."</td></tr>\n");
+ &prettyprint($_,$dynmeta{$_})."</td></tr>\n");
}
$r->print('</table>');
$uri=~/^\/res\/(\w+)\/(\w+)\//;