--- loncom/interface/lonmeta.pm 2011/10/22 22:16:07 1.241
+++ loncom/interface/lonmeta.pm 2011/11/07 20:05:56 1.243
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.241 2011/10/22 22:16:07 www Exp $
+# $Id: lonmeta.pm,v 1.243 2011/11/07 20:05:56 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -874,7 +874,7 @@ sub report_bombs {
$uri = &Apache::lonnet::declutter($uri);
$r->print('
'.&Apache::lonnet::clutter($uri).'
');
my ($domain,$author)=($uri=~/^($match_domain)\/($match_username)\//);
- if (&Apache::loncacc::constructaccess('/~'.$author.'/',$domain)) {
+ if (&Apache::loncacc::constructaccess('/priv/'.$domain.'/'.$author.'/')) {
if ($env{'form.clearbombs'}) {
&Apache::lonmsg::clear_author_res_msg($uri);
}
@@ -1053,7 +1053,7 @@ sub print_dynamic_metadata {
}
#
# Assessment statistics
- if ($uri=~/\.(problem|exam|quiz|assess|survey|form)$/) {
+ if ($uri=~/$LONCAPA::assess_re/) {
if (exists($dynmeta{'stdno'}) ||
exists($dynmeta{'avetries'}) ||
exists($dynmeta{'difficulty'}) ||