X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=cbbf2abdafc7e26468f7670589861004a53cdc61;hb=f6b92231fd584e407dc2aab39c3574448c5615c5;hp=ad02ad59b9ec948886e5164edef139373c25bfb9;hpb=6cb171925e88bf2dc5629d052abaeb6f087bc7c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index ad02ad59b9..cbbf2abdaf 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -192,10 +192,12 @@ class profile_point { $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 = ' [+]'; + $extet = " [+]"; } else { $extet = ''; } @@ -206,13 +208,13 @@ class profile_point { $e += array( $name => $ep ); } } - - $extet = ' [–]'; + $url = getEscapedProfileUrl( false, false, $e ); + $extet = " [–]"; } ?>
- name() ) . $extet ?> + name() ) ) . $extet ?>
time() / self::$totaltime * 100 ); ?> memory() / self::$totalmemory * 100 ); ?> @@ -347,7 +349,7 @@ function getEscapedProfileUrl( $_filter = false, $_sort = false, $_expand = fals return htmlspecialchars( '?' . - wfArrayToCGI( array( + wfArrayToCgi( array( 'filter' => $_filter ? $_filter : $filter, 'sort' => $_sort ? $_sort : $sort, 'expand' => implode( ',', array_keys( $_expand ) )