--- loncom/interface/lonmenu.pm 2004/12/03 06:51:50 1.134
+++ loncom/interface/lonmenu.pm 2004/12/04 18:53:24 1.138
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.134 2004/12/03 06:51:50 raeburn Exp $
+# $Id: lonmenu.pm,v 1.138 2004/12/04 18:53:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -393,10 +393,10 @@ s&6&1&list.gif&list[_1]&dir[_1]&golist('
s&6&2&rtrv.gif&retrieve[_1]&version[_1]&gocstr('/adm/retrieve','/~$uname/$thisdisfn')&Retrieve old version
s&6&3&pub.gif&publish[_1]&resource[_1]&gocstr('/adm/publish','/~$uname/$thisdisfn')&Publish this resource
s&7&1&del.gif&delete[_1]&resource[_2]&gocstr('/adm/cfile?action=delete','/~$uname/$thisdisfn')&Delete this resource
-s&7&2&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout','/~$uname/$thisdisfn')&Prepare a printable document
+s&7&2&prt.gif&prepare[_1]&printout[_1]&gocstr('/adm/printout','/~$uname/$thisdisfn')&Prepare a printable document
ENDMENUITEMS
}
- } else {
+ } elsif (defined($ENV{'request.course.id'})) {
$menuitems=(<