{* Lets turn our API vars into POST vars, if we had an API call *}
{if intval($hubbub->joined.obj_hubbub_logoFile->data.file_id) ne 0} {/if}
{if $sendSuccess} {if $hubbub->data.hubbub_closed}

{"We've sent you an email"|gettext}

{"Because this is a private community we need to validate your email before we can let you in. Keep an eye on your inbox as we have just sent you an email containing a link to validate your email address. This is a simple one-click process. It only takes a few seconds and only needs to be done once."|gettext}

{"If you don't receive the email within a minute or two, please check your spam folder. If it isn't there,"|gettext} {"click here to have the email re-sent"|gettext}.

{if $hideLogout eq false} {/if} {else}

{"We've sent you an email"|gettext}

{"We need to validate your email address so we can keep you updated about the community. Keep an eye on your inbox as we have just sent you an email containing a link. This is a simple one-click process. It only takes a few seconds and only needs to be done once."|gettext}

{"If you don't receive the email within a minute or two, please check your spam folder. If it isn't there,"|gettext} {"click here to have the email re-sent"|gettext}.

{"While you're waiting, you can return to the community."|gettext}

{/if} {else}

{"Is there a problem?"|gettext}

{"We've sent you a lot of validation emails - we can't send you any more, so if you haven't received any of them, there must be a problem. Please ensure that the email has not found its way into your spam or junk folder. If you're sure it's not there, please get in touch with your community administrator."|gettext}

{if $hubbub->data.hubbub_adminemail!=""}

{"Need some help?"|gettext} {"Email us at"|gettext} {$hubbub->data.hubbub_adminemail}

{/if}

{if !$hubbub->data.hubbub_closed} {/if} {/if}