Changeset 3307334
- Timestamp:
- 06/06/2025 03:27:55 AM (10 months ago)
- Location:
- contact-form-lite/trunk
- Files:
-
- 4 edited
-
easy-contact-form.php (modified) (2 diffs)
-
inc/ecf-template.php (modified) (6 diffs)
-
inc/js/formbuilder/formbuilder.js (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contact-form-lite/trunk/easy-contact-form.php
r3244159 r3307334 7 7 Text Domain: contact-form-lite 8 8 Domain Path: /languages 9 Version: 1.1.2 79 Version: 1.1.29 10 10 Author URI: https://ghozylab.com/plugins/ 11 11 */ … … 27 27 // Plugin Version 28 28 if ( ! defined( 'ECF_VERSION' ) ) { 29 define( 'ECF_VERSION', '1.1.2 7' );29 define( 'ECF_VERSION', '1.1.29' ); 30 30 } 31 31 -
contact-form-lite/trunk/inc/ecf-template.php
r3057820 r3307334 278 278 279 279 if ( isset( $v[ 'placeholder' ] ) && trim( $v[ 'placeholder' ] ) != '' ) { 280 $isplchldr = 'placeholder="'. $v[ 'placeholder' ].'"';280 $isplchldr = 'placeholder="'.esc_html( $v[ 'placeholder' ] ).'"'; 281 281 } else { 282 282 $isplchldr = null; … … 339 339 340 340 $avname = $avname + 1; 341 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '. esc_attr( $isplchldr ).'/>';341 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '.$isplchldr.'/>'; 342 342 343 343 break; … … 345 345 case 'text': 346 346 347 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '. esc_attr( $isplchldr ).'/>';347 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '.$isplchldr.'/>'; 348 348 349 349 break; … … 352 352 353 353 $avemail = $avemail + 1; 354 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '. esc_attr( $isplchldr ).'/>';354 echo '<input data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" type="text" name="'.esc_attr( $v[ 'field_type' ].$k ).'" '.$isplchldr.'/>'; 355 355 356 356 break; … … 364 364 case 'paragraph': 365 365 366 echo '<textarea data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" name="'.esc_attr( $v[ 'field_type' ].$k ).'" rows="7" '. esc_attr( $isplchldr ).'></textarea>';366 echo '<textarea data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" name="'.esc_attr( $v[ 'field_type' ].$k ).'" rows="7" '.$isplchldr.'></textarea>'; 367 367 368 368 break; … … 371 371 372 372 $avmsg = $avmsg + 1; 373 echo '<textarea data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" name="'.esc_attr( $v[ 'field_type' ].$k ).'" rows="7" '. esc_attr( $isplchldr ).'></textarea>';373 echo '<textarea data-type="'.esc_attr( $v[ 'field_type' ] ).'" data-label="'.esc_attr( $v[ 'label' ] ).'" id="'.esc_attr( $v[ 'field_type' ].$k ).'" name="'.esc_attr( $v[ 'field_type' ].$k ).'" rows="7" '.$isplchldr.'></textarea>'; 374 374 375 375 break; -
contact-form-lite/trunk/inc/js/formbuilder/formbuilder.js
r3057820 r3307334 1127 1127 Formbuilder.registerField('text', { 1128 1128 order: 4, 1129 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>' />",1129 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>' />", 1130 1130 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1131 1131 addButton: "<span class='symbol'><span class='fa fa-font'></span></span> Text", … … 1162 1162 Formbuilder.registerField('name', { 1163 1163 order: 0, 1164 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>' />",1164 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>' />", 1165 1165 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1166 1166 addButton: "<span class='symbol'><span class='fa fa-user'></span></span> Name", … … 1197 1197 Formbuilder.registerField('date', { 1198 1198 order: 28, 1199 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%=rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><div style='padding-top: 12px; padding-bottom: 7px; font-size: 12px; color: #F40043;'><i>This feature only available in Pro Version</i></div>",1199 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%- rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><div style='padding-top: 12px; padding-bottom: 7px; font-size: 12px; color: #F40043;'><i>This feature only available in Pro Version</i></div>", 1200 1200 edit: "<%= Formbuilder.templates['edit/date']() %>", 1201 1201 addButton: "<span class='symbol'><span class='fa fa-calendar'></span></span> Date", … … 1216 1216 Formbuilder.registerField('daterange', { 1217 1217 order: 29, 1218 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.DATESTART) %>' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%= rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><input placeholder='<%= rf.get(Formbuilder.options.mappings.DATEFINISH) %>' type='text' class='rf-size-<%=rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%= rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><div style='padding-top: 12px; padding-bottom: 7px; font-size: 12px; color: #F40043;'><i>This feature only available in Pro Version</i></div>",1218 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.DATESTART) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%= rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><input placeholder='<%- rf.get(Formbuilder.options.mappings.DATEFINISH) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-frmt='<%= rf.get(Formbuilder.options.mappings.DATEFORMAT) %>' data-icon='<%= rf.get(Formbuilder.options.mappings.ICONS) %>' /><div style='padding-top: 12px; padding-bottom: 7px; font-size: 12px; color: #F40043;'><i>This feature only available in Pro Version</i></div>", 1219 1219 edit: "<%= Formbuilder.templates['edit/daterange']() %>", 1220 1220 addButton: "<span class='symbol'><span class='fa fa-calendar'></span></span> Date Range", … … 1276 1276 Formbuilder.registerField('email', { 1277 1277 order: 3, 1278 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>' />",1278 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>' />", 1279 1279 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1280 1280 addButton: "<span class='symbol'><span class='fa fa-envelope-o'></span></span> Email", … … 1294 1294 Formbuilder.registerField('website', { 1295 1295 order: 35, 1296 view: "<input placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' placeholder='https://' type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>' />",1296 view: "<input placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' placeholder='https://' type='text' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>' />", 1297 1297 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1298 1298 addButton: "<span class=\"symbol\"><span class=\"fa fa-link\"></span></span> Website", … … 1311 1311 Formbuilder.registerField('paragraph', { 1312 1312 order: 5, 1313 view: "<textarea placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>'></textarea>",1313 view: "<textarea placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>'></textarea>", 1314 1314 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1315 1315 addButton: "<span class=\"symbol\"><span class=\"fa fa-comment\"></span></span> Textarea", … … 1328 1328 Formbuilder.registerField('message', { 1329 1329 order: 5, 1330 view: "<textarea placeholder='<% = rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%=rf.get(Formbuilder.options.mappings.ICONS) %>'></textarea>",1330 view: "<textarea placeholder='<%- rf.get(Formbuilder.options.mappings.PLACEHOLDER) %>' class='rf-size-<%- rf.get(Formbuilder.options.mappings.SIZE) %>' data-icon='<%- rf.get(Formbuilder.options.mappings.ICONS) %>'></textarea>", 1331 1331 edit: "<%= Formbuilder.templates['edit/icon']() %>", 1332 1332 addButton: "<span class=\"symbol\"><span class=\"fa fa-comment\"></span></span> Message", -
contact-form-lite/trunk/readme.txt
r3276952 r3307334 5 5 Requires at least: 3.3 6 6 Tested up to: 6.8 7 Stable tag: 1.1.2 77 Stable tag: 1.1.29 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 199 199 == Upgrade Notice == 200 200 201 = 1.1.2 7=201 = 1.1.29 = 202 202 IMPORTANT! SECURITY BUGS FIX, PLEASE UPDATE NOW! 203 203 204 204 == Changelog == 205 206 = 1.1.29 = 207 * Fixed : IMPORTANT! SECURITY BUGS FIX, PLEASE UPDATE NOW! 205 208 206 209 = 1.1.27 =
Note: See TracChangeset
for help on using the changeset viewer.