{if $wa_is_allowed_ip}
{if ifset($service, null) === waServicesApi::SMS_SERVICE}
[s`Current balance`] {$wa_balance}
{/if} {if $wa_total}
[s`Remaining`]
{strip} {if ifset($service, null) === waServicesApi::SMS_SERVICE} ≈{$wa_total|wa_format:false} SMS

{sprintf('[s`%s / message`]', $wa_price)}

{elseif ifset($service, null) === waServicesApi::EMAIL_MESSAGE_SERVICE} {$wa_total|wa_format:false} {_ws('message', 'messages', intval($wa_total))} {else} {$wa_total|wa_format} {_ws('call', 'calls', intval($wa_total))} {/if} {/strip}
{/if}
{if !$wa_total}[s`Try free`]{else}[s`Free `]{/if}
{if isset($wa_remaining_free_calls['total']) && $wa_remaining_free_calls['total'] <= 0} {if !$wa_total}{/if} {if isset($wa_free_limits['total']) && $wa_free_limits['total'] > 0} {_ws('Limit of %d free message reached', 'Limit of %d free messages reached', intval($wa_free_limits['total']))} {else} [s`Free message limit reached`] {/if} {else} {if !empty($wa_free_limits)} {foreach $wa_free_limits as $period => $limit} {if $period == 'total'} {if isset($wa_remaining_free_calls[$period]) && $wa_remaining_free_calls[$period] < $limit} {_ws('%d message left', '%d messages left', intval($wa_remaining_free_calls[$period]))} {else} {_ws('%d message', '%d messages', intval($limit))} {/if} {if count($wa_free_limits) > 1} / {_ws($period)} {/if} {else} {_ws('%d message', '%d messages', intval($limit))} / {_ws($period)} {if isset($wa_remaining_free_calls[$period]) && $wa_remaining_free_calls[$period] < $limit}

{if !$wa_total && $wa_remaining_free_calls[$period] <= 0} {/if} {if $period == 'day'} {_ws('%s remains today', '%s remain today', intval($wa_remaining_free_calls[$period]))} {else} {_ws('%s remains', '%s remain', intval($wa_remaining_free_calls[$period]))} {/if}

{/if} {/if}
{/foreach} {/if} {/if}
[s`Pricing`]
{if !empty($waid_balance_show_sms_notice)}

{sprintf( _ws('%s is not currently used. There are other configured SMS adapters. To use %s, remove settings from all SMS adapters.'), 'Webasyst SMS', 'Webasyst SMS' )}

{/if} {else}

[s`The IP address of the server where your Webasyst is installed is in the list of banned addresses.`]

[s`It might have been caused by several technical reasons; e.g., by moving your Webasyst account to another server.`] [s`Click this button to add your new IP address to the list of allowed addresses.`]

{/if}

[s`Confirmation code`]

[s`Server response`]