--- loncom/interface/lonmeta.pm 2007/01/12 20:04:16 1.195 +++ loncom/interface/lonmeta.pm 2008/12/12 10:01:25 1.219 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.195 2007/01/12 20:04:16 raeburn Exp $ +# $Id: lonmeta.pm,v 1.219 2008/12/12 10:01:25 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -42,24 +42,6 @@ use Apache::lonmsg; use LONCAPA qw(:DEFAULT :match); -############################################################ -############################################################ -## -## &get_dynamic_metadata_from_sql($url) -## -## Queries sql database for dynamic metdata -## Returns a hash of hashes, with keys of urls which match $url -## Returned fields are given below. -## -## Examples: -## -## %DynamicMetadata = &Apache::lonmeta::get_dynmaic_metadata_from_sql -## ('/res/msu/korte/'); -## -## $DynamicMetadata{'/res/msu/korte/example.problem'}->{$field} -## -############################################################ -############################################################ sub get_dynamic_metadata_from_sql { my ($url) = shift(); my ($authordom,$author)=($url=~m{^/res/($match_domain)/($match_username)/}); @@ -182,7 +164,7 @@ sub evalgraph { my $val=int($value*10.+0.5)-10; my $output='
  | '; + $output.=''; } else { $output.=' | '. ' | '; @@ -192,7 +174,7 @@ sub evalgraph { $output.=' | '. ' | '; } else { - $output.=' |   | '; + $output.=''; } $output.=' | ('.sprintf("%5.2f",$value).') |