{if Phpfox::getLib('module')->getBlockLocation('user.register') == 'sidebar' && Phpfox::getLib('module')->getFullControllerName() == 'core.index-visitor'}
{if !Phpfox::getParam('user.profile_use_id') && !Phpfox::getParam('user.disable_username_on_sign_up')}
{url link=''}{phrase var='user.your_user_name'}/
{if Phpfox::getParam('user.suggest_usernames_on_registration')} {/if}
{/if}
{if isset($bIsPosted)} {else} {/if}
{else}
{if !Phpfox::getParam('user.profile_use_id') && !Phpfox::getParam('user.disable_username_on_sign_up')}
{url link=''}{phrase var='user.your_user_name'}/
{if Phpfox::getParam('user.suggest_usernames_on_registration')} {/if}
{/if}
{if isset($bIsPosted)} {else} {/if}
{/if}