Changeset 3236147
- Timestamp:
- 02/06/2025 04:42:16 PM (14 months ago)
- Location:
- gravitywp-merge-tags
- Files:
-
- 2 deleted
- 12 edited
- 1 copied
-
tags/1.4.2 (copied) (copied from gravitywp-merge-tags/trunk)
-
tags/1.4.2/assets/css/admin.css (modified) (1 diff)
-
tags/1.4.2/gravitywp-merge-tags.php (modified) (2 diffs)
-
tags/1.4.2/languages/gravitywp-merge-tags-nl_NL.mo (modified) (previous)
-
tags/1.4.2/languages/gravitywp-merge-tags-nl_NL.po (modified) (10 diffs)
-
tags/1.4.2/phpstan.neon (deleted)
-
tags/1.4.2/readme.txt (modified) (2 diffs)
-
tags/1.4.2/templates/template-dynamic-population.php (modified) (3 diffs)
-
trunk/assets/css/admin.css (modified) (1 diff)
-
trunk/gravitywp-merge-tags.php (modified) (2 diffs)
-
trunk/languages/gravitywp-merge-tags-nl_NL.mo (modified) (previous)
-
trunk/languages/gravitywp-merge-tags-nl_NL.po (modified) (10 diffs)
-
trunk/phpstan.neon (deleted)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/template-dynamic-population.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gravitywp-merge-tags/tags/1.4.2/assets/css/admin.css
r3215179 r3236147 5 5 user-select: all; /* Likely future */ 6 6 } 7 8 .wp-list-table.widefat.break-all { 9 word-break: break-all; 10 } 11 12 .wp-list-table.widefat .break-word { 13 word-break: break-word; 14 } 15 16 .wp-list-table .user-select-all { 17 user-select: all; 18 } -
gravitywp-merge-tags/tags/1.4.2/gravitywp-merge-tags.php
r3215179 r3236147 4 4 Plugin URI: https://gravitywp.com/plugin/merge-tags 5 5 Description: Gravity Forms add-on to list all the merge tags from a specific form 6 Version: 1.4. 16 Version: 1.4.2 7 7 Author: GravityWP 8 8 Author URI: https://gravitywp.com … … 12 12 */ 13 13 14 define( 'GWP_MERGETAGS_VERSION', '1.4. 1' );14 define( 'GWP_MERGETAGS_VERSION', '1.4.2' ); 15 15 16 16 add_action( 'gform_loaded', array( 'GWPMergeTags_AddOn_Bootstrap', 'load' ), 5 ); -
gravitywp-merge-tags/tags/1.4.2/languages/gravitywp-merge-tags-nl_NL.po
r3215179 r3236147 2 2 msgstr "" 3 3 "Project-Id-Version: GravityWP - Merge Tags\n" 4 "POT-Creation-Date: 202 4-05-27 13:30-0400\n"5 "PO-Revision-Date: 202 4-05-27 13:36-0400\n"6 "Last-Translator: \n"4 "POT-Creation-Date: 2025-02-04 12:02+0100\n" 5 "PO-Revision-Date: 2025-02-04 12:03+0100\n" 6 "Last-Translator: Jurriaan Koops <[email protected]>\n" 7 7 "Language-Team: \n" 8 8 "Language: nl_NL\n" … … 51 51 msgstr "Workflow" 52 52 53 #: class-gwp-mergetags.php:303 templates/template-all-fields.php:16 154 #: templates/template-all-fields.php:16 453 #: class-gwp-mergetags.php:303 templates/template-all-fields.php:163 54 #: templates/template-all-fields.php:166 55 55 msgid "All Fields" 56 56 msgstr "Alle velden" … … 64 64 msgstr "Selecteer formulier" 65 65 66 #: templates/template-all-fields.php:5 466 #: templates/template-all-fields.php:55 67 67 msgid "Copy" 68 68 msgstr "Kopiëren" … … 108 108 msgstr "" 109 109 110 #: templates/template-all-fields.php:96111 msgid "Gravity View gvlogic"112 msgstr ""113 114 110 #: templates/template-all-fields.php:97 111 msgid "GravityView gvlogic" 112 msgstr "" 113 114 #: templates/template-all-fields.php:99 115 115 msgid "Without fileuploads" 116 116 msgstr "Zonder bestanden" 117 117 118 #: templates/template-all-fields.php:11 1118 #: templates/template-all-fields.php:113 119 119 msgid "Select all fields" 120 120 msgstr "Selecteer alle velden" 121 121 122 #: templates/template-all-fields.php:11 3122 #: templates/template-all-fields.php:115 123 123 msgid "Label" 124 124 msgstr "Label" 125 125 126 #: templates/template-all-fields.php:11 4templates/template-calculations.php:32126 #: templates/template-all-fields.php:116 templates/template-calculations.php:32 127 127 #: templates/template-conditional-logic.php:16 128 128 #: templates/template-conditional-logic.php:109 … … 131 131 msgstr "Admin beheerder" 132 132 133 #: templates/template-all-fields.php:115 templates/template-all-fields.php:161 134 #: templates/template-gravity-flow.php:12 133 #: templates/template-all-fields.php:117 templates/template-all-fields.php:163 134 #: templates/template-dynamic-population.php:62 135 #: templates/template-gravity-flow.php:15 135 136 msgid "Type" 136 137 msgstr "Soort" 137 138 138 #: templates/template-all-fields.php:11 6139 #: templates/template-all-fields.php:118 139 140 #: templates/template-merge-tags-advanced.php:41 140 141 #: templates/template-merge-tags-advanced.php:73 … … 142 143 msgstr "CSS" 143 144 144 #: templates/template-all-fields.php:16 4145 #: templates/template-all-fields.php:166 145 146 msgid "Table" 146 147 msgstr "Tabel" 147 148 148 #: templates/template-all-fields.php:17 3149 #: templates/template-all-fields.php:175 149 150 msgid "Replace All Fields Merge Tag" 150 151 msgstr "Vervang All Fields Merge Tag" 151 152 152 #: templates/template-all-fields.php:21 6153 #: templates/template-all-fields.php:218 153 154 msgid "Replace All Fields Merge Tag with Gravity Forms shortcode" 154 155 msgstr "Vervang All Fields Merge Tag door de Gravity Forms shortcode" 155 156 156 #: templates/template-all-fields.php:26 5157 #: templates/template-all-fields.php:267 157 158 msgid "Replace All Fields Merge Tag with Gravity View shortcode" 158 159 msgstr "Vervang All Fields Merge Tag door de Gravity View shortcode" 159 160 160 #: templates/template-all-fields.php:3 18161 #: templates/template-all-fields.php:320 161 162 msgid "Replace All Fields Merge Tag without fileuploads" 162 163 msgstr "Vervang All Fields Merge Tag zonder bestanduploads" … … 169 170 #: templates/template-conditional-logic.php:14 170 171 #: templates/template-conditional-logic.php:107 171 #: templates/template-gravity-flow.php:1 1172 #: templates/template-gravity-flow.php:14 172 173 msgid "ID" 173 174 msgstr "ID" … … 217 218 msgstr "Gebruikt in voorwaardelijke logica van veld met ID" 218 219 219 #: templates/template-dynamic-population.php:33 220 #: templates/template-dynamic-population.php:46 221 msgid "Dynamic Population Type:" 222 msgstr "Dynamisch vullen Type:" 223 224 #: templates/template-dynamic-population.php:47 225 msgid "URL" 226 msgstr "" 227 228 #: templates/template-dynamic-population.php:48 229 msgid "URL with merge tags" 230 msgstr "URL met merge tags" 231 232 #: templates/template-dynamic-population.php:49 233 msgid "Excel formula (International)" 234 msgstr "Excel formule (Internationaal)" 235 236 #: templates/template-dynamic-population.php:50 237 msgid "Excel formula (Localized)" 238 msgstr "Excel formule (Lokaal)" 239 240 #: templates/template-dynamic-population.php:52 241 #: templates/template-dynamic-population.php:94 242 msgid "JWT Prefill" 243 msgstr "" 244 245 #: templates/template-dynamic-population.php:63 246 msgid "Value" 247 msgstr "Waarde" 248 249 #: templates/template-dynamic-population.php:68 220 250 msgid "Url query string template for dynamic population" 221 251 msgstr "Url-query string sjabloon voor dynamisch vullen" 222 252 223 #: templates/template-dynamic-population.php: 41253 #: templates/template-dynamic-population.php:72 224 254 msgid "Url query string template with merge tags for dynamic population" 225 255 msgstr "Url-query string sjabloon met samenvoegtags voor dynamische populatie" 226 256 227 #: templates/template-dynamic-population.php: 49257 #: templates/template-dynamic-population.php:76 228 258 msgid "Excel formula for generating url (encoded) query string (International)" 229 259 msgstr "" … … 231 261 "(internationaal)" 232 262 233 #: templates/template-dynamic-population.php: 57263 #: templates/template-dynamic-population.php:81 234 264 msgid "Excel formula for generating url (encoded) query string (Localized)" 235 265 msgstr "" … … 238 268 239 269 #. translators: Translate to localized excel function. 240 #: templates/template-dynamic-population.php: 64270 #: templates/template-dynamic-population.php:85 241 271 msgid "ENCODEURL" 242 272 msgstr "URL.CODEREN" 243 273 244 #: templates/template-gravity-flow.php:10 274 #: templates/template-dynamic-population.php:94 275 msgid "shortcode string for dynamic population" 276 msgstr "shortcode string voor dynamisch vullen" 277 278 #: templates/template-gravity-flow.php:8 279 msgid "Worfklow Status" 280 msgstr "" 281 282 #: templates/template-gravity-flow.php:13 245 283 msgid "Gravity Flow Step" 246 284 msgstr "GravityFlow Stap" 247 285 248 #: templates/template-gravity-flow.php:1 3286 #: templates/template-gravity-flow.php:16 249 287 msgid "Active" 250 288 msgstr "Actief" 251 289 252 #: templates/template-gravity-flow.php:1 4290 #: templates/template-gravity-flow.php:17 253 291 msgid "Conditions" 254 292 msgstr "Voorwaarden" 255 293 256 #: templates/template-gravity-flow.php:1 5294 #: templates/template-gravity-flow.php:18 257 295 msgid "Next Step (id)" 258 296 msgstr "Volgende Stap (id)" 259 297 260 #: templates/template-gravity-flow.php:1 6298 #: templates/template-gravity-flow.php:19 261 299 msgid "Count Shortcode" 262 300 msgstr "Count Shortcode" -
gravitywp-merge-tags/tags/1.4.2/readme.txt
r3215221 r3236147 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.7 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 79 = 1.4.2 = 80 * Added JWT prefill string to Dynamic Population tab. 78 81 79 82 = 1.4.1 = -
gravitywp-merge-tags/tags/1.4.2/templates/template-dynamic-population.php
r3008589 r3236147 5 5 6 6 <?php 7 $pre_fill_url = '/?'; 8 $pre_fill_url_excel = '"/?'; 9 $pre_fill_url_mergetags = '/?'; 7 $gwp_prefill_plugin_activated = class_exists( '\GravityWP\Prefill\GWP_Prefill' ); 8 $pre_fill_url = '/?'; 9 $pre_fill_url_excel = '"/?'; 10 $pre_fill_url_mergetags = '/?'; 11 $pre_fill_url_jwt = ''; 12 $gwp_prefill_plugin_activated = class_exists( '\GravityWP\Prefill\GWP_Prefill' ); 13 $pre_fill_url = '/?'; 14 $pre_fill_url_excel = '"/?'; 15 $pre_fill_url_mergetags = '/?'; 16 $pre_fill_url_jwt = ''; 10 17 if ( isset( $form['fields'] ) && is_array( $form['fields'] ) ) { 11 18 foreach ( $form['fields'] as $field ) { … … 19 26 20 27 if ( ! empty( $field['inputName'] ) && property_exists( $field, 'allowsPrepopulate' ) && $field['allowsPrepopulate'] === true ) { 21 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 22 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 28 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 29 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 30 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 31 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 23 32 $pre_fill_url_mergetags .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '={' . $field['adminLabel'] . ':' . $field['id'] . '}&' : $field['inputName'] . '={' . $field['label'] . ':' . $field['id'] . '}&'; 33 if ( $gwp_prefill_plugin_activated ) { 34 $pre_fill_url_jwt .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '=\'{' . $field['adminLabel'] . ':' . $field['id'] . '}\' ' : $field['inputName'] . '=\'{' . $field['label'] . ':' . $field['id'] . '}\' '; 35 } 36 if ( $gwp_prefill_plugin_activated ) { 37 $pre_fill_url_jwt .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '=\'{' . $field['adminLabel'] . ':' . $field['id'] . '}\' ' : $field['inputName'] . '=\'{' . $field['label'] . ':' . $field['id'] . '}\' '; 38 } 24 39 } 25 40 } … … 27 42 ?> 28 43 29 <table class='wp-list-table widefat striped'> 44 <div id="gwp-dynamic-population-anchor-links-wrapper" style="margin-bottom:10px; display:flex; flex-wrap: wrap; justify-content: space-between;"> 45 <div id="gwp-dynamic-population-anchor-links" style="flex-grow: 1; border: 1px solid #c3c4c7; background: white; display:flex; flex-wrap: wrap; align-items:center;"> 46 <span style="padding:10px;"><?php esc_html_e( 'Dynamic Population Type:', 'gravitywp-merge-tags' ); ?></span> 47 <a style="padding:10px;" href="#gwp-dynamic-population-url-no-mt"><?php esc_html_e( 'URL', 'gravitywp-merge-tags' ); ?></a> 48 <a style="padding:10px;" href="#gwp-dynamic-population-url-mt"><?php esc_html_e( 'URL with merge tags', 'gravitywp-merge-tags' ); ?></a> 49 <a style="padding:10px;" href="#gwp-dynamic-population-excel-international"><?php esc_html_e( 'Excel formula (International)', 'gravitywp-merge-tags' ); ?></a> 50 <a style="padding:10px;" href="#gwp-dynamic-population-excel-localized"><?php esc_html_e( 'Excel formula (Localized)', 'gravitywp-merge-tags' ); ?></a> 51 <?php if ( $gwp_prefill_plugin_activated ) { ?> 52 <a style="padding:10px;" href="#gwp-dynamic-population-hwt-prefill"><?php esc_html_e( 'JWT Prefill', 'gravitywp-merge-tags' ); ?></a> 53 <?php } ?> 54 55 </div> 56 </div> 57 58 <table class='wp-list-table widefat break-all striped'> 30 59 <tbody> 31 <thead> 32 <tr> 33 <th colspan='6'><?php esc_html_e( 'Url query string template for dynamic population', 'gravitywp-merge-tags' ); ?></th> 34 </tr> 35 </thead> 36 <tr> 37 <td colspan='6'><?php echo esc_html( rtrim( $pre_fill_url, '&' ) ); ?></td> 38 </tr> 39 <thead> 40 <tr> 41 <th colspan='6'><?php esc_html_e( 'Url query string template with merge tags for dynamic population', 'gravitywp-merge-tags' ); ?></th> 42 </tr> 43 </thead> 44 <tr> 45 <td colspan='6'><?php echo esc_html( rtrim( $pre_fill_url_mergetags, '&' ) ); ?></td> 46 </tr> 47 <thead> 48 <tr> 49 <th colspan='6'><?php esc_html_e( 'Excel formula for generating url (encoded) query string (International)', 'gravitywp-merge-tags' ); ?></th> 50 </tr> 51 </thead> 52 <tr> 53 <td colspan="6"><?php echo esc_html( rtrim( $pre_fill_url_excel, '&"&' ) ); ?></td> 54 </tr> 55 <thead> 56 <tr> 57 <th colspan='6'><?php esc_html_e( 'Excel formula for generating url (encoded) query string (Localized)', 'gravitywp-merge-tags' ); ?></th> 58 </tr> 59 </thead> 60 <tr> 61 <td colspan="6"> 60 <thead> 61 <tr> 62 <th style="width:15%"><?php esc_html_e( 'Type', 'gravitywp-merge-tags' ); ?></th> 63 <th><?php esc_html_e( 'Value', 'gravitywp-merge-tags' ); ?></th> 64 </tr> 65 </thead> 66 67 <tr> 68 <td id="gwp-dynamic-population-url-no-mt" class="break-word"><?php esc_html_e( 'Url query string template for dynamic population', 'gravitywp-merge-tags' ); ?></td> 69 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url, '&' ) ); ?></td> 70 </tr> 71 <tr> 72 <td id="gwp-dynamic-population-url-mt" class="break-word"><?php esc_html_e( 'Url query string template with merge tags for dynamic population', 'gravitywp-merge-tags' ); ?></td> 73 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_mergetags, '&' ) ); ?></td> 74 </tr> 75 <tr> 76 <td id="gwp-dynamic-population-excel-international" class="break-word"><?php esc_html_e( 'Excel formula for generating url (encoded) query string (International)', 'gravitywp-merge-tags' ); ?></td> 77 78 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_excel, '&"&' ) ); ?></td> 79 </tr> 80 <tr> 81 <td id="gwp-dynamic-population-excel-localized" class="break-word"><?php esc_html_e( 'Excel formula for generating url (encoded) query string (Localized)', 'gravitywp-merge-tags' ); ?></td> 82 <td class='user-select-all'> 83 <?php 84 /* translators: Translate to localized excel function. */ 85 $excel_replace = esc_html__( 'ENCODEURL', 'gravitywp-merge-tags' ); 86 echo esc_html( str_replace( 'ENCODEURL', $excel_replace, rtrim( $pre_fill_url_excel, '&"&' ) ) ); 87 ?> 88 </td> 89 </tr> 62 90 <?php 63 /* translators: Translate to localized excel function. */ 64 $excel_replace = esc_html__( 'ENCODEURL', 'gravitywp-merge-tags' ); 65 echo esc_html( str_replace( 'ENCODEURL', $excel_replace, rtrim( $pre_fill_url_excel, '&"&' ) ) ); 91 if ( $gwp_prefill_plugin_activated ) { 92 ?> 93 <tr> 94 <td id="gwp-dynamic-population-hwt-prefill" class="break-word"><a href="https://gravitywp.com/add-on/jwt-prefill/?utm_source=merge-tags-plugin-page&utm_medium=display&utm_campaign=prefill-string"><?php echo esc_html__( 'JWT Prefill', 'gravitywp-merge-tags' ); ?></a><?php echo ' ' . esc_html__( 'shortcode string for dynamic population', 'gravitywp-merge-tags' ); ?></td> 95 96 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_jwt, '&"&' ) ); ?></td> 97 </tr> 98 <?php 99 } 66 100 ?> 67 </td> 68 </tr> 69 </tbody> 101 </tbody> 70 102 </table> -
gravitywp-merge-tags/trunk/assets/css/admin.css
r3215179 r3236147 5 5 user-select: all; /* Likely future */ 6 6 } 7 8 .wp-list-table.widefat.break-all { 9 word-break: break-all; 10 } 11 12 .wp-list-table.widefat .break-word { 13 word-break: break-word; 14 } 15 16 .wp-list-table .user-select-all { 17 user-select: all; 18 } -
gravitywp-merge-tags/trunk/gravitywp-merge-tags.php
r3215179 r3236147 4 4 Plugin URI: https://gravitywp.com/plugin/merge-tags 5 5 Description: Gravity Forms add-on to list all the merge tags from a specific form 6 Version: 1.4. 16 Version: 1.4.2 7 7 Author: GravityWP 8 8 Author URI: https://gravitywp.com … … 12 12 */ 13 13 14 define( 'GWP_MERGETAGS_VERSION', '1.4. 1' );14 define( 'GWP_MERGETAGS_VERSION', '1.4.2' ); 15 15 16 16 add_action( 'gform_loaded', array( 'GWPMergeTags_AddOn_Bootstrap', 'load' ), 5 ); -
gravitywp-merge-tags/trunk/languages/gravitywp-merge-tags-nl_NL.po
r3215179 r3236147 2 2 msgstr "" 3 3 "Project-Id-Version: GravityWP - Merge Tags\n" 4 "POT-Creation-Date: 202 4-05-27 13:30-0400\n"5 "PO-Revision-Date: 202 4-05-27 13:36-0400\n"6 "Last-Translator: \n"4 "POT-Creation-Date: 2025-02-04 12:02+0100\n" 5 "PO-Revision-Date: 2025-02-04 12:03+0100\n" 6 "Last-Translator: Jurriaan Koops <[email protected]>\n" 7 7 "Language-Team: \n" 8 8 "Language: nl_NL\n" … … 51 51 msgstr "Workflow" 52 52 53 #: class-gwp-mergetags.php:303 templates/template-all-fields.php:16 154 #: templates/template-all-fields.php:16 453 #: class-gwp-mergetags.php:303 templates/template-all-fields.php:163 54 #: templates/template-all-fields.php:166 55 55 msgid "All Fields" 56 56 msgstr "Alle velden" … … 64 64 msgstr "Selecteer formulier" 65 65 66 #: templates/template-all-fields.php:5 466 #: templates/template-all-fields.php:55 67 67 msgid "Copy" 68 68 msgstr "Kopiëren" … … 108 108 msgstr "" 109 109 110 #: templates/template-all-fields.php:96111 msgid "Gravity View gvlogic"112 msgstr ""113 114 110 #: templates/template-all-fields.php:97 111 msgid "GravityView gvlogic" 112 msgstr "" 113 114 #: templates/template-all-fields.php:99 115 115 msgid "Without fileuploads" 116 116 msgstr "Zonder bestanden" 117 117 118 #: templates/template-all-fields.php:11 1118 #: templates/template-all-fields.php:113 119 119 msgid "Select all fields" 120 120 msgstr "Selecteer alle velden" 121 121 122 #: templates/template-all-fields.php:11 3122 #: templates/template-all-fields.php:115 123 123 msgid "Label" 124 124 msgstr "Label" 125 125 126 #: templates/template-all-fields.php:11 4templates/template-calculations.php:32126 #: templates/template-all-fields.php:116 templates/template-calculations.php:32 127 127 #: templates/template-conditional-logic.php:16 128 128 #: templates/template-conditional-logic.php:109 … … 131 131 msgstr "Admin beheerder" 132 132 133 #: templates/template-all-fields.php:115 templates/template-all-fields.php:161 134 #: templates/template-gravity-flow.php:12 133 #: templates/template-all-fields.php:117 templates/template-all-fields.php:163 134 #: templates/template-dynamic-population.php:62 135 #: templates/template-gravity-flow.php:15 135 136 msgid "Type" 136 137 msgstr "Soort" 137 138 138 #: templates/template-all-fields.php:11 6139 #: templates/template-all-fields.php:118 139 140 #: templates/template-merge-tags-advanced.php:41 140 141 #: templates/template-merge-tags-advanced.php:73 … … 142 143 msgstr "CSS" 143 144 144 #: templates/template-all-fields.php:16 4145 #: templates/template-all-fields.php:166 145 146 msgid "Table" 146 147 msgstr "Tabel" 147 148 148 #: templates/template-all-fields.php:17 3149 #: templates/template-all-fields.php:175 149 150 msgid "Replace All Fields Merge Tag" 150 151 msgstr "Vervang All Fields Merge Tag" 151 152 152 #: templates/template-all-fields.php:21 6153 #: templates/template-all-fields.php:218 153 154 msgid "Replace All Fields Merge Tag with Gravity Forms shortcode" 154 155 msgstr "Vervang All Fields Merge Tag door de Gravity Forms shortcode" 155 156 156 #: templates/template-all-fields.php:26 5157 #: templates/template-all-fields.php:267 157 158 msgid "Replace All Fields Merge Tag with Gravity View shortcode" 158 159 msgstr "Vervang All Fields Merge Tag door de Gravity View shortcode" 159 160 160 #: templates/template-all-fields.php:3 18161 #: templates/template-all-fields.php:320 161 162 msgid "Replace All Fields Merge Tag without fileuploads" 162 163 msgstr "Vervang All Fields Merge Tag zonder bestanduploads" … … 169 170 #: templates/template-conditional-logic.php:14 170 171 #: templates/template-conditional-logic.php:107 171 #: templates/template-gravity-flow.php:1 1172 #: templates/template-gravity-flow.php:14 172 173 msgid "ID" 173 174 msgstr "ID" … … 217 218 msgstr "Gebruikt in voorwaardelijke logica van veld met ID" 218 219 219 #: templates/template-dynamic-population.php:33 220 #: templates/template-dynamic-population.php:46 221 msgid "Dynamic Population Type:" 222 msgstr "Dynamisch vullen Type:" 223 224 #: templates/template-dynamic-population.php:47 225 msgid "URL" 226 msgstr "" 227 228 #: templates/template-dynamic-population.php:48 229 msgid "URL with merge tags" 230 msgstr "URL met merge tags" 231 232 #: templates/template-dynamic-population.php:49 233 msgid "Excel formula (International)" 234 msgstr "Excel formule (Internationaal)" 235 236 #: templates/template-dynamic-population.php:50 237 msgid "Excel formula (Localized)" 238 msgstr "Excel formule (Lokaal)" 239 240 #: templates/template-dynamic-population.php:52 241 #: templates/template-dynamic-population.php:94 242 msgid "JWT Prefill" 243 msgstr "" 244 245 #: templates/template-dynamic-population.php:63 246 msgid "Value" 247 msgstr "Waarde" 248 249 #: templates/template-dynamic-population.php:68 220 250 msgid "Url query string template for dynamic population" 221 251 msgstr "Url-query string sjabloon voor dynamisch vullen" 222 252 223 #: templates/template-dynamic-population.php: 41253 #: templates/template-dynamic-population.php:72 224 254 msgid "Url query string template with merge tags for dynamic population" 225 255 msgstr "Url-query string sjabloon met samenvoegtags voor dynamische populatie" 226 256 227 #: templates/template-dynamic-population.php: 49257 #: templates/template-dynamic-population.php:76 228 258 msgid "Excel formula for generating url (encoded) query string (International)" 229 259 msgstr "" … … 231 261 "(internationaal)" 232 262 233 #: templates/template-dynamic-population.php: 57263 #: templates/template-dynamic-population.php:81 234 264 msgid "Excel formula for generating url (encoded) query string (Localized)" 235 265 msgstr "" … … 238 268 239 269 #. translators: Translate to localized excel function. 240 #: templates/template-dynamic-population.php: 64270 #: templates/template-dynamic-population.php:85 241 271 msgid "ENCODEURL" 242 272 msgstr "URL.CODEREN" 243 273 244 #: templates/template-gravity-flow.php:10 274 #: templates/template-dynamic-population.php:94 275 msgid "shortcode string for dynamic population" 276 msgstr "shortcode string voor dynamisch vullen" 277 278 #: templates/template-gravity-flow.php:8 279 msgid "Worfklow Status" 280 msgstr "" 281 282 #: templates/template-gravity-flow.php:13 245 283 msgid "Gravity Flow Step" 246 284 msgstr "GravityFlow Stap" 247 285 248 #: templates/template-gravity-flow.php:1 3286 #: templates/template-gravity-flow.php:16 249 287 msgid "Active" 250 288 msgstr "Actief" 251 289 252 #: templates/template-gravity-flow.php:1 4290 #: templates/template-gravity-flow.php:17 253 291 msgid "Conditions" 254 292 msgstr "Voorwaarden" 255 293 256 #: templates/template-gravity-flow.php:1 5294 #: templates/template-gravity-flow.php:18 257 295 msgid "Next Step (id)" 258 296 msgstr "Volgende Stap (id)" 259 297 260 #: templates/template-gravity-flow.php:1 6298 #: templates/template-gravity-flow.php:19 261 299 msgid "Count Shortcode" 262 300 msgstr "Count Shortcode" -
gravitywp-merge-tags/trunk/readme.txt
r3215221 r3236147 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.7 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 79 = 1.4.2 = 80 * Added JWT prefill string to Dynamic Population tab. 78 81 79 82 = 1.4.1 = -
gravitywp-merge-tags/trunk/templates/template-dynamic-population.php
r3008589 r3236147 5 5 6 6 <?php 7 $pre_fill_url = '/?'; 8 $pre_fill_url_excel = '"/?'; 9 $pre_fill_url_mergetags = '/?'; 7 $gwp_prefill_plugin_activated = class_exists( '\GravityWP\Prefill\GWP_Prefill' ); 8 $pre_fill_url = '/?'; 9 $pre_fill_url_excel = '"/?'; 10 $pre_fill_url_mergetags = '/?'; 11 $pre_fill_url_jwt = ''; 12 $gwp_prefill_plugin_activated = class_exists( '\GravityWP\Prefill\GWP_Prefill' ); 13 $pre_fill_url = '/?'; 14 $pre_fill_url_excel = '"/?'; 15 $pre_fill_url_mergetags = '/?'; 16 $pre_fill_url_jwt = ''; 10 17 if ( isset( $form['fields'] ) && is_array( $form['fields'] ) ) { 11 18 foreach ( $form['fields'] as $field ) { … … 19 26 20 27 if ( ! empty( $field['inputName'] ) && property_exists( $field, 'allowsPrepopulate' ) && $field['allowsPrepopulate'] === true ) { 21 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 22 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 28 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 29 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 30 $pre_fill_url .= $field['inputName'] . '=MERGETAG&'; 31 $pre_fill_url_excel .= $field['inputName'] . '="&ENCODEURL(CELL)&"&'; 23 32 $pre_fill_url_mergetags .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '={' . $field['adminLabel'] . ':' . $field['id'] . '}&' : $field['inputName'] . '={' . $field['label'] . ':' . $field['id'] . '}&'; 33 if ( $gwp_prefill_plugin_activated ) { 34 $pre_fill_url_jwt .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '=\'{' . $field['adminLabel'] . ':' . $field['id'] . '}\' ' : $field['inputName'] . '=\'{' . $field['label'] . ':' . $field['id'] . '}\' '; 35 } 36 if ( $gwp_prefill_plugin_activated ) { 37 $pre_fill_url_jwt .= ( strlen( $field['adminLabel'] ) > 0 ) ? $field['inputName'] . '=\'{' . $field['adminLabel'] . ':' . $field['id'] . '}\' ' : $field['inputName'] . '=\'{' . $field['label'] . ':' . $field['id'] . '}\' '; 38 } 24 39 } 25 40 } … … 27 42 ?> 28 43 29 <table class='wp-list-table widefat striped'> 44 <div id="gwp-dynamic-population-anchor-links-wrapper" style="margin-bottom:10px; display:flex; flex-wrap: wrap; justify-content: space-between;"> 45 <div id="gwp-dynamic-population-anchor-links" style="flex-grow: 1; border: 1px solid #c3c4c7; background: white; display:flex; flex-wrap: wrap; align-items:center;"> 46 <span style="padding:10px;"><?php esc_html_e( 'Dynamic Population Type:', 'gravitywp-merge-tags' ); ?></span> 47 <a style="padding:10px;" href="#gwp-dynamic-population-url-no-mt"><?php esc_html_e( 'URL', 'gravitywp-merge-tags' ); ?></a> 48 <a style="padding:10px;" href="#gwp-dynamic-population-url-mt"><?php esc_html_e( 'URL with merge tags', 'gravitywp-merge-tags' ); ?></a> 49 <a style="padding:10px;" href="#gwp-dynamic-population-excel-international"><?php esc_html_e( 'Excel formula (International)', 'gravitywp-merge-tags' ); ?></a> 50 <a style="padding:10px;" href="#gwp-dynamic-population-excel-localized"><?php esc_html_e( 'Excel formula (Localized)', 'gravitywp-merge-tags' ); ?></a> 51 <?php if ( $gwp_prefill_plugin_activated ) { ?> 52 <a style="padding:10px;" href="#gwp-dynamic-population-hwt-prefill"><?php esc_html_e( 'JWT Prefill', 'gravitywp-merge-tags' ); ?></a> 53 <?php } ?> 54 55 </div> 56 </div> 57 58 <table class='wp-list-table widefat break-all striped'> 30 59 <tbody> 31 <thead> 32 <tr> 33 <th colspan='6'><?php esc_html_e( 'Url query string template for dynamic population', 'gravitywp-merge-tags' ); ?></th> 34 </tr> 35 </thead> 36 <tr> 37 <td colspan='6'><?php echo esc_html( rtrim( $pre_fill_url, '&' ) ); ?></td> 38 </tr> 39 <thead> 40 <tr> 41 <th colspan='6'><?php esc_html_e( 'Url query string template with merge tags for dynamic population', 'gravitywp-merge-tags' ); ?></th> 42 </tr> 43 </thead> 44 <tr> 45 <td colspan='6'><?php echo esc_html( rtrim( $pre_fill_url_mergetags, '&' ) ); ?></td> 46 </tr> 47 <thead> 48 <tr> 49 <th colspan='6'><?php esc_html_e( 'Excel formula for generating url (encoded) query string (International)', 'gravitywp-merge-tags' ); ?></th> 50 </tr> 51 </thead> 52 <tr> 53 <td colspan="6"><?php echo esc_html( rtrim( $pre_fill_url_excel, '&"&' ) ); ?></td> 54 </tr> 55 <thead> 56 <tr> 57 <th colspan='6'><?php esc_html_e( 'Excel formula for generating url (encoded) query string (Localized)', 'gravitywp-merge-tags' ); ?></th> 58 </tr> 59 </thead> 60 <tr> 61 <td colspan="6"> 60 <thead> 61 <tr> 62 <th style="width:15%"><?php esc_html_e( 'Type', 'gravitywp-merge-tags' ); ?></th> 63 <th><?php esc_html_e( 'Value', 'gravitywp-merge-tags' ); ?></th> 64 </tr> 65 </thead> 66 67 <tr> 68 <td id="gwp-dynamic-population-url-no-mt" class="break-word"><?php esc_html_e( 'Url query string template for dynamic population', 'gravitywp-merge-tags' ); ?></td> 69 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url, '&' ) ); ?></td> 70 </tr> 71 <tr> 72 <td id="gwp-dynamic-population-url-mt" class="break-word"><?php esc_html_e( 'Url query string template with merge tags for dynamic population', 'gravitywp-merge-tags' ); ?></td> 73 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_mergetags, '&' ) ); ?></td> 74 </tr> 75 <tr> 76 <td id="gwp-dynamic-population-excel-international" class="break-word"><?php esc_html_e( 'Excel formula for generating url (encoded) query string (International)', 'gravitywp-merge-tags' ); ?></td> 77 78 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_excel, '&"&' ) ); ?></td> 79 </tr> 80 <tr> 81 <td id="gwp-dynamic-population-excel-localized" class="break-word"><?php esc_html_e( 'Excel formula for generating url (encoded) query string (Localized)', 'gravitywp-merge-tags' ); ?></td> 82 <td class='user-select-all'> 83 <?php 84 /* translators: Translate to localized excel function. */ 85 $excel_replace = esc_html__( 'ENCODEURL', 'gravitywp-merge-tags' ); 86 echo esc_html( str_replace( 'ENCODEURL', $excel_replace, rtrim( $pre_fill_url_excel, '&"&' ) ) ); 87 ?> 88 </td> 89 </tr> 62 90 <?php 63 /* translators: Translate to localized excel function. */ 64 $excel_replace = esc_html__( 'ENCODEURL', 'gravitywp-merge-tags' ); 65 echo esc_html( str_replace( 'ENCODEURL', $excel_replace, rtrim( $pre_fill_url_excel, '&"&' ) ) ); 91 if ( $gwp_prefill_plugin_activated ) { 92 ?> 93 <tr> 94 <td id="gwp-dynamic-population-hwt-prefill" class="break-word"><a href="https://gravitywp.com/add-on/jwt-prefill/?utm_source=merge-tags-plugin-page&utm_medium=display&utm_campaign=prefill-string"><?php echo esc_html__( 'JWT Prefill', 'gravitywp-merge-tags' ); ?></a><?php echo ' ' . esc_html__( 'shortcode string for dynamic population', 'gravitywp-merge-tags' ); ?></td> 95 96 <td class='user-select-all'><?php echo esc_html( rtrim( $pre_fill_url_jwt, '&"&' ) ); ?></td> 97 </tr> 98 <?php 99 } 66 100 ?> 67 </td> 68 </tr> 69 </tbody> 101 </tbody> 70 102 </table>
Note: See TracChangeset
for help on using the changeset viewer.