version 1.321, 2013/08/29 12:47:30
|
version 1.322, 2013/08/29 13:02:11
|
Line 222 sub start_textfield {
|
Line 222 sub start_textfield {
|
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$resid.submission"}; |
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$resid.submission"}; |
} elsif (($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurvey') || |
} elsif (($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurvey') || |
($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurveycred')) { |
($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurveycred')) { |
$oldresponse = '* '.&mt('only shown to submitter').' *'; |
$oldresponse = '* '.&mt('(only shown to submitter)').' *'; |
} else { |
} else { |
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$resid.submission"}; |
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$resid.submission"}; |
} |
} |
Line 424 sub start_textline {
|
Line 424 sub start_textline {
|
($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurveycred') || |
($Apache::lonhomework::history{"resource.$partid.type"} eq 'anonsurveycred') || |
($Apache::lonhomework::type eq 'anonsurvey') || |
($Apache::lonhomework::type eq 'anonsurvey') || |
($Apache::lonhomework::type eq 'anonsurveycred')) { |
($Apache::lonhomework::type eq 'anonsurveycred')) { |
$oldresponse = '* '.&mt('only shown to submitter').' *'; |
$oldresponse = '* '.&mt('(only shown to submitter)').' *'; |
} else { |
} else { |
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$id.submission"}; |
$oldresponse = $Apache::lonhomework::history{"resource.$partid.$id.submission"}; |
} |
} |