--- loncom/interface/lonmeta.pm 2004/01/02 16:34:03 1.55
+++ loncom/interface/lonmeta.pm 2004/04/06 15:07:41 1.62
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.55 2004/01/02 16:34:03 www Exp $
+# $Id: lonmeta.pm,v 1.62 2004/04/06 15:07:41 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -212,6 +212,8 @@ sub fieldnames {
return &Apache::lonlocal::texthash(
'title' => 'Title',
'author' =>'Author(s)',
+ 'authorspace' => 'Author Space',
+ 'modifyinguser' => 'Last Modifying User',
'subject' => 'Subject',
'keywords' => 'Keyword(s)',
'notes' => 'Notes',
@@ -300,8 +302,8 @@ sub prettyprint {
($type eq 'sequsage_list')) {
return join('
',map {
my $url=&Apache::lonnet::clutter($_);
- '
'.&Apache::lonnet::gettitle($url).''.
- &Apache::lonhtmlcommon::crumbs($url,'preview','');
+ ''.&Apache::lonnet::gettitle($url).''.
+ &Apache::lonhtmlcommon::crumbs($url,'preview','',undef,'+0');
} split(/\s*\,\s*/,$value));
}
# Evaluations
@@ -432,7 +434,30 @@ sub handler {
my $uri=$r->uri;
- unless ($uri=~/^\/\~/) {
+# ====================================================== Looking for all bombs?
+ if ($uri=~/\/adm\/bombs\/(.*)$/) {
+# ----------------------------------------------------------- Set document type
+ $uri=&Apache::lonnet::declutter($1);
+ &Apache::loncommon::content_type($r,'text/html');
+ $r->send_http_header;
+
+ return OK if $r->header_only;
+ $r->print(&Apache::loncommon::bodytag('Error Messages'));
+ $r->print('