version 1.20, 2001/01/22 19:58:09
|
version 1.22, 2001/02/19 20:37:43
|
Line 7 package Apache::response;
|
Line 7 package Apache::response;
|
use strict; |
use strict; |
|
|
sub BEGIN { |
sub BEGIN { |
&Apache::lonxml::register('Apache::response',('responseparam','caparesponse','numericalresponse','radiobuttonresponse','optionresponse')); |
&Apache::lonxml::register('Apache::response',('responseparam','caparesponse','numericalresponse','radiobuttonresponse','optionresponse','imageresponse')); |
} |
} |
|
|
sub start_response { |
sub start_response { |
Line 96 sub start_caparesponse {
|
Line 96 sub start_caparesponse {
|
require Apache::caparesponse; |
require Apache::caparesponse; |
import Apache::caparesponse; |
import Apache::caparesponse; |
my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; |
my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; |
# print "\n<br>\nsimple caparesponse\n"; |
# print "\n<br />\nsimple caparesponse\n"; |
Apache::caparesponse::start_caparesponse($target,$token,$parstack,$parser,$safeeval,$style);; |
Apache::caparesponse::start_caparesponse($target,$token,$parstack,$parser,$safeeval,$style);; |
return ""; |
return ""; |
} |
} |
Line 117 sub start_optionresponse {
|
Line 117 sub start_optionresponse {
|
return ""; |
return ""; |
} |
} |
|
|
|
sub start_imageresponse { |
|
require Apache::imageresponse; |
|
import Apache::imageresponse; |
|
my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; |
|
Apache::imageresponse::start_imageresponse($target,$token,$parstack,$parser,$safeeval,$style);; |
|
return ""; |
|
} |
|
|
sub start_responseparam { |
sub start_responseparam { |
my ($target,$token,$parstack,$parser,$safeeval)=@_; |
my ($target,$token,$parstack,$parser,$safeeval)=@_; |
if ($target eq 'grade' || $target eq 'web') { |
if ($target eq 'grade' || $target eq 'web') { |