version 1.242, 2003/09/29 20:06:20
|
version 1.243, 2003/09/30 14:43:26
|
Line 1225 sub printHelper {
|
Line 1225 sub printHelper {
|
|
|
# If we're in a sequence... |
# If we're in a sequence... |
if (($helper->{'VARS'}->{'construction'} ne '1') && |
if (($helper->{'VARS'}->{'construction'} ne '1') && |
$helper->{VARS}->{'postdata'} && $sequenceTitle) { |
$helper->{VARS}->{'postdata'} && |
|
$helper->{VARS}->{'assignment'}) { |
# Allow problems from sequence |
# Allow problems from sequence |
push @{$printChoices}, ["<b>Problems</b> in $sequenceTitle", 'map_problems', 'CHOOSE_PROBLEMS']; |
push @{$printChoices}, ["<b>Problems</b> in $sequenceTitle", 'map_problems', 'CHOOSE_PROBLEMS']; |
# Allow all resources from sequence |
# Allow all resources from sequence |
Line 1260 HELPERFRAGMENT
|
Line 1261 HELPERFRAGMENT
|
# problems in the course, optionally for selected students |
# problems in the course, optionally for selected students |
if ($userPriviledged && ($helper->{VARS}->{'postdata'}=~/\/res\//)) { |
if ($userPriviledged && ($helper->{VARS}->{'postdata'}=~/\/res\//)) { |
push @{$printChoices}, ['Problems from <b>entire course</b>', 'all_problems', 'ALL_PROBLEMS']; |
push @{$printChoices}, ['Problems from <b>entire course</b>', 'all_problems', 'ALL_PROBLEMS']; |
if ($sequenceTitle) { |
if ($helper->{VARS}->{'assignment'}) { |
push @{$printChoices}, ["Problems from $sequenceTitle for <b>selected students</b>", 'problems_for_students', 'CHOOSE_STUDENTS']; |
push @{$printChoices}, ["Problems from $sequenceTitle for <b>selected students</b>", 'problems_for_students', 'CHOOSE_STUDENTS']; |
} |
} |
|
|