PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Partial / forms / hidden_params.php

hidden_params.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.1.0, at back/Partial/forms/hidden_params.php

32 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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); ?>">
32