--- loncom/interface/lonprintout.pm 2023/04/15 21:50:34 1.690
+++ loncom/interface/lonprintout.pm 2023/04/16 01:33:04 1.691
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.690 2023/04/15 21:50:34 raeburn Exp $
+# $Id: lonprintout.pm,v 1.691 2023/04/16 01:33:04 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4821,12 +4821,47 @@ CHOOSE_FROM_SUBDIR
'','','','','',''),
'select_sequences_resources_for_anon','CHOOSE_SEQUENCE_ANON2']);
if ($escapedSequenceName) {
- &generate_common_choosers($r,$helper,$escapedSequenceName,$escapedSequenceName,$isProblem,$symbFilter,$start_new_option);
+ my ($randomly_ordered_warning,$codechoice,$code_selection,$namechoice) =
+ &generate_common_choosers($r,$helper,$escapedSequenceName,$escapedSequenceName,
+ $isProblem,$symbFilter,$start_new_option);
+
+ my $resource_selector .= <
+
+ Sort by section then student
+ Sort by students across sections.
+
+
+
+
+
+
+ $randomly_ordered_warning
+ PRINT_FORMATTING
+ (mark desired resources then click "next" button)
+
+ return $isNotMap;
+ $map
+ return $symbFilter;
+ $start_new_option
+
+
+RESOURCE_SELECTOR
+
+ my $anon3 = &generate_code_selector($helper,
+ 'CHOOSE_ANON3',
+ 'SELECT_RESOURCES',
+ $codechoice,
+ $code_selection,
+ $namechoice) . $resource_selector;
+
+ &Apache::lonxml::xmlparse($r, 'helper',$anon3);
}
}
}
if (($subdir eq '') && ($url eq '/adm/navmaps') && ($perm{'pfo'})) {
- &Apache::lonxml::xmlparse($r, 'helper', <
Select the sequence to print resources from:
@@ -4860,7 +4895,7 @@ CHOOSE_FROM_SUBDIR
Select the sequence to print resources from:
- CHOOSE_STUDENTS
+ CHOOSE_STUDENTS2
return &Apache::lonprintout::printable_sequence(\$res);
return $urlValue;
return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },0,0);
@@ -4870,7 +4905,7 @@ CHOOSE_FROM_SUBDIR
Select the sequence to print resources from:
- CHOOSE_ANON1
+ CHOOSE_ANON3
return &Apache::lonprintout::printable_sequence(\$res);
return $urlValue;
return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },0,0);