Changeset 1671329
- Timestamp:
- 06/05/2017 10:53:01 PM (9 years ago)
- Location:
- forms-management-system-views-builder/trunk
- Files:
-
- 4 edited
-
classes/admin/FVB_View_Post_Type.php (modified) (1 diff)
-
classes/frontend/FVB_Core.php (modified) (2 diffs)
-
fms-views-builder.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
forms-management-system-views-builder/trunk/classes/admin/FVB_View_Post_Type.php
r1429728 r1671329 409 409 public function get_the_fields_table( $fms_fields_setting, $val = '' ) { 410 410 411 $correct_fields_order = array(); 412 for ($x = 1; $x <= 6; $x++) { 413 foreach ( $fms_fields_setting as $index => $field ) { 414 if( !isset($field['step']) ){ 415 $correct_fields_order[$index] = $field; 416 continue; 417 } 418 419 if((int)$field['step']==$x){ 420 $correct_fields_order[]=$field; 421 } 422 } 423 } 424 425 $fms_fields_setting = $correct_fields_order; 426 411 427 $html = '<table class="fvb_fields_table table table-bordered">'; 412 428 $html .= '<thead>'; -
forms-management-system-views-builder/trunk/classes/frontend/FVB_Core.php
r1429728 r1671329 113 113 'stepper' 114 114 ); 115 $text_fields = apply_filters('fvb_text_fields', $text_fields, $field, $view_settings ); 115 116 $media_fields = array( 'image_upload', 'file_upload' ); 116 117 $custom_fields = array( 'radio_field', 'dropdown_field', 'multiple_select', 'checkbox_field', 'repeat_field' ); … … 166 167 } 167 168 $html .= '</p>'; 169 } else { 170 $html .= apply_filters( 'fvb_render_'.$field['template'], '', $field, $value, $view_settings ); 168 171 } 169 172 -
forms-management-system-views-builder/trunk/fms-views-builder.php
r1429750 r1671329 7 7 Plugin URI: http://mostasharoon.org 8 8 Description: An easy way to display the custom fields at the frontend. 9 Version: 1.2.0. 19 Version: 1.2.0.3 10 10 Author: Mohammed Thaer 11 11 Author URI: http://mostasharoon.org … … 13 13 */ 14 14 15 define( 'FVB_VERSION', '1.2.0. 1' );15 define( 'FVB_VERSION', '1.2.0.3' ); 16 16 17 17 /* ----------------------------------------------------------------------------------- */ … … 27 27 return false; 28 28 //Check if FMS is old 29 } elseif ( version_compare( FMS_VERSION, ' 2.6', '<' ) ) {29 } elseif ( version_compare( FMS_VERSION, '3.0', '<' ) ) { 30 30 add_action( 'admin_notices', 'fvb_old_fms_warning' ); 31 31 … … 47 47 ?> 48 48 <div class="message error"> 49 <p><?php printf( __( 'FMS Views Builder is enabled but not effective. It is not compatible with <a href="%s">FMS</a> versions prior 2.6.', 'fvb' ),49 <p><?php printf( __( 'FMS Views Builder is enabled but not effective. It is not compatible with <a href="%s">FMS</a> versions prior 3.0.', 'fvb' ), 50 50 'https://mostasharoon.org/wordpress/plugins/forms-management-system/' ); ?></p></div> 51 51 <?php -
forms-management-system-views-builder/trunk/readme.txt
r1429750 r1671329 4 4 Tags: forms management system, visual builder, custom fields, custom post type, form, forms, mostasharoon,views 5 5 Requires at least: 3.5 6 Tested up to: 4. 5.27 Stable tag: 1.2.0. 16 Tested up to: 4.7.5 7 Stable tag: 1.2.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 1.2.0.3 = 44 * New: Adding new hooks 45 * Fix: Incorrect fields order issue 46 47 = 1.2.0.2 = 48 * Fix: Incorrect fields order issue, caused by the new multi-step form feature. 49 43 50 = 1.2.0.1 = 44 51 * Enhance: Update readme.txt file
Note: See TracChangeset
for help on using the changeset viewer.