| 1 |
<input type="hidden" name="ctrl" value="frontusers" /> |
| 2 |
<input type="hidden" name="task" value="notask" /> |
| 3 |
<input type="hidden" name="page" value="acymailing_front" /> |
| 4 |
<input type="hidden" name="option" value="<?php echo acym_escape(ACYM_COMPONENT); ?>" /> |
| 5 |
<input type="hidden" name="acy_source" value="Form ID <?php echo intval($form->id); ?>"> |
| 6 |
<input type="hidden" name="acyformname" value="<?php echo acym_escape($form->form_tag_name); ?>"> |
| 7 |
<input type="hidden" name="acymformtype" value="<?php echo acym_escape($form->type); ?>"> |
| 8 |
<input type="hidden" name="acysubmode" value="form_acym"> |
| 9 |
|
| 10 |
<?php |
| 11 |
$redirection = $form->settings['redirection']['after_subscription']; |
| 12 |
$ajax = empty($redirection) ? '1' : '0'; |
| 13 |
|
| 14 |
$confirmationMessage = ''; |
| 15 |
if (!empty($form->settings['redirection']['confirmation_message'])) { |
| 16 |
$confirmationMessage = $form->settings['redirection']['confirmation_message']; |
| 17 |
} |
| 18 |
$currentLanguageTag = acym_getLanguageTag(); |
| 19 |
if (acym_isMultilingual() && !empty($form->settings['redirection']['langConfirm'][$currentLanguageTag])) { |
| 20 |
$confirmationMessage = $form->settings['redirection']['langConfirm'][$currentLanguageTag]; |
| 21 |
} |
| 22 |
?> |
| 23 |
<input type="hidden" name="redirect" value="<?php echo acym_escapeUrl($redirection); ?>"> |
| 24 |
<input type="hidden" name="ajax" value="<?php echo acym_escape($ajax); ?>"> |
| 25 |
<input type="hidden" |
| 26 |
name="confirmation_message" |
| 27 |
value="<?php echo acym_escape($confirmationMessage); ?>"> |
| 28 |
|