Changeset 2744021
- Timestamp:
- 06/17/2022 10:11:41 AM (4 years ago)
- Location:
- ultimate-form-builder-lite
- Files:
-
- 90 added
- 7 edited
-
tags/1.5.3 (added)
-
tags/1.5.3/classes (added)
-
tags/1.5.3/classes/ufbl-lib.php (added)
-
tags/1.5.3/classes/ufbl-model.php (added)
-
tags/1.5.3/css (added)
-
tags/1.5.3/css/backend.css (added)
-
tags/1.5.3/css/font-awesome.min.css (added)
-
tags/1.5.3/css/frontend.css (added)
-
tags/1.5.3/css/jquery.selectbox.css (added)
-
tags/1.5.3/fonts (added)
-
tags/1.5.3/fonts/FontAwesome.otf (added)
-
tags/1.5.3/fonts/fontawesome-webfont.eot (added)
-
tags/1.5.3/fonts/fontawesome-webfont.svg (added)
-
tags/1.5.3/fonts/fontawesome-webfont.ttf (added)
-
tags/1.5.3/fonts/fontawesome-webfont.woff (added)
-
tags/1.5.3/fonts/fontawesome-webfont.woff2 (added)
-
tags/1.5.3/images (added)
-
tags/1.5.3/images/ajax-loader-bkp.gif (added)
-
tags/1.5.3/images/ajax-loader-delete.gif (added)
-
tags/1.5.3/images/ajax-loader-entry.gif (added)
-
tags/1.5.3/images/ajax-loader.gif (added)
-
tags/1.5.3/images/check-box-5.png (added)
-
tags/1.5.3/images/check-box-bod-border.png (added)
-
tags/1.5.3/images/check-box-checked-5.png (added)
-
tags/1.5.3/images/check-box-checked-bold-border.png (added)
-
tags/1.5.3/images/check-box-checked.png (added)
-
tags/1.5.3/images/check-box.png (added)
-
tags/1.5.3/images/checked-radio-5.png (added)
-
tags/1.5.3/images/checked-radio-bold-border.png (added)
-
tags/1.5.3/images/checked-radio.png (added)
-
tags/1.5.3/images/customize.png (added)
-
tags/1.5.3/images/form-icon.png (added)
-
tags/1.5.3/images/mail-white.png (added)
-
tags/1.5.3/images/mail.png (added)
-
tags/1.5.3/images/option-angle-5-hover.png (added)
-
tags/1.5.3/images/option-angle-5.png (added)
-
tags/1.5.3/images/option-angle.png (added)
-
tags/1.5.3/images/plugin.png (added)
-
tags/1.5.3/images/previews (added)
-
tags/1.5.3/images/previews/default-template.jpg (added)
-
tags/1.5.3/images/previews/template-1.jpg (added)
-
tags/1.5.3/images/previews/template-2.jpg (added)
-
tags/1.5.3/images/previews/template-3.jpg (added)
-
tags/1.5.3/images/previews/template-4.png (added)
-
tags/1.5.3/images/previews/template-5.jpg (added)
-
tags/1.5.3/images/select-icons.png (added)
-
tags/1.5.3/images/theme.png (added)
-
tags/1.5.3/images/uncheck-radio-5.png (added)
-
tags/1.5.3/images/uncheck-radio-bold-border.png (added)
-
tags/1.5.3/images/uncheck-radio.png (added)
-
tags/1.5.3/images/upgrade (added)
-
tags/1.5.3/images/upgrade/demo-btn.png (added)
-
tags/1.5.3/images/upgrade/upgrade-bottom.png (added)
-
tags/1.5.3/images/upgrade/upgrade-btn.png (added)
-
tags/1.5.3/images/upgrade/upgrade-top.png (added)
-
tags/1.5.3/inc (added)
-
tags/1.5.3/inc/cores (added)
-
tags/1.5.3/inc/cores/activation.php (added)
-
tags/1.5.3/inc/cores/save-form.php (added)
-
tags/1.5.3/inc/cores/shortcode.php (added)
-
tags/1.5.3/inc/cores/widgets.php (added)
-
tags/1.5.3/inc/views (added)
-
tags/1.5.3/inc/views/backend (added)
-
tags/1.5.3/inc/views/backend/about.php (added)
-
tags/1.5.3/inc/views/backend/boxes (added)
-
tags/1.5.3/inc/views/backend/boxes/display-settings.php (added)
-
tags/1.5.3/inc/views/backend/boxes/email-settings.php (added)
-
tags/1.5.3/inc/views/backend/boxes/form-builder-main.php (added)
-
tags/1.5.3/inc/views/backend/boxes/form-fields-html.php (added)
-
tags/1.5.3/inc/views/backend/entry-detail.php (added)
-
tags/1.5.3/inc/views/backend/form-builder.php (added)
-
tags/1.5.3/inc/views/backend/form-entries-list.php (added)
-
tags/1.5.3/inc/views/backend/form-list.php (added)
-
tags/1.5.3/inc/views/backend/header.php (added)
-
tags/1.5.3/inc/views/backend/how-to-use.php (added)
-
tags/1.5.3/inc/views/backend/new-form.php (added)
-
tags/1.5.3/inc/views/backend/upgrade-block.php (added)
-
tags/1.5.3/inc/views/frontend (added)
-
tags/1.5.3/inc/views/frontend/front-form.php (added)
-
tags/1.5.3/inc/views/frontend/preview-form.php (added)
-
tags/1.5.3/js (added)
-
tags/1.5.3/js/backend.js (added)
-
tags/1.5.3/js/frontend.js (added)
-
tags/1.5.3/js/jquery.selectbox-0.2.min.js (added)
-
tags/1.5.3/languages (added)
-
tags/1.5.3/languages/ultimate-form-builder-lite-sv_SE.mo (added)
-
tags/1.5.3/languages/ultimate-form-builder-lite-sv_SE.po (added)
-
tags/1.5.3/languages/ultimate-form-builder-lite.pot (added)
-
tags/1.5.3/readme.txt (added)
-
tags/1.5.3/ultimate-form-builder-lite.php (added)
-
trunk/css/backend.css (modified) (1 diff)
-
trunk/inc/views/backend/boxes/form-builder-main.php (modified) (7 diffs)
-
trunk/inc/views/backend/boxes/form-fields-html.php (modified) (4 diffs)
-
trunk/inc/views/frontend/front-form.php (modified) (3 diffs)
-
trunk/js/backend.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/ultimate-form-builder-lite.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-form-builder-lite/trunk/css/backend.css
r1380251 r2744021 299 299 } 300 300 input.button-primary.ufbl-submit-reference[disabled] { 301 color: white !important; 301 color: black !important; 302 font-weight: 700; 302 303 } 303 304 .ufbl-form-field input[type="text"],.ufbl-form-field input[type="email"],.ufbl-form-field input[type="number"] { -
ultimate-form-builder-lite/trunk/inc/views/backend/boxes/form-builder-main.php
r1305070 r2744021 35 35 foreach ( $form_detail['field_data'] as $key => $val ) { 36 36 // $library_obj->print_array($val); 37 37 38 switch ( $val['field_type'] ) { 38 39 case 'textfield': … … 320 321 $value_index = 0; 321 322 foreach ( $val['option'] as $option ) { 323 if($option!='reference_dropdown') 324 { 322 325 ?> 323 326 <div class="ufbl-each-option"> … … 331 334 } 332 335 } 336 } 333 337 ?> 334 338 </div> … … 404 408 <div class="ufbl-option-value-wrap"> 405 409 <?php 410 406 411 if ( isset( $val['option'], $val['value'] ) ) { 407 412 $value_index = 0; 413 408 414 foreach ( $val['option'] as $option ) { 415 if($option !='reference_radio'){ 409 416 ?> 410 417 <div class="ufbl-each-option"> … … 418 425 } 419 426 } 427 } 420 428 ?> 421 429 … … 488 496 <div class="ufbl-option-value-wrap"> 489 497 <?php 498 var_dump($val['field_type']); 490 499 if ( isset( $val['option'], $val['value'] ) ) { 491 500 $value_index = 0; 492 501 foreach ( $val['option'] as $option ) { 502 if($option!='reference_checkbox') 503 { 504 493 505 ?> 494 506 <div class="ufbl-each-option"> … … 502 514 } 503 515 } 516 } 504 517 ?> 505 518 </div> -
ultimate-form-builder-lite/trunk/inc/views/backend/boxes/form-fields-html.php
r1259602 r2744021 268 268 <div class="ufbl-form-field"> 269 269 <input type="button" value="<?php _e( 'Add Option', 'ultimate-form-builder-lite' ); ?>" class="ufbl-option-value-adder button-primary" data-field-key="ufbl_key"/> 270 <div class="ufbl-option-value-wrap"> 270 <div class="ufbl-option-value-wrap" style="display: none;"> 271 <div class="ufbl-each-option"> 272 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> 273 <input type="text" name="field_data[ufbl_key][option][]" value="reference_dropdown" placeholder="Option" data-field-name="ufbl_key" data-field-type="option"/> 274 <input type="text" name="field_data[ufbl_key][value][]" value="<reference_dropdown" placeholder="Value" data-field-name="ufbl_key" data-field-type="value"/> 275 <span class="ufbl-option-remover">X</span> 276 </div> 271 277 <div class="ufbl-each-option"> 272 278 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> … … 329 335 <a href="javascript:void(0)" class="ufbl-field-delete-trigger">Delete</a> 330 336 </div> 331 <div class="ufbl-field-settings-wrap" style="display:none;">337 <div class="ufbl-field-settings-wrap" > 332 338 <span class="ufbl-up-arrow"></span> 333 339 <div class="ufbl-form-field-wrap"> … … 354 360 <input type="button" value="<?php _e( 'Add Option', 'ultimate-form-builder-lite' ); ?>" class="ufbl-option-value-adder button-primary" data-field-key="ufbl_key"/> 355 361 <div class="ufbl-option-value-wrap"> 362 <div class="ufbl-each-option " style="display: none;"> 363 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> 364 <input type="text" name="field_data[ufbl_key][option][]" value="reference_radio" placeholder="Option" data-field-name="ufbl_key" data-field-type="field_label"/> 365 <input type="text" name="field_data[ufbl_key][value][]" value="reference_radio" placeholder="Value" data-field-name="ufbl_key" data-field-type="field_label"/> 366 <span class="ufbl-option-remover">X</span> 367 </div> 356 368 <div class="ufbl-each-option"> 357 369 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> … … 429 441 <input type="button" value="<?php _e( 'Add Option', 'ultimate-form-builder-lite' ); ?>" class="ufbl-option-value-adder button-primary" data-field-key="ufbl_key"/> 430 442 <div class="ufbl-option-value-wrap"> 443 <div class="ufbl-each-option" style="display: none;"> 444 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> 445 <input type="text" name="field_data[ufbl_key][option][]" value="reference_checkbox" placeholder="Option" data-field-name="ufbl_key" data-field-type="field_label"/> 446 <input type="text" name="field_data[ufbl_key][value][]" value="reference_checkbox" placeholder="Value" data-field-name="ufbl_key" data-field-type="field_label"/> 447 <span class="ufbl-option-remover">X</span> 448 </div> 431 449 <div class="ufbl-each-option"> 432 450 <span class="ufbl-option-drag-arrow"><i class="fa fa-arrows"></i></span> -
ultimate-form-builder-lite/trunk/inc/views/frontend/front-form.php
r2123187 r2744021 64 64 $count = 0; 65 65 foreach ( $val['option'] as $option ) { 66 if($option!='reference_dropdown') 67 { 66 68 ?> 67 69 <option value="<?php echo $val['value'][$count] ?>"><?php echo $option; ?></option> 68 70 <?php 71 } 69 72 $count++; 70 } 73 74 } 71 75 } 72 76 ?> … … 87 91 $count = 0; 88 92 foreach ( $val['option'] as $option ) { 93 if($option!='reference_radio') 94 { 89 95 $for_id = $form_row['form_id'] . '-' . $key . '-' . $count; 90 96 ?> 91 97 <div class="ufbl-sub-field-wrap"><input type="radio" value="<?php echo $val['value'][$count] ?>" name="<?php echo $key ?>" class="ufbl-form-radio <?php echo $class; ?>" id="<?php echo $for_id; ?>"/><label for="<?php echo $for_id; ?>"><?php echo $option; ?></label></div> 92 98 <?php 99 } 93 100 $count++; 94 } 95 } 101 102 } 103 } 96 104 ?> 97 105 <div class="ufbl-error" data-error-key="<?php echo $key; ?>"></div> … … 109 117 $count = 0; 110 118 foreach ( $val['option'] as $option ) { 119 if($option!='reference_checkbox') 120 { 111 121 $for_id = $form_row['form_id'] . '-' . $key . '-' . $count; 112 122 ?> 113 123 <div class="ufbl-sub-field-wrap"><input type="checkbox" value="<?php echo $val['value'][$count] ?>" name="<?php echo $key ?>[]" class="ufbl-form-checkbox <?php echo $class; ?>" id="<?php echo $for_id; ?>"/><label for="<?php echo $for_id; ?>"><?php echo $option; ?></label></div> 114 124 <?php 125 } 115 126 $count++; 116 } 127 128 } 117 129 } 118 130 ?> -
ultimate-form-builder-lite/trunk/js/backend.js
r1239638 r2744021 5 5 * @returns {string} 6 6 */ 7 7 8 function get_field_html(field_type) { 8 9 var form_key_count = $('.ufbl-form-key-count').val(); … … 215 216 $('body').on('click', '.ufbl-option-value-adder', function () { 216 217 var html = $(this).closest('.ufbl-form-field').find('.ufbl-each-option').first().html(); 217 html = '<div class="ufbl-each-option" style="display:none;">' + html + '</div>';218 html = '<div class="ufbl-each-option" >' + html + '</div>'; 218 219 $(this).closest('.ufbl-form-field').find('.ufbl-option-value-wrap').append(html); 219 220 $(this).closest('.ufbl-form-field').find('.ufbl-option-value-wrap').find('.ufbl-each-option').last().find('input[type="text"]').val(''); 220 $('.ufbl-each-option').show();221 221 $(this).closest('.ufbl-form-field').find('.ufbl-option-value-wrap').find('.ufbl-each-option').last().find('input[type="text"]').first().focus(); 222 222 }); -
ultimate-form-builder-lite/trunk/readme.txt
r2736866 r2744021 5 5 Requires at least: 4.5 6 6 Tested up to: 6.0 7 Stable tag: 1.5. 27 Stable tag: 1.5.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 149 149 == Changelog == 150 150 151 = 1.5.3 = 152 * Fixed radio, checkbox and dropdown rendering as undefined fields after removing all options 153 * Fixed few css issues 154 151 155 = 1.5.2 = 152 156 * WordPress 6.0 compatibility checked -
ultimate-form-builder-lite/trunk/ultimate-form-builder-lite.php
r2736866 r2744021 4 4 Plugin URI: https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder-lite/ 5 5 Description: A plugin to build any type of forms 6 Version: 1.5. 26 Version: 1.5.3 7 7 Author: AccessPress Themes 8 8 Author URI: http://accesspressthemes.com … … 17 17 */ 18 18 global $wpdb; 19 defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.5. 2' ); //plugin version19 defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.5.3' ); //plugin version 20 20 defined( 'UFBL_SLUG' ) or define( 'UFBL_SLUG', 'ufbl' ); //plugin admin slug 21 21 defined( 'UFBL_TD' ) or define( 'UFBL_TD', 'ultimate-form-builder-lite' ); //plugin's text domain
Note: See TracChangeset
for help on using the changeset viewer.