[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
bisitz
bisitz@source.lon-capa.org
Mon, 14 Dec 2009 14:39:23 -0000
bisitz Mon Dec 14 14:39:23 2009 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
Bug 6154: Don't display page header and inline menu on metadata popup page.
Also added h1 header as replacement for the now missing header.
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.238 loncom/interface/lonmeta.pm:1.239
--- loncom/interface/lonmeta.pm:1.238 Tue Dec 1 18:34:02 2009
+++ loncom/interface/lonmeta.pm Mon Dec 14 14:39:23 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.238 2009/12/01 18:34:02 bisitz Exp $
+# $Id: lonmeta.pm,v 1.239 2009/12/14 14:39:23 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -846,10 +846,14 @@
'text' => 'Metadata',
'href' => '',
});
- $r->print(&Apache::loncommon::start_page('Metadata',
- undef,
- {'domain' => $resdomain,}));
- $r->print(&pageheader());
+ $r->print(
+ &Apache::loncommon::start_page(
+ 'Metadata',
+ undef,
+ {'domain' => $resdomain,
+ 'only_body' => 1,})
+ .'<h1>'.&mt('Metadata').'</h1>'
+ );
&present_uneditable_metadata($r,$uri);
}
$r->print(&Apache::loncommon::end_page());