Return to lonwrapper.pm CVS log | Up to [LON-CAPA] / rat |
version 1.64, 2017/05/10 19:25:28 | version 1.65, 2017/11/30 14:41:30 |
---|---|
Line 226 sub handler { | Line 226 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'}; |
} | } |