--- loncom/interface/lonprintout.pm 2003/08/18 18:18:48 1.216
+++ loncom/interface/lonprintout.pm 2003/08/18 19:57:36 1.218
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.216 2003/08/18 18:18:48 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.218 2003/08/18 19:57:36 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -755,7 +755,7 @@ ENDPART
}
if (($selectionmade == 4) and ($assignment ne $prevassignment) and ($i>=1)) {
my ($name,$courseidinfo) = &get_name;
- my $courseidinfo = &get_course();
+ $courseidinfo = &get_course();
if (defined($courseidinfo)) { $courseidinfo=' - '.$courseidinfo }
$prevassignment=$assignment;
$result .='\newpage \noindent\parbox{\minipagewidth}{\noindent\\lhead{\\textit{\\textbf{'.$name.'}}'.$courseidinfo.' \\hfill \\thepage \\\\ \\textit{'.$assignment.'}}} \vskip -5 mm ';
@@ -1203,7 +1203,7 @@ CHOOSE_FROM_SUBDIR
if (($ENV{'request.role.adv'} and &Apache::lonnet::allowed('vgr',$ENV{'request.course.id'})) or
($helper->{VARS}->{'construction'} eq '1')) {
$paramHash = Apache::lonhelper::getParamHash();
- $paramHash->{MESSAGE_TEXT} = "
Next four options are available only for advanced users:
";
+ $paramHash->{MESSAGE_TEXT} = "
Next four options are available only for advanced users: | ";
Apache::lonhelper::message->new();
$paramHash = Apache::lonhelper::getParamHash();
$paramHash->{'variable'} = 'ANSWER_TYPE';
@@ -1216,7 +1216,7 @@ CHOOSE_FROM_SUBDIR
if ($ENV{'request.role.adv'}) {
$paramHash = Apache::lonhelper::getParamHash();
- $paramHash->{MESSAGE_TEXT} = " "; + $paramHash->{MESSAGE_TEXT} = " |
";
Apache::lonhelper::message->new();
$paramHash = Apache::lonhelper::getParamHash();
$paramHash->{'variable'} = 'LATEX_TYPE';
@@ -1231,11 +1231,9 @@ CHOOSE_FROM_SUBDIR
['Print in standard LaTeX mode', 'standard'] ];
}
Apache::lonhelper::dropdown->new();
- }
-
- if ($ENV{'request.role.adv'}) {
+
$paramHash = Apache::lonhelper::getParamHash();
- $paramHash->{MESSAGE_TEXT} = " "; + $paramHash->{MESSAGE_TEXT} = " | |
";
Apache::lonhelper::message->new();
$paramHash = Apache::lonhelper::getParamHash();
$paramHash->{'variable'} = 'TABLE_CONTENTS';
@@ -1246,7 +1244,7 @@ CHOOSE_FROM_SUBDIR
Apache::lonhelper::dropdown->new();
$paramHash = Apache::lonhelper::getParamHash();
- $paramHash->{MESSAGE_TEXT} = " "; + $paramHash->{MESSAGE_TEXT} = " | |
"; Apache::lonhelper::message->new(); $paramHash = Apache::lonhelper::getParamHash(); $paramHash->{'variable'} = 'TABLE_INDEX'; @@ -1255,6 +1253,10 @@ CHOOSE_FROM_SUBDIR ['Print without Index', 'no'], ['Print with Index', 'yes'] ]; Apache::lonhelper::dropdown->new(); + + $paramHash = Apache::lonhelper::getParamHash(); + $paramHash->{MESSAGE_TEXT} = " |