diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-08 06:25:20 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-08 06:25:20 +0000 |
| commit | 729c3b49301c6e697df4a4e4c9bc3cb23e767d19 (patch) | |
| tree | 5e1dd71d0de2f7016bfd35a201d413e353a33f00 | |
| parent | cbdec7e7d0ff64ead545bfe90b04445548d488b2 (diff) | |
| download | users-729c3b49301c6e697df4a4e4c9bc3cb23e767d19.tar.gz users-729c3b49301c6e697df4a4e4c9bc3cb23e767d19.tar.bz2 users-729c3b49301c6e697df4a4e4c9bc3cb23e767d19.zip | |
remove insane number of parantheses
| -rw-r--r-- | BitUser.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/BitUser.php b/BitUser.php index 054412b..164a219 100644 --- a/BitUser.php +++ b/BitUser.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.192 2008/10/02 06:22:39 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.193 2008/10/08 06:25:20 squareing Exp $ * * Lib for user administration, groups and permissions * This lib uses pear so the constructor requieres @@ -12,7 +12,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: BitUser.php,v 1.192 2008/10/02 06:22:39 squareing Exp $ + * $Id: BitUser.php,v 1.193 2008/10/08 06:25:20 squareing Exp $ * @package users */ @@ -40,7 +40,7 @@ define("ACCOUNT_DISABLED", -6); * Class that holds all information for a given user * * @author spider <spider@steelsun.com> - * @version $Revision: 1.192 $ + * @version $Revision: 1.193 $ * @package users * @subpackage BitUser */ @@ -1833,12 +1833,12 @@ class BitUser extends LibertyMime { } if( $pUseLink && $gBitUser->hasPermission( 'p_users_view_user_homepage' )) { - $ret = '<a class="username" title="'.( !empty( $pHash['link_title'] ) ? $pHash['link_title'] : tra( 'Visit the userpage of' ).': '.htmlspecialchars($displayName) ) + $ret = '<a class="username" title="'.( !empty( $pHash['link_title'] ) ? $pHash['link_title'] : tra( 'Visit the userpage of' ).': '.htmlspecialchars( $displayName )) .'" href="'.BitUser::getDisplayUrl( $iHomepage ).'">' - . htmlspecialchars((( isset( $pHash['link_label'] )) ? ( $pHash['link_label'] ) : ( $displayName ))) + . htmlspecialchars( isset( $pHash['link_label'] ) ? $pHash['link_label'] : $displayName ) .'</a>'; } else { - $ret = htmlspecialchars($displayName); + $ret = htmlspecialchars( $displayName ); } } else { $ret = tra( "Anonymous" ); |
