{$_title = "[s`SMS providers`] — {$wa->accountName(false)}"}

[s`SMS providers`]

{* Incoming / outgoing emails *}
{if count($sms_adapters)} {foreach $sms_adapters as $i => $a}

{$a.name}


{if isset($a.controls.from.title)}{$a.controls.from.title}{else}[`Sender IDs`]{/if}
{strip} {/strip}

{if isset($a.controls.from.description)}{$a.controls.from.description}{else}[`Enter sender IDs, each on a separate line, to use with this SMS gateway. A sender ID is either your phone number or an up to 11 characters long text label. Enter * (asterisk) to use a default sender ID issued by the gateway for your account.`]{/if}

{foreach $a.controls as $k => $v} {if $k != 'from'}
{_ws($v.title)}
{if ifset($v.control_type) == 'checkbox'} {else} {/if} {if !empty($v.description)}

{$v.description}

{/if}
{/if} {/foreach}
{/foreach} {else}

{sprintf('[`To enable SMS message sending, install and configure an integration plugin for your preferred SMS gateway. Browse for SMS gateway plugins in Installer app.`]', $wa_backend_url|cat:'installer/store/?filters%5Bcategory%5D=plugins%3Asms&filters%5Btype%5D=plugin')}

{/if}
{if count($sms_adapters)}
{/if}