| @@ -1,31 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | -// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals. | |
| 3 | -defined('ABSPATH') || die('Restricted Access'); | |
| 4 | -?> | |
| 5 | -<input type="hidden" name="ctrl" value="frontusers" /> | |
| 6 | -<input type="hidden" name="task" value="notask" /> | |
| 7 | -<input type="hidden" name="page" value="acymailing_front" /> | |
| 8 | -<input type="hidden" name="option" value="<?php echo esc_attr(ACYM_COMPONENT); ?>" /> | |
| 9 | -<input type="hidden" name="acy_source" value="Form ID <?php echo intval($form->id); ?>"> | |
| 10 | -<input type="hidden" name="acyformname" value="<?php echo esc_attr($form->form_tag_name); ?>"> | |
| 11 | -<input type="hidden" name="acymformtype" value="<?php echo esc_attr($form->type); ?>"> | |
| 12 | -<input type="hidden" name="acysubmode" value="form_acym"> | |
| 13 | - | |
| 14 | -<?php | |
| 15 | -$redirection = $form->settings['redirection']['after_subscription']; | |
| 16 | -$ajax = empty($redirection) ? '1' : '0'; | |
| 17 | - | |
| 18 | -$confirmationMessage = ''; | |
| 19 | -if (!empty($form->settings['redirection']['confirmation_message'])) { | |
| 20 | - $confirmationMessage = $form->settings['redirection']['confirmation_message']; | |
| 21 | -} | |
| 22 | -$currentLanguageTag = acym_getLanguageTag(); | |
| 23 | -if (acym_isMultilingual() && !empty($form->settings['redirection']['langConfirm'][$currentLanguageTag])) { | |
| 24 | - $confirmationMessage = $form->settings['redirection']['langConfirm'][$currentLanguageTag]; | |
| 25 | -} | |
| 26 | -?> | |
| 27 | -<input type="hidden" name="redirect" value="<?php echo esc_url($redirection); ?>"> | |
| 28 | -<input type="hidden" name="ajax" value="<?php echo esc_attr($ajax); ?>"> | |
| 29 | -<input type="hidden" | |
| 30 | - name="confirmation_message" | |
| 31 | - value="<?php echo esc_attr($confirmationMessage); ?>"> | |