version 1.37, 2010/12/24 17:16:04
|
version 1.38, 2010/12/24 17:17:33
|
Line 2072 sub display_loncaparev_constraints {
|
Line 2072 sub display_loncaparev_constraints {
|
my (%checkparms,%checkresponsetypes,%checkcrstypes,%anonsurvey,%randomizetry); |
my (%checkparms,%checkresponsetypes,%checkcrstypes,%anonsurvey,%randomizetry); |
&Apache::loncommon::build_release_hashes(\%checkparms,\%checkresponsetypes, |
&Apache::loncommon::build_release_hashes(\%checkparms,\%checkresponsetypes, |
\%checkcrstypes,\%anonsurvey,\%randomizetry); |
\%checkcrstypes,\%anonsurvey,\%randomizetry); |
|
|
# my %paramstrings = |
|
# ('string_questiontype' => |
|
# [[ 'anonsurveycred', 'Anonymous Survey'], |
|
# [ 'anonsurvey', 'Anonymous Survey'], |
|
# [ 'randomizetry', 'New Randomization Each N Tries']] |
|
# ); |
|
if (defined($checkcrstypes{$crstype})) { |
if (defined($checkcrstypes{$crstype})) { |
$output .= '<h4>'.&mt('Course type: [_1] requires [_2] or newer',$crstype, |
$output .= '<h4>'.&mt('Course type: [_1] requires [_2] or newer',$crstype, |
$checkcrstypes{$crstype}).'</h4>'; |
$checkcrstypes{$crstype}).'</h4>'; |