my @b=split(/\//, $common_prefix);
$common_prefix="";
while (@a && @b && $a[0] eq $b[0]) {
+ if (length $common_prefix) {
+ $common_prefix.="/";
+ }
$common_prefix.=shift(@a);
shift @b;
}
$dummy=1;
$p.="/".shift(@bits);
$map .= "<li>"
- .htmllink($params{page}, $params{destpage}, $p, class => "mapparent")
+ .htmllink($params{page}, $params{destpage},
+ $p, class => "mapparent",
+ noimageinline => 1)
."\n";
$openli=1;
}
$map .= "</li>\n" if $openli;
$map .= "<li>"
.htmllink($params{page}, $params{destpage},
- "/".$common_prefix."/".$item, class => "mapitem")
+ "/".$common_prefix."/".$item,
+ class => "mapitem", noimageinline => 1)
."\n";
$openli=1;
$parent=$item;