{literal} {/literal} {if Phpfox::getLib('module')->getFullControllerName() == 'user.register' && Phpfox::isModule('invite')}

{phrase var='user.sign_up_for_ssitetitle' sSiteTitle=$sSiteTitle}

{phrase var='user.join_ssitetitle_to_connect_with_friends_share_photos_and_create_your_own_profile' sSiteTitle=$sSiteTitle}
{if ((Phpfox::isModule('facebook') && Phpfox::getParam('facebook.enable_facebook_connect')) || (Phpfox::isModule('janrain') && Phpfox::getParam('janrain.enable_janrain_login'))) && !Phpfox::getService('invite')->isInviteOnly()}
{phrase var='user.or_sign_up_with'}: {if Phpfox::isModule('facebook') && Phpfox::getParam('facebook.enable_facebook_connect')} {/if} {if Phpfox::isModule('janrain') && Phpfox::getParam('janrain.enable_janrain_login')} {/if}
{/if} {/if} {if Phpfox::getLib('module')->getFullControllerName() != 'user.register'}
{module name='user.welcome'}
{if Phpfox::getParam('user.allow_user_registration')}
{phrase var='user.sign_up'}
{phrase var='user.it_s_free_and_always_will_be'}
{/if} {/if} {if Phpfox::isModule('invite') && Phpfox::getService('invite')->isInviteOnly()}
{phrase var='user.ssitetitle_is_an_invite_only_community_enter_your_email_below_if_you_have_received_an_invitation' sSiteTitle=$sSiteTitle}
{phrase var='user.email'}:
{else} {if isset($sCreateJs)} {$sCreateJs} {/if}
{if Phpfox::getParam('user.allow_user_registration')}
{token}
{if isset($bIsPosted) || !Phpfox::getParam('user.multi_step_registration_form')}
{template file='user.block.register.step1'} {template file='user.block.register.step2'}
{else} {template file='user.block.register.step1'} {/if}
{if Phpfox::isModule('captcha') && Phpfox::getParam('user.captcha_on_signup')} {/if} {if Phpfox::getParam('user.new_user_terms_confirmation')}
{required}{phrase var='user.i_have_read_and_agree_to_the_a_href_id_js_terms_of_use_terms_of_use_a_and_a_href_id_js_privacy_policy_privacy_policy_a'}
{/if}
{if isset($bIsPosted) || !Phpfox::getParam('user.multi_step_registration_form')} {else} {/if}
{/if} {/if} {if Phpfox::getLib('module')->getFullControllerName() != 'user.register'}
{/if} {if Phpfox::getLib('module')->getFullControllerName() == 'user.register'}
{/if}