version 1.156, 2007/01/05 17:55:41
|
version 1.157, 2007/03/12 18:09:36
|
Line 1002 sub crumbs {
|
Line 1002 sub crumbs {
|
} |
} |
} else { |
} else { |
$path.='/'; |
$path.='/'; |
} |
} |
my $linkpath = &Apache::loncommon::escape_single($path); |
my $linkpath = &Apache::loncommon::escape_single($path); |
if ($form) { |
if ($form) { |
$linkpath= |
$linkpath= |
qq{javascript:$form.action='$linkpath';$form.submit();}; |
qq{javascript:$form.action='$linkpath';$form.submit();}; |
} |
} |
$output.=qq{<a href="$linkpath" $target>$dir</a>/}; |
my $href_path = &HTML::Entities::encode($path,'<>&"'); |
|
$output.=qq{<a href="$path" $target>$dir</a>/}; |
} |
} |
} else { |
} else { |
foreach my $dir (split('/',$uri)) { |
foreach my $dir (split('/',$uri)) { |