[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
www
lon-capa-cvs@mail.lon-capa.org
Tue, 02 Sep 2003 15:49:42 -0000
www Tue Sep 2 11:49:42 2003 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Bug #2119: Double "Main Menu" but not "Forward" and "Backward" on uploaded
non-directly rendered files. Removed earlier hack.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.71 loncom/interface/londocs.pm:1.72
--- loncom/interface/londocs.pm:1.71 Tue Aug 5 08:47:21 2003
+++ loncom/interface/londocs.pm Tue Sep 2 11:49:42 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.71 2003/08/05 12:47:21 www Exp $
+# $Id: londocs.pm,v 1.72 2003/09/02 15:49:42 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -513,7 +513,6 @@
my $script='';
my $allowed;
my $events='';
- my $buttons='';
my $showdoc=0;
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},
['folder','foldername']);
@@ -535,7 +534,6 @@
$script='</script>'.&Apache::lonmenu::registerurl(1,undef).'<script>';
$events='onLoad="'.&Apache::lonmenu::loadevents.
'" onUnload="'.&Apache::lonmenu::unloadevents.'"';
- $buttons=&Apache::lonmenu::menubuttons(1,undef);
}
# get course data
@@ -648,8 +646,8 @@
}
# -------------------------------------------------------------------- Body tag
$r->print('</head>'.
- &Apache::loncommon::bodytag('Course Documents','',$events).
- $buttons);
+ &Apache::loncommon::bodytag('Course Documents','',$events,
+ '','',$showdoc));
unless ($showdoc) {
if ($allowed) {
$r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc',