--- loncom/interface/lonprintout.pm 2002/07/16 20:30:53 1.38
+++ loncom/interface/lonprintout.pm 2002/08/01 19:48:18 1.44
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.38 2002/07/16 20:30:53 www Exp $
+# $Id: lonprintout.pm,v 1.44 2002/08/01 19:48:18 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -71,19 +71,23 @@ sub menu_for_output {
Current document
(you will print what you see on the screen)
+ENDMENUOUT1
+ if (not $ENV{'request.role'}=~m/^au\./) {
+ $r->print(< All problems from the primary sequence
The whole primary sequence (problems plus all html and xml files)
All problems from the top level sequence
-ENDMENUOUT1
- my $subdirtoprint = &Apache::lonnet::filelocation("",$ENV{'form.url'});
- $subdirtoprint =~ s/\/[^\/]+$//;
- if (&Apache::lonnet::allowed('bre',$subdirtoprint) eq 'F') {
- $r->print(< All problems from current subdirectory (where this particular problem is)
ENDMENUOUT2
-}
- $r->print(<print(< All problems from current subdirectory (where this particular problem is)
+ENDMENUOUT4
+ }
+ $r->print(<