version 1.683, 2023/01/15 01:19:50
|
version 1.687, 2023/02/08 15:15:24
|
Line 3304 ENDPART
|
Line 3304 ENDPART
|
|
|
my $map; |
my $map; |
if ($helper->{VARS}->{'symb'}) { |
if ($helper->{VARS}->{'symb'}) { |
($map, my $id, my $resource) = |
unless ((($print_type eq 'all_problems_students') || |
&Apache::lonnet::decode_symb($helper->{VARS}->{'symb'}); |
($print_type eq 'incomplete_problems_selpeople_course')) && |
|
$perm{'pfo'}) { |
|
($map, my $id, my $resource) = |
|
&Apache::lonnet::decode_symb($helper->{VARS}->{'symb'}); |
|
} |
} |
} |
|
|
#loop over students |
#loop over students |
Line 4212 sub printHelper {
|
Line 4216 sub printHelper {
|
$helper->{VARS}->{'symb'} = $env{'form.symb'}; |
$helper->{VARS}->{'symb'} = $env{'form.symb'}; |
} |
} |
if ($env{'form.url'}) { |
if ($env{'form.url'}) { |
$helper->{VARS}->{'symb'} = &Apache::lonnet::symbread($helper->{VARS}->{'postdata'}); |
unless ($env{'form.url'} eq '/adm/navmaps') { |
|
$helper->{VARS}->{'symb'} = &Apache::lonnet::symbread($helper->{VARS}->{'postdata'}); |
|
} |
} |
} |
|
|
} |
} |
|
|
if ($env{'form.symb'}) { |
|
$helper->{VARS}->{'symb'} = $env{'form.symb'}; |
|
} |
|
if ($env{'form.url'}) { |
|
unless ($env{'form.url'} eq '/adm/navmaps') { |
|
$helper->{VARS}->{'symb'} = &Apache::lonnet::symbread($helper->{VARS}->{'postdata'}); |
|
} |
|
} |
|
if ($helper->{VARS}->{'symb'} ne '') { |
if ($helper->{VARS}->{'symb'} ne '') { |
$helper->{VARS}->{'symb'}= |
$helper->{VARS}->{'symb'}= |
&Apache::lonenc::check_encrypt($helper->{VARS}->{'symb'}); |
&Apache::lonenc::check_encrypt($helper->{VARS}->{'symb'}); |
Line 4500 sub printHelper {
|
Line 4497 sub printHelper {
|
$optionText = &mt('Selected [_1]Incomplete Problems[_2] [_3]not in a folder[_4]' . $textSuffix, |
$optionText = &mt('Selected [_1]Incomplete Problems[_2] [_3]not in a folder[_4]' . $textSuffix, |
'<b>','</b>','<i>','</i>'); |
'<b>','</b>','<i>','</i>'); |
} else { |
} else { |
$optionText = &mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix, |
$optionText = &mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix, |
'<b>','</b>','<b><i>'.$sequenceTitle.'</b></i>'); |
'<b>','</b>','<b><i>'.$sequenceTitle.'</b></i>'); |
} |
} |
push(@{$printChoices}, |
push(@{$printChoices}, |
Line 4883 CHOOSE_FROM_SUBDIR
|
Line 4880 CHOOSE_FROM_SUBDIR
|
<state name="CHOOSE_FROM_ANY_SEQUENCE" title="Select Resources To Print"> |
<state name="CHOOSE_FROM_ANY_SEQUENCE" title="Select Resources To Print"> |
<message>(mark desired resources then click "next" button) <br /></message> |
<message>(mark desired resources then click "next" button) <br /></message> |
<resource variable="RESOURCES" multichoice="1" toponly='1' addstatus="1" |
<resource variable="RESOURCES" multichoice="1" toponly='1' addstatus="1" |
closeallpages="1" modallink="1" $nocurrloc> |
closeallpages="1" modallink="1" suppressNavmap="1" $nocurrloc> |
<nextstate>PAGESIZE</nextstate> |
<nextstate>PAGESIZE</nextstate> |
<filterfunc>return $isNotMap</filterfunc> |
<filterfunc>return $isNotMap</filterfunc> |
<mapurl evaluate='1'>return '$escapedSequenceName';</mapurl> |
<mapurl evaluate='1'>return '$escapedSequenceName';</mapurl> |
Line 4907 CHOOSE_FROM_ANY_SEQUENCE
|
Line 4904 CHOOSE_FROM_ANY_SEQUENCE
|
<state name="CHOOSE_FROM_ANY_SEQUENCE" title="Select Resources To Print"> |
<state name="CHOOSE_FROM_ANY_SEQUENCE" title="Select Resources To Print"> |
<message>(mark desired resources then click "next" button) <br /></message> |
<message>(mark desired resources then click "next" button) <br /></message> |
<resource variable="RESOURCES" multichoice="1" toponly='1' addstatus="1" |
<resource variable="RESOURCES" multichoice="1" toponly='1' addstatus="1" |
closeallpages="1" modallink="1" $nocurrloc> |
closeallpages="1" modallink="1" suppressNavmap="1" $nocurrloc> |
<nextstate>PAGESIZE</nextstate> |
<nextstate>PAGESIZE</nextstate> |
<filterfunc>return $isNotMap</filterfunc> |
<filterfunc>return $isNotMap</filterfunc> |
<mapurl evaluate='1'>return '$escapedSequenceName';</mapurl> |
<mapurl evaluate='1'>return '$escapedSequenceName';</mapurl> |