Return to lonwrapper.pm CVS log | Up to [LON-CAPA] / rat |
version 1.49.2.7.2.4, 2020/09/08 00:10:21 | version 1.49.2.7.2.5, 2020/10/26 00:02:48 |
---|---|
Line 290 sub handler { | Line 290 sub handler { |
my %toolhash = &Apache::lonnet::get('exttool_'.$marker,['target','linktext','explanation','id','width','height'], | my %toolhash = &Apache::lonnet::get('exttool_'.$marker,['target','linktext','explanation','id','width','height'], |
$cdom,$cnum); | $cdom,$cnum); |
if ($toolhash{'id'}) { | if ($toolhash{'id'}) { |
my %ltitools = &Apache::lonnet::get_domain_ltitools($cdom); | my %ltitools = &Apache::lonnet::get_domain_lti($cdom,'consumer'); |
if (ref($ltitools{$toolhash{'id'}}) eq 'HASH') { | if (ref($ltitools{$toolhash{'id'}}) eq 'HASH') { |
$exttoolremote = $ltitools{$toolhash{'id'}}{'url'}; | $exttoolremote = $ltitools{$toolhash{'id'}}{'url'}; |
} | } |