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/button.php +0 -38 10.11.1 → 11.1.1 View file →
@@ -1,38 +1,0 @@
1 -<div class="acym__subscription__form__button">
2 - <?php
3 - if (empty($form->settings['button']['text'])) {
4 - $form->settings['button']['text'] = 'ACYM_SUBSCRIBE';
5 - }
6 -
7 - if (acym_isMultilingual()) {
8 - $defaultLanguage = $this->config->get('multilingual_default');
9 - $currentLanguageTag = acym_getLanguageTag();
10 -
11 - if (!empty($form->settings['button']['lang'][$currentLanguageTag])) {
12 - $form->settings['button']['text'] = $form->settings['button']['lang'][$currentLanguageTag];
13 - } elseif (!empty($form->settings['button']['lang'][$defaultLanguage])) {
14 - $form->settings['button']['text'] = $form->settings['button']['lang'][$defaultLanguage];
15 - }
16 - }
17 - ?>
18 - <button type="submit">
19 - <?php echo acym_escape(acym_translation($form->settings['button']['text'])); ?>
20 - </button>
21 - <style>
22 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__button{
23 - display: flex;
24 - justify-content: center;
25 - align-items: center
26 - }
27 -
28 - <?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__button button{
29 - background-color: <?php echo $form->settings['button']['background_color']; ?>;
30 - color: <?php echo $form->settings['button']['text_color']; ?>;
31 - border-width: <?php echo $form->settings['button']['border_size']; ?>px;
32 - border-style: <?php echo $form->settings['button']['border_type']; ?>;
33 - border-color: <?php echo $form->settings['button']['border_color']; ?>;
34 - border-radius: <?php echo $form->settings['button']['border_radius']; ?>px;
35 - padding: <?php echo $form->settings['button']['size']['height']; ?>px <?php echo $form->settings['button']['size']['width']; ?>px;
36 - }
37 - </style>
38 -</div>