[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 28 Aug 2003 20:36:48 -0000


sakharuk		Thu Aug 28 16:36:48 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Log and Tex files are seen only for advanced users.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.223 loncom/interface/lonprintout.pm:1.224
--- loncom/interface/lonprintout.pm:1.223	Mon Aug 25 13:25:05 2003
+++ loncom/interface/lonprintout.pm	Thu Aug 28 16:36:48 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.223 2003/08/25 17:25:05 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.224 2003/08/28 20:36:48 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -915,6 +915,7 @@
     if ($helper->{'VARS'}->{'TABLE_INDEX'} eq 'yes') {
 	if ($selectionmade<10) {$selectionmade*=100;} else {$selectionmade*=10;}
     }
+    if ($ENV{'request.role.adv'}) {$selectionmade*=10000;}
 #-- writing .tex file in prtspool 
     my $temp_file;
     my $filename = "/home/httpd/prtspool/$ENV{'user.name'}_$ENV{'user.domain'}_printout_".time."_".rand(10000000).".tex";