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

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 05 Sep 2003 19:42:00 -0000


sakharuk		Fri Sep  5 15:42:00 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Corrected item "Print With Answers" in the main printing menu. Earlier I had 
  a wrong info (yes/no). 
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.228 loncom/interface/lonprintout.pm:1.229
--- loncom/interface/lonprintout.pm:1.228	Fri Sep  5 15:34:28 2003
+++ loncom/interface/lonprintout.pm	Fri Sep  5 15:42:00 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.228 2003/09/05 19:34:28 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.229 2003/09/05 19:42:00 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -734,7 +734,7 @@
 		    $result.=$texversion;
 		    $flag_latex_header_remove = 'YES';
 		} elsif ($urlp=~/\.(sequence|page)$/) {
-		    $result.='\strut\newline\noindent This is sequence/page '.$urlp.'\strut\newline\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill}\newline\noindent ';
+		    $result.='\strut\newline\noindent Sequence/page '.$urlp.'\strut\newline\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill}\newline\noindent ';
 		}  
 	    }
 	    if ($helper->{VARS}->{'construction'} eq '1') {$result=~s/(\\begin{document})/$1 \\fbox\{RANDOM SEED IS $rndseed\} /;}
@@ -1270,8 +1270,8 @@
 	$paramHash->{'variable'} = 'ANSWER_TYPE';   
 	$helper->declareVar('ANSWER_TYPE');         
         $paramHash->{CHOICES} = [
-                                   ['Yes', 'yes'],
-                                   ['No', 'no'] ];
+                                   ['No', 'yes'],
+                                   ['Yes', 'no'] ];
         Apache::lonhelper::dropdown->new();
 	addMessage("</td></tr>");
 	$startedTable = 1;