+ closeallpages="1" modallink="1">
PAGESIZE
return $isNotMap
return '$escapedSequenceName';
@@ -4712,21 +4708,6 @@ CHOOSE_FROM_SUBDIR
CHOOSE_FROM_ANY_SEQUENCE
}
- my $numchoices = 0;
- if (ref($printChoices) eq 'ARRAY') {
- $numchoices = @{$printChoices};
- }
- # Early out if nothing to print
- if (!$numchoices) {
- $r->print(&Apache::loncommon::start_page('Printing Helper').
- ''.&mt('Unable to determine print context').'
'.
- ''.&mt('Please display a resource, and then click the "Print" button/icon').'
');
- my $prtspool=$r->dir_config('lonPrtDir');
- my $footer = &recently_generated($prtspool);
- $r->print($footer.&Apache::loncommon::end_page());
- return OK;
- }
-
# Generate the first state, to select which resources get printed.
Apache::lonhelper::state->new("START", "Select Printing Options:");
if (!$res_printable) {
@@ -4757,9 +4738,9 @@ CHOOSE_FROM_ANY_SEQUENCE
if ($noprintmsg) {
$paramHash = Apache::lonhelper::getParamHash();
- $paramHash->{MESSAGE_TEXT} =
+ $paramHash->{MESSAGE_TEXT} =
''.$noprintmsg.'
';
- Apache::lonhelper::message->new();
+ Apache::lonhelper::message->new();
}
}
$paramHash = Apache::lonhelper::getParamHash();
@@ -4984,7 +4965,7 @@ FONT_SELECTION
return "$helper->{VARS}->{'probstatus'}";
Homework Problem
- Exam Problem
+ Bubblesheet Exam Problem
Survey question
,choice computer="anonsurvey"Anonymous survey question
@@ -5102,6 +5083,9 @@ sub render {
my $PaperType=&mt('Paper type');
my $landscape=&mt('Landscape');
my $portrait=&mt('Portrait');
+ my $pdfFormLabel=&mt('PDF Form Fields');
+ my $with=&mt('with Form Fields');
+ my $without=&mt('without Form Fields');
$result.=''.&mt('Layout Options').'
'
@@ -5110,6 +5094,7 @@ sub render {
.''.$PageLayout.' | '
.''.$NumberOfColumns.' | '
.''.$PaperType.' | '
+ .''.$pdfFormLabel.' | '
.&Apache::loncommon::end_data_table_header_row()
.&Apache::loncommon::start_data_table_row()
.''
@@ -5150,6 +5135,12 @@ sub render {
$result .= <
|
+
+
+ |
HTML
$result.=&Apache::loncommon::end_data_table_row()
.&Apache::loncommon::end_data_table();