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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 25 Jul 2007 20:39:58 -0000


albertel		Wed Jul 25 16:39:58 2007 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - BUG#5328, yeat another tweak think this will get it right in all cases now.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.504 loncom/interface/lonprintout.pm:1.505
--- loncom/interface/lonprintout.pm:1.504	Wed Jul 25 15:15:29 2007
+++ loncom/interface/lonprintout.pm	Wed Jul 25 16:39:57 2007
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.504 2007/07/25 19:15:29 albertel Exp $
+# $Id: lonprintout.pm,v 1.505 2007/07/25 20:39:57 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2934,7 +2934,7 @@
 	}
 
 	if ($helper->{'VARS'}->{'construction'}) { 
-	    my $stylevalue=$env{'construct.style'};
+	    my $stylevalue='$Apache::lonnet::env{"construct.style"}';
             my $randseedtext=&mt("Use random seed");
             my $stylefiletext=&mt("Use style file");
 
@@ -2952,7 +2952,7 @@
              </td><td></message>
              <string variable="style_file" size="40">
 		<defaultvalue>
-	            return $env{'construct.style'};
+	            return $stylevalue;
 	        </defaultvalue>
              </string><message>&nbsp; <a href="javascript:openbrowser('helpform','style_file_forminput','sty')">Select style file</a> </td><tr><td></message>
 	     <choices allowempty="1" multichoice="true" variable="showallfoils">