[code:1]
function getDisplayTab($tab,$user,$ui) {
global $ueConfig;
// Display user's name + "Profile Page"
$params
=
$this->params;
$title
=
cbReplaceVars( $params->get( 'title', '_UE_PROFILE_TITLE_TEXT' ), $user );
$name
=
getNameFormat( $user->name, $user->username, $ueConfig );
$usertype = $user->usertype;
$return
=
'<div class="contentheading" id="cbProfileTitle">' . sprintf( $title, $name ) . ' (' . $usertype . "«»)</div>\n";
$return
.=
$this->_writeTabDescription( $tab, $user );
return $return;
}
}
[/code:1]