'; - - my $size = scalar(keys(%$sections)); - $size += 3; # We have allstudents allpersonel nosection too. - if ($size > 5) { - $size = 5; - } - $result .= ' | '; - $result .= ' | '; - $result .= '
Name | '."\n"; - $result .= 'Section | '."\n"; - $result .= 'Status | '."\n"; - $result .= 'Role | '."\n"; - $result .= 'Username : Domain | |
---|---|---|---|---|---|
[0]; - - # Figure out which students are checked by default... - - if(%$defaultusers) { - if (exists ($defaultusers->{$user})) { - $result .= ' checked ="checked" '; - $checked = 1; - } - } elsif (!$self->{'multichoice'} && !$checked) { - $result .= ' checked="checked" '; - $checked = 1; # First one for radio if no default specified. - } - $result .= ' value="'. HTML::Entities::encode($user . ':' - .$student->[2] . ':' - .$student->[1] . ':' - .$student->[3] . ':' - .$student->[4] . ":" - .$formprefix, "<>&\"'") - ."\" /> | \n"; - $result .= HTML::Entities::encode($student->[1], '<>&"') - . ' | '."\n"; - $result .= HTML::Entities::encode($student->[2], '<>&"') - . ' | '."\n"; - $result .= HTML::Entities::encode($student->[3], '<>&"') - . ' | '."\n"; - $result .= HTML::Entities::encode($student->[4], '<>&"') - . ' | '."\n"; - $result .= HTML::Entities::encode($student->[0], '<>&"') - . ' |
- | |
-
' . $self->{ERROR_MSG} . '
'; } - $result .= '{'variable'} . '_forminput"'; if (defined($self->{'size'})) { $result .= ' size="' . $self->{'size'} . '"'; @@ -3461,7 +3361,8 @@ sub start_clause { die 'Error in clause of condition, Perl said: ' . $@ if $@; if (!&$clause($helper, $paramHash)) { # Discard all text until the /condition. - &Apache::lonxml::get_all_text('/condition', $parser); + my $end_tag = $paramHash->{SKIPTAG} || '/condition'; + &Apache::lonxml::get_all_text($end_tag, $parser); } } @@ -3666,7 +3567,7 @@ sub overrideForm { package Apache::lonhelper::parmwizfinal; -# This is the final state for the parmwizard. It is not generally useful, +# This is the final state for the parm helper. It is not generally useful, # so it is not perldoc'ed. It does its own processing. # It is represented with