{VARS}->{'construction'} && !$is_published) {
- push @$printChoices, ["Selected Resources from selected folder in course",
+ push @$printChoices, [&mtn("Selected Resources from selected folder in course"),
'select_sequences', 'CHOOSE_SEQUENCE'];
my $escapedSequenceName = $helper->{VARS}->{'SEQUENCE'};
#Escape apostrophes and backslashes for Perl
@@ -2885,7 +2996,7 @@ CHOOSE_FROM_ANY_SEQUENCE
Apache::lonhelper::dropdown->new();
addMessage("".
- ' | ");
$paramHash = Apache::lonhelper::getParamHash();
@@ -2923,6 +3034,21 @@ CHOOSE_FROM_ANY_SEQUENCE
Apache::lonhelper::dropdown->new();
addMessage(" |
");
+ # Prompt for printing annotations too.
+
+ addMessage("".
+ ''.
+ &mt('Print Annotations').
+ ": | ");
+ $paramHash = Apache::lonhelper::getParamHash();
+ $paramHash->{'variable'} = "PRINT_ANNOTATIONS";
+ $helper->declareVar("PRINT_ANNOTATIONS");
+ $paramHash->{CHOICES} = [
+ ['No', 'no'],
+ ['Yes', 'yes']];
+ Apache::lonhelper::dropdown->new();
+ addMessage(" |
");
+
addMessage(" | ");
$paramHash = Apache::lonhelper::getParamHash();
$paramHash->{'multichoice'} = "true";
@@ -2934,9 +3060,10 @@ CHOOSE_FROM_ANY_SEQUENCE
}
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");
+ my $selectfiletext=&mt("Select style file");
my $xmlfrag .= <<"RNDSEED";
@@ -2952,11 +3079,11 @@ CHOOSE_FROM_ANY_SEQUENCE
|
- return $env{'construct.style'};
+ return $stylevalue;
- Select style file |
+ $selectfiletext | |
- Show all foils?
+ Show all foils
|
RNDSEED
@@ -3065,6 +3192,8 @@ sub render {
my $PageLayout=&mt('Page layout');
my $NumberOfColumns=&mt('Number of columns');
my $PaperType=&mt('Paper type');
+ my $landscape=&mt('Landscape');
+ my $portrait=&mt('Portrait');
$result .= <
@@ -3076,8 +3205,8 @@ sub render {
|
- Landscape
- Portrait
+ $landscape
+ $portrait
|
|