function showFinishPage($iMemberId, $sStatus) { switch ($sStatus) { case 'Active': $sStatusText = '_USER_ACTIVATION_SUCCEEDED'; break; //activated automatically //activated automatically case 'Approval': $sStatusText = '_USER_CONF_SUCCEEDED'; break; //automatically confirmed //automatically confirmed case 'Unconfirmed': $sStatusText = '_EMAIL_CONF_SENT'; break; //conf mail succesfully sent //conf mail succesfully sent case 'NotSent': $sStatusText = '_EMAIL_CONF_NOT_SENT'; break; //failed to send conf mail } if ('sys_avatar' == getParam('sys_member_info_thumb') && 'EXIT' == BxDolService::call('avatar', 'join', array($iMemberId, $sStatusText))) { exit; } return '<div class="dbContentHtml bx-def-font-large">' . _t('_Join complete') . '<br />' . _t($sStatusText) . '</div>'; }