version 1.59, 2003/06/20 18:57:58
|
version 1.60, 2003/09/19 18:20:35
|
Line 120 sub loadmap {
|
Line 120 sub loadmap {
|
$hash{'kind_'.$rid}='res'; |
$hash{'kind_'.$rid}='res'; |
$hash{'title_'.$rid}=$token->[2]->{'title'}; |
$hash{'title_'.$rid}=$token->[2]->{'title'}; |
my $turi=$token->[2]->{'src'}; |
my $turi=$token->[2]->{'src'}; |
$Apache::lonnet::titlecache{ |
&Apache::lonnet::do_cache(\%Apache::lonnet::titlecache, |
&Apache::lonnet::symbclean( |
&Apache::lonnet::symbclean( |
&Apache::lonnet::declutter($uri).'___'. |
&Apache::lonnet::declutter($uri).'___'. |
$token->[2]->{'id'}.'___'. |
$token->[2]->{'id'}.'___'. |
&Apache::lonnet::declutter($turi))}= |
&Apache::lonnet::declutter($turi)), |
[$token->[2]->{'title'},time]; |
$token->[2]->{'title'}); |
unless ($ispage) { |
unless ($ispage) { |
$turi=~/\.(\w+)$/; |
$turi=~/\.(\w+)$/; |
my $embstyle=&Apache::loncommon::fileembstyle($1); |
my $embstyle=&Apache::loncommon::fileembstyle($1); |