{* $Id$ *}
|
|
{if $wpSubscribe eq 'y'}
|
|
{if empty($subscribeThanks)}
|
|
{tr}Subscription confirmed!{/tr}
|
|
{else}
|
|
{$subscribeThanks|escape}
|
|
{/if}
|
|
{else}
|
|
<form name="wpSubscribeNL" method="post">
|
|
<input type="hidden" name="wpNlId" value="{$subscribeInfo.nlId|escape}">
|
|
|
|
{if !empty($wpError)}
|
|
{remarksbox type='errors'}
|
|
{$wpError|escape}
|
|
{/remarksbox}
|
|
{/if}
|
|
|
|
<div class="d-flex flex-row flex-wrap align-items-center row">
|
|
<div class="input-group">
|
|
<input type="email" class="form-control fa" id="wpEmail" name="wpEmail" size="50" value="{$subscribeEmail|escape}" placeholder="">
|
|
{if empty($subcribeMessage)}
|
|
<input type="submit" class="btn btn-primary" name="wpSubscribe" value="{tr}Subscribe to the newsletter:{/tr} {$subscribeInfo.name}">
|
|
{else}
|
|
<input type="submit" class="btn btn-primary" name="wpSubscribe" value="{$subcribeMessage|escape}">
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
|
|
{if $useCaptcha !== 0}
|
|
{if !$user and $prefs.feature_antibot eq 'y'}
|
|
{include file='antibot.tpl' antibot_table="y" showmandatory="y" form="$inmodule"}
|
|
{/if}
|
|
{/if}
|
|
</form>
|
|
{/if}
|