Changeset 3444742
- Timestamp:
- 01/22/2026 11:16:03 AM (2 months ago)
- Location:
- acymailing-integration-for-contact-form-7
- Files:
-
- 8 edited
- 1 copied
-
tags/4.0 (copied) (copied from acymailing-integration-for-contact-form-7/trunk)
-
tags/4.0/acymailing-contactform7.php (modified) (1 diff)
-
tags/4.0/readme.txt (modified) (1 diff)
-
tags/4.0/views/acymsubDisplay.php (modified) (4 diffs)
-
tags/4.0/views/acymsubParameters.php (modified) (3 diffs)
-
trunk/acymailing-contactform7.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/views/acymsubDisplay.php (modified) (4 diffs)
-
trunk/views/acymsubParameters.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
acymailing-integration-for-contact-form-7/tags/4.0/acymailing-contactform7.php
r3363054 r3444742 6 6 * Author URI: https://www.acymailing.com 7 7 * License: GPLv3 8 * Version: 3.98 * Version: 4.0 9 9 * Requires Plugins: acymailing, contact-form-7 10 10 */ -
acymailing-integration-for-contact-form-7/tags/4.0/readme.txt
r3363054 r3444742 2 2 Contributors: acyba 3 3 Tags: newsletter, newsletter form, acymailing, form, subscription 4 Tested up to: 6. 85 Stable tag: 3.94 Tested up to: 6.9 5 Stable tag: 4.0 6 6 License: GPLv3 7 7 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
acymailing-integration-for-contact-form-7/tags/4.0/views/acymsubDisplay.php
r3363054 r3444742 1 1 <?php 2 2 if (!defined('ABSPATH')) { 3 exit;3 exit; 4 4 } 5 5 ?> … … 7 7 <span class="<?php echo esc_attr($data['class']); ?>"> 8 8 <?php 9 foreach ($data['detailsLists']['displayLists'] as $listId) {10 $check = false;11 if (in_array($listId, $data['detailsLists']['defaultLists'])) {12 $check = true;13 }14 $idInput = 'acylist_'.$listId.'_field_'.$data['tagName'];15 ?>9 foreach ($data['detailsLists']['displayLists'] as $listId) { 10 $check = false; 11 if (in_array($listId, $data['detailsLists']['defaultLists'])) { 12 $check = true; 13 } 14 $idInput = 'acylist_'.$listId.'_field_'.$data['tagName']; 15 ?> 16 16 17 17 <span class="onelist wpcf7-list-item"> … … 22 22 <label for="<?php echo esc_attr($idInput); ?>"><?php echo esc_html($data['listNames'][$listId]); ?></label> 23 23 </span> 24 <?php25 }24 <?php 25 } 26 26 27 $acymmail = '';28 $acymname = '';29 foreach ($data['tag']->options as $oneOption) {30 if (strpos($oneOption, 'acymmail:') !== false) {31 $optionExploded = explode(':', $oneOption);32 $acymmail .= $optionExploded[1];33 }34 if (strpos($oneOption, 'acymname:') !== false) {35 $optionExploded = explode(':', $oneOption);36 $acymname .= $optionExploded[1];37 }38 }39 ?>27 $acymmail = ''; 28 $acymname = ''; 29 foreach ($data['tag']->options as $oneOption) { 30 if (strpos($oneOption, 'acymmail:') !== false) { 31 $optionExploded = explode(':', $oneOption); 32 $acymmail .= $optionExploded[1]; 33 } 34 if (strpos($oneOption, 'acymname:') !== false) { 35 $optionExploded = explode(':', $oneOption); 36 $acymname .= $optionExploded[1]; 37 } 38 } 39 ?> 40 40 41 41 <input type="hidden" … … 48 48 </span> 49 49 <?php 50 echo wp_kses(51 $data['validationError'],52 [53 'span' => [54 'class' => [],55 'aria-hidden' => [],56 ],57 ]58 );59 ?>50 echo wp_kses( 51 $data['validationError'], 52 [ 53 'span' => [ 54 'class' => [], 55 'aria-hidden' => [], 56 ], 57 ] 58 ); 59 ?> 60 60 </span> -
acymailing-integration-for-contact-form-7/tags/4.0/views/acymsubParameters.php
r3363054 r3444742 5 5 ?> 6 6 <div class="control-box"> 7 <fieldset>8 <legend><?php echo esc_html(acym_translation('ACYM_INSERT_CONTACTFORM_TAG')); ?>9 <a href="https://docs.acymailing.com/addons/wordpress-add-ons/contact-form-7" target="_blank">7 <fieldset> 8 <legend><?php echo esc_html(acym_translation('ACYM_INSERT_CONTACTFORM_TAG')); ?> 9 <a href="https://docs.acymailing.com/addons/wordpress-add-ons/contact-form-7" target="_blank"> 10 10 <?php echo esc_html(acym_translation('ACYM_SEE_DOCUMENTATION')); ?> 11 </a>12 </legend>11 </a> 12 </legend> 13 13 14 <table class="form-table">15 <tbody>16 <tr>17 <th scope="row">14 <table class="form-table"> 15 <tbody> 16 <tr> 17 <th scope="row"> 18 18 <?php 19 19 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 20 20 esc_html_e('Field type', 'contact-form-7'); 21 21 ?> 22 </th>23 <td>24 <fieldset>25 <legend class="screen-reader-text">22 </th> 23 <td> 24 <fieldset> 25 <legend class="screen-reader-text"> 26 26 <?php 27 27 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 28 28 esc_html_e('Field type', 'contact-form-7'); 29 29 ?> 30 </legend>31 <label>32 <input type="checkbox" name="required" /> <?php30 </legend> 31 <label> 32 <input type="checkbox" name="required" /> <?php 33 33 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 34 34 esc_html_e('Required field', 'contact-form-7'); 35 35 ?> 36 </label>37 </fieldset>38 </td>39 </tr>40 <tr>41 <th scope="row">42 <label for="<?php echo esc_attr($data['args']['content'].'-name'); ?>">36 </label> 37 </fieldset> 38 </td> 39 </tr> 40 <tr> 41 <th scope="row"> 42 <label for="<?php echo esc_attr($data['args']['content'].'-name'); ?>"> 43 43 <?php 44 44 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 45 45 esc_html_e('Name', 'contact-form-7'); 46 46 ?> 47 </label>48 </th>49 <td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr($data['args']['content'].'-name'); ?>" /></td>50 </tr>51 <tr>52 <th scope="row">53 <label for="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>">47 </label> 48 </th> 49 <td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr($data['args']['content'].'-name'); ?>" /></td> 50 </tr> 51 <tr> 52 <th scope="row"> 53 <label for="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>"> 54 54 <?php echo esc_html(acym_translation('ACYM_MAIL_FIELD_CONTACT')); ?> 55 </label>56 </th>57 <td>58 <input type="text"59 name="acymmail"60 placeholder="your-email"61 class="classvalue oneline option"62 id="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>" />63 </td>64 </tr>65 <tr>66 <th scope="row">67 <label for="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>">55 </label> 56 </th> 57 <td> 58 <input type="text" 59 name="acymmail" 60 placeholder="your-email" 61 class="classvalue oneline option" 62 id="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>" /> 63 </td> 64 </tr> 65 <tr> 66 <th scope="row"> 67 <label for="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>"> 68 68 <?php echo esc_html(acym_translation('ACYM_NAME_FIELD_CONTACT')); ?> 69 </label>70 </th>71 <td>72 <input type="text"73 name="acymname"74 placeholder="your-name"75 class="classvalue oneline option"76 id="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>" />77 </td>78 </tr>69 </label> 70 </th> 71 <td> 72 <input type="text" 73 name="acymname" 74 placeholder="your-name" 75 class="classvalue oneline option" 76 id="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>" /> 77 </td> 78 </tr> 79 79 80 80 <?php foreach ($data['propertyLabels'] as $key => $label) { ?> 81 <tr>82 <th scope="row"><?php echo esc_html($label); ?></th>83 <td>84 <fieldset>81 <tr> 82 <th scope="row"><?php echo esc_html($label); ?></th> 83 <td> 84 <fieldset> 85 85 <?php 86 86 echo wp_kses( … … 100 100 ); 101 101 ?> 102 <input type="hidden" name="<?php echo esc_attr($key); ?>" data-type="<?php echo esc_attr($key); ?>" value="">103 </fieldset>104 </td>105 </tr>102 <input type="hidden" name="<?php echo esc_attr($key); ?>" data-type="<?php echo esc_attr($key); ?>" value=""> 103 </fieldset> 104 </td> 105 </tr> 106 106 <?php } ?> 107 107 108 <tr>109 <th scope="row">110 <label for="<?php echo esc_attr($data['args']['content'].'-class'); ?>">108 <tr> 109 <th scope="row"> 110 <label for="<?php echo esc_attr($data['args']['content'].'-class'); ?>"> 111 111 <?php 112 112 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 113 113 esc_html_e('Class attribute', 'contact-form-7'); 114 114 ?> 115 </label>116 </th>117 <td>118 <input type="text"119 name="class"120 class="classvalue oneline option"121 id="<?php echo esc_attr($data['args']['content'].'-class'); ?>" />122 </td>123 </tr>124 </tbody>125 </table>126 <input type="hidden" name="values" value="">127 </fieldset>115 </label> 116 </th> 117 <td> 118 <input type="text" 119 name="class" 120 class="classvalue oneline option" 121 id="<?php echo esc_attr($data['args']['content'].'-class'); ?>" /> 122 </td> 123 </tr> 124 </tbody> 125 </table> 126 <input type="hidden" name="values" value=""> 127 </fieldset> 128 128 </div> 129 129 130 130 <div class="insert-box"> 131 <input type="text" name="acymsub" class="tag code" readonly="readonly" onfocus="this.select()" />132 <div class="submitbox">133 <input type="button" class="button button-primary insert-tag" value="<?php131 <input type="text" name="acymsub" class="tag code" readonly="readonly" onfocus="this.select()" /> 132 <div class="submitbox"> 133 <input type="button" class="button button-primary insert-tag" value="<?php 134 134 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 135 135 esc_attr_e('Insert Tag', 'contact-form-7'); 136 136 ?>" /> 137 </div>138 <br class="clear" />139 <p class="description mail-tag">140 <label for="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>">137 </div> 138 <br class="clear" /> 139 <p class="description mail-tag"> 140 <label for="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>"> 141 141 <?php 142 142 echo sprintf( … … 152 152 ); 153 153 ?> 154 <input type="text" class="mail-tag code hidden" readonly="readonly" id="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>" />155 </label>156 </p>154 <input type="text" class="mail-tag code hidden" readonly="readonly" id="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>" /> 155 </label> 156 </p> 157 157 </div> -
acymailing-integration-for-contact-form-7/trunk/acymailing-contactform7.php
r3363054 r3444742 6 6 * Author URI: https://www.acymailing.com 7 7 * License: GPLv3 8 * Version: 3.98 * Version: 4.0 9 9 * Requires Plugins: acymailing, contact-form-7 10 10 */ -
acymailing-integration-for-contact-form-7/trunk/readme.txt
r3363054 r3444742 2 2 Contributors: acyba 3 3 Tags: newsletter, newsletter form, acymailing, form, subscription 4 Tested up to: 6. 85 Stable tag: 3.94 Tested up to: 6.9 5 Stable tag: 4.0 6 6 License: GPLv3 7 7 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
acymailing-integration-for-contact-form-7/trunk/views/acymsubDisplay.php
r3363054 r3444742 1 1 <?php 2 2 if (!defined('ABSPATH')) { 3 exit;3 exit; 4 4 } 5 5 ?> … … 7 7 <span class="<?php echo esc_attr($data['class']); ?>"> 8 8 <?php 9 foreach ($data['detailsLists']['displayLists'] as $listId) {10 $check = false;11 if (in_array($listId, $data['detailsLists']['defaultLists'])) {12 $check = true;13 }14 $idInput = 'acylist_'.$listId.'_field_'.$data['tagName'];15 ?>9 foreach ($data['detailsLists']['displayLists'] as $listId) { 10 $check = false; 11 if (in_array($listId, $data['detailsLists']['defaultLists'])) { 12 $check = true; 13 } 14 $idInput = 'acylist_'.$listId.'_field_'.$data['tagName']; 15 ?> 16 16 17 17 <span class="onelist wpcf7-list-item"> … … 22 22 <label for="<?php echo esc_attr($idInput); ?>"><?php echo esc_html($data['listNames'][$listId]); ?></label> 23 23 </span> 24 <?php25 }24 <?php 25 } 26 26 27 $acymmail = '';28 $acymname = '';29 foreach ($data['tag']->options as $oneOption) {30 if (strpos($oneOption, 'acymmail:') !== false) {31 $optionExploded = explode(':', $oneOption);32 $acymmail .= $optionExploded[1];33 }34 if (strpos($oneOption, 'acymname:') !== false) {35 $optionExploded = explode(':', $oneOption);36 $acymname .= $optionExploded[1];37 }38 }39 ?>27 $acymmail = ''; 28 $acymname = ''; 29 foreach ($data['tag']->options as $oneOption) { 30 if (strpos($oneOption, 'acymmail:') !== false) { 31 $optionExploded = explode(':', $oneOption); 32 $acymmail .= $optionExploded[1]; 33 } 34 if (strpos($oneOption, 'acymname:') !== false) { 35 $optionExploded = explode(':', $oneOption); 36 $acymname .= $optionExploded[1]; 37 } 38 } 39 ?> 40 40 41 41 <input type="hidden" … … 48 48 </span> 49 49 <?php 50 echo wp_kses(51 $data['validationError'],52 [53 'span' => [54 'class' => [],55 'aria-hidden' => [],56 ],57 ]58 );59 ?>50 echo wp_kses( 51 $data['validationError'], 52 [ 53 'span' => [ 54 'class' => [], 55 'aria-hidden' => [], 56 ], 57 ] 58 ); 59 ?> 60 60 </span> -
acymailing-integration-for-contact-form-7/trunk/views/acymsubParameters.php
r3363054 r3444742 5 5 ?> 6 6 <div class="control-box"> 7 <fieldset>8 <legend><?php echo esc_html(acym_translation('ACYM_INSERT_CONTACTFORM_TAG')); ?>9 <a href="https://docs.acymailing.com/addons/wordpress-add-ons/contact-form-7" target="_blank">7 <fieldset> 8 <legend><?php echo esc_html(acym_translation('ACYM_INSERT_CONTACTFORM_TAG')); ?> 9 <a href="https://docs.acymailing.com/addons/wordpress-add-ons/contact-form-7" target="_blank"> 10 10 <?php echo esc_html(acym_translation('ACYM_SEE_DOCUMENTATION')); ?> 11 </a>12 </legend>11 </a> 12 </legend> 13 13 14 <table class="form-table">15 <tbody>16 <tr>17 <th scope="row">14 <table class="form-table"> 15 <tbody> 16 <tr> 17 <th scope="row"> 18 18 <?php 19 19 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 20 20 esc_html_e('Field type', 'contact-form-7'); 21 21 ?> 22 </th>23 <td>24 <fieldset>25 <legend class="screen-reader-text">22 </th> 23 <td> 24 <fieldset> 25 <legend class="screen-reader-text"> 26 26 <?php 27 27 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 28 28 esc_html_e('Field type', 'contact-form-7'); 29 29 ?> 30 </legend>31 <label>32 <input type="checkbox" name="required" /> <?php30 </legend> 31 <label> 32 <input type="checkbox" name="required" /> <?php 33 33 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 34 34 esc_html_e('Required field', 'contact-form-7'); 35 35 ?> 36 </label>37 </fieldset>38 </td>39 </tr>40 <tr>41 <th scope="row">42 <label for="<?php echo esc_attr($data['args']['content'].'-name'); ?>">36 </label> 37 </fieldset> 38 </td> 39 </tr> 40 <tr> 41 <th scope="row"> 42 <label for="<?php echo esc_attr($data['args']['content'].'-name'); ?>"> 43 43 <?php 44 44 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 45 45 esc_html_e('Name', 'contact-form-7'); 46 46 ?> 47 </label>48 </th>49 <td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr($data['args']['content'].'-name'); ?>" /></td>50 </tr>51 <tr>52 <th scope="row">53 <label for="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>">47 </label> 48 </th> 49 <td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr($data['args']['content'].'-name'); ?>" /></td> 50 </tr> 51 <tr> 52 <th scope="row"> 53 <label for="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>"> 54 54 <?php echo esc_html(acym_translation('ACYM_MAIL_FIELD_CONTACT')); ?> 55 </label>56 </th>57 <td>58 <input type="text"59 name="acymmail"60 placeholder="your-email"61 class="classvalue oneline option"62 id="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>" />63 </td>64 </tr>65 <tr>66 <th scope="row">67 <label for="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>">55 </label> 56 </th> 57 <td> 58 <input type="text" 59 name="acymmail" 60 placeholder="your-email" 61 class="classvalue oneline option" 62 id="<?php echo esc_attr($data['args']['content'].'-acymmail'); ?>" /> 63 </td> 64 </tr> 65 <tr> 66 <th scope="row"> 67 <label for="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>"> 68 68 <?php echo esc_html(acym_translation('ACYM_NAME_FIELD_CONTACT')); ?> 69 </label>70 </th>71 <td>72 <input type="text"73 name="acymname"74 placeholder="your-name"75 class="classvalue oneline option"76 id="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>" />77 </td>78 </tr>69 </label> 70 </th> 71 <td> 72 <input type="text" 73 name="acymname" 74 placeholder="your-name" 75 class="classvalue oneline option" 76 id="<?php echo esc_attr($data['args']['content'].'-acymname'); ?>" /> 77 </td> 78 </tr> 79 79 80 80 <?php foreach ($data['propertyLabels'] as $key => $label) { ?> 81 <tr>82 <th scope="row"><?php echo esc_html($label); ?></th>83 <td>84 <fieldset>81 <tr> 82 <th scope="row"><?php echo esc_html($label); ?></th> 83 <td> 84 <fieldset> 85 85 <?php 86 86 echo wp_kses( … … 100 100 ); 101 101 ?> 102 <input type="hidden" name="<?php echo esc_attr($key); ?>" data-type="<?php echo esc_attr($key); ?>" value="">103 </fieldset>104 </td>105 </tr>102 <input type="hidden" name="<?php echo esc_attr($key); ?>" data-type="<?php echo esc_attr($key); ?>" value=""> 103 </fieldset> 104 </td> 105 </tr> 106 106 <?php } ?> 107 107 108 <tr>109 <th scope="row">110 <label for="<?php echo esc_attr($data['args']['content'].'-class'); ?>">108 <tr> 109 <th scope="row"> 110 <label for="<?php echo esc_attr($data['args']['content'].'-class'); ?>"> 111 111 <?php 112 112 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 113 113 esc_html_e('Class attribute', 'contact-form-7'); 114 114 ?> 115 </label>116 </th>117 <td>118 <input type="text"119 name="class"120 class="classvalue oneline option"121 id="<?php echo esc_attr($data['args']['content'].'-class'); ?>" />122 </td>123 </tr>124 </tbody>125 </table>126 <input type="hidden" name="values" value="">127 </fieldset>115 </label> 116 </th> 117 <td> 118 <input type="text" 119 name="class" 120 class="classvalue oneline option" 121 id="<?php echo esc_attr($data['args']['content'].'-class'); ?>" /> 122 </td> 123 </tr> 124 </tbody> 125 </table> 126 <input type="hidden" name="values" value=""> 127 </fieldset> 128 128 </div> 129 129 130 130 <div class="insert-box"> 131 <input type="text" name="acymsub" class="tag code" readonly="readonly" onfocus="this.select()" />132 <div class="submitbox">133 <input type="button" class="button button-primary insert-tag" value="<?php131 <input type="text" name="acymsub" class="tag code" readonly="readonly" onfocus="this.select()" /> 132 <div class="submitbox"> 133 <input type="button" class="button button-primary insert-tag" value="<?php 134 134 // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch 135 135 esc_attr_e('Insert Tag', 'contact-form-7'); 136 136 ?>" /> 137 </div>138 <br class="clear" />139 <p class="description mail-tag">140 <label for="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>">137 </div> 138 <br class="clear" /> 139 <p class="description mail-tag"> 140 <label for="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>"> 141 141 <?php 142 142 echo sprintf( … … 152 152 ); 153 153 ?> 154 <input type="text" class="mail-tag code hidden" readonly="readonly" id="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>" />155 </label>156 </p>154 <input type="text" class="mail-tag code hidden" readonly="readonly" id="<?php echo esc_attr($data['args']['content'].'-mailtag'); ?>" /> 155 </label> 156 </p> 157 157 </div>
Note: See TracChangeset
for help on using the changeset viewer.