$ex = isset( $expand[$this->name()] );
+ $anchor = str_replace( '"', '', $this->name() );
+
if ( !$ex ) {
if ( count( $this->children ) ) {
$url = getEscapedProfileUrl( false, false, $expand + array( $this->name() => true ) );
- $extet = ' <a href="' . $url . '">[+]</a>';
+ $extet = " <a id=\"{$anchor}\" href=\"{$url}#{$anchor}\">[+]</a>";
} else {
$extet = '';
}
$e += array( $name => $ep );
}
}
-
- $extet = ' <a href="' . getEscapedProfileUrl( false, false, $e ) . '">[–]</a>';
+ $url = getEscapedProfileUrl( false, false, $e );
+ $extet = " <a id=\"{$anchor}\" href=\"{$url}#{$anchor}\">[–]</a>";
}
?>
<tr>