Print With Answers: | ");
+ addMessage("
Print: | ");
$paramHash = Apache::lonhelper::getParamHash();
$paramHash->{'variable'} = 'ANSWER_TYPE';
$helper->declareVar('ANSWER_TYPE');
$paramHash->{CHOICES} = [
- ['Yes', 'yes'],
- ['No', 'no'] ];
+ ['Without Answers', 'yes'],
+ ['With Answers', 'no'],
+ ['Only Answers', 'only'] ];
Apache::lonhelper::dropdown->new();
addMessage(" | ");
$startedTable = 1;
@@ -1331,6 +1474,18 @@ CHOOSE_FROM_SUBDIR
Apache::lonhelper::dropdown->new();
addMessage("");
}
+ if ($helper->{'VARS'}->{'construction'}) {
+ my $xmlfrag .= <<'RNDSEED';
+ Use random seed: |
+
+
+ return $helper->{VARS}->{'curseed'};
+
+
+ |
+RNDSEED
+ &Apache::lonxml::xmlparse($r, 'helper', $xmlfrag);
+ }
}
if ($startedTable) {
|