loadModule(); function displayAttributes($userAttr) { $str = ''; foreach ($userAttr as $key=>$keyValue) { foreach (App::Get()->settings['attr_titles'] as $attrTitle=>$value) { if ( $key === $value) { $str .= '

'; $str .= $attrTitle; $str .= '

'; $str .= '
'; $str .= $keyValue; $str .= '
'; } } } return $str; } // Get user attributes $userAttr = App::Get()->getAuthenticationProvider()->retrieveUserAttributes( App::Get()->getAuthenticationProvider()->getCurrentUsername(), App::Get()->settings['profile_attributes'] ); ?>

Welcome settings['firstname_attr'] ] ?>!


Profile