version 1.176, 2003/09/30 19:51:44
|
version 1.177, 2003/10/01 20:45:05
|
Line 2202 sub start_applet {
|
Line 2202 sub start_applet {
|
$currentstring='[APPLET: '.$alttag.']'; |
$currentstring='[APPLET: '.$alttag.']'; |
} |
} |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
my $code=&Apache::lonxml::get_param('code',$parstack,$safeeval, |
my $alttag= &Apache::lonxml::get_param('alt',$parstack, |
undef,1); |
$safeeval,undef,1); |
if ($code=~/TrueFalse\.class/) { |
unless ($alttag) { |
$currentstring.='\begin{center} \fbox{There is JAVA applet here.}\end{center}'; |
my $code=&Apache::lonxml::get_param('code',$parstack,$safeeval, |
|
undef,1); |
|
$alttag=&Apache::lonmeta::alttag($Apache::lonxml::pwd[-1], |
|
$code); |
} |
} |
|
$currentstring.='\begin{center} \fbox{Java Applet: '.$alttag. |
|
'.}\end{center}'; |
} |
} |
return $currentstring; |
return $currentstring; |
} |
} |