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/shortcode.php +0 -65 10.11.1 → 11.1.1 View file →
@@ -1,65 +1,0 @@
1 -<div id="acym_fulldiv_<?php echo $form->form_tag_name; ?>" class="acym__subscription__form__shortcode acym__subscription__form-erase">
2 - <?php
3 - if ($edition) {
4 - echo '<form action="#" onsubmit="return false;" id="'.$form->form_tag_name.'">';
5 - } else {
6 - echo '<form 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\')">';
7 - }
8 - include acym_getPartial('forms', 'fields');
9 - include acym_getPartial('forms', 'button');
10 - include acym_getPartial('forms', 'hidden_params');
11 - ?>
12 - </form>
13 -</div>
14 -<style>
15 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode{
16 - height: <?php echo $form->settings['style']['size']['height']; ?>px;
17 - max-width: <?php echo $form->settings['style']['size']['width']; ?>px;
18 - background-color: <?php echo $form->settings['style']['background_color']; ?>;
19 - color: <?php echo $form->settings['style']['text_color']; ?> !important;
20 - padding: .5rem;
21 - text-align: center;
22 - display: flex;
23 - justify-content: center;
24 - align-items: center;
25 - margin: 1rem auto;
26 - }
27 -
28 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode .responseContainer{
29 - margin-bottom: 0 !important;
30 - padding: .4rem !important;
31 - }
32 -
33 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode <?php echo '#'.$form->form_tag_name; ?>{
34 - margin: 0;
35 - }
36 -
37 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode .acym__subscription__form__fields, <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode .acym__subscription__form__button{
38 - display: block;
39 - width: 100%;
40 - margin: 1rem 0 !important;
41 - }
42 -
43 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode .acym__subscription__form__fields .acym__subscription__form__lists{
44 - display: block;
45 - width: 100%;
46 - margin: 1rem 10px !important;
47 - }
48 -
49 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode .acym__subscription__form__fields > *:not(style){
50 - display: block;
51 - }
52 -
53 - <?php if (!empty($form->settings['style']['position']) && in_array($form->settings['style']['position'], ['image-right', 'image-left'])) { ?>
54 - <?php echo '#acym_fulldiv_'.$form->form_tag_name; ?>.acym__subscription__form__shortcode <?php echo '#'.$form->form_tag_name; ?>{
55 - display: flex;
56 - justify-content: center;
57 - align-items: center
58 - }
59 -
60 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__shortcode__fields-button, <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__image{
61 - display: inline-block;
62 - }
63 -
64 - <?php } ?>
65 -</style>