PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.1
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
← All changes | back/Partial/forms/footer.php +0 -61 10.10.2 → 11.1.1 View file →
@@ -1,61 +1,0 @@
1 -<div id="acym_fulldiv_<?php echo $form->form_tag_name; ?>" class="acym__subscription__form__footer acym__subscription__form-erase">
2 - <?php
3 - if ($edition) {
4 - echo '<form action="#" onsubmit="return false;" id="'.$form->form_tag_name.'">';
5 - } else {
6 - $cookieExpirationAttr = empty($form->settings['cookie']['cookie_expiration']) ? 'acym-data-cookie="1"'
7 - : 'acym-data-cookie="'.$form->settings['cookie']['cookie_expiration'].'"';
8 - echo '<form acym-data-id="'.$form->id.'" '.$cookieExpirationAttr.' action="'.$form->form_tag_action.'" id="'.$form->form_tag_name.'" name="'.$form->form_tag_name.'" enctype="multipart/form-data" onsubmit="return submitAcymForm(\'subscribe\',\''.$form->form_tag_name.'\', \'acymSubmitSubForm\')">';
9 - }
10 - $files = [
11 - 0 => $form->settings['style']['position'] == 'button-right' ? 'fields' : 'button',
12 - 1 => $form->settings['style']['position'] == 'button-right' ? 'button' : 'fields',
13 - ];
14 -
15 - include acym_getPartial('forms', $files[0]);
16 - include acym_getPartial('forms', $files[1]);
17 - include acym_getPartial('forms', 'hidden_params');
18 - ?>
19 - </form>
20 -</div>
21 -<style>
22 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__footer{
23 - position: fixed;
24 - bottom: 0;
25 - right: 0;
26 - left: 0;
27 - height: <?php echo $form->settings['style']['size']['height']; ?>px;
28 - background-color: <?php echo $form->settings['style']['background_color']; ?>;
29 - color: <?php echo $form->settings['style']['text_color']; ?> !important;
30 - padding: .5rem;
31 - z-index: 999999;
32 - text-align: center;
33 - display: flex;
34 - justify-content: center;
35 - align-items: center
36 - }
37 -
38 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__footer .responseContainer{
39 - margin-bottom: 0 !important;
40 - padding: .4rem !important;
41 - }
42 -
43 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__footer <?php echo '#'.$form->form_tag_name; ?>{
44 - margin: 0;
45 - display: flex;
46 - justify-content: center;
47 - align-items: center
48 - }
49 -
50 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__footer .acym__subscription__form__fields, <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__footer .acym__subscription__form__button{
51 - display: flex;
52 - justify-content: center;
53 - align-items: center
54 - }
55 -
56 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>
57 - .acym__users__creation__fields__title{
58 - margin: 0.5rem
59 - }
60 -</style>
61 -<?php if (!$edition) include acym_getPartial('forms', 'cookie'); ?>