WordPress.org

Plugin Directory

Changeset 1672689


Ignore:
Timestamp:
06/07/17 15:06:23 (3 weeks ago)
Author:
jaredatch
Message:

v1.3.7.4

Location:
wpforms-lite/trunk
Files:
6 added
6 edited

Legend:

Unmodified
Added
Removed
  • wpforms-lite/trunk/assets/css/admin-builder.css

    r1646716 r1672689  
    526526} 
    527527 
     528#wpforms-builder .wpforms-panel-sidebar-section.upgrade-modal { 
     529    opacity: 0.5; 
     530} 
     531 
    528532#wpforms-builder .wpforms-panel-sidebar-section.default { 
    529533    display: none; 
  • wpforms-lite/trunk/changelog.txt

    r1660094 r1672689  
    11== Changelog == 
     2 
     3= 1.3.7.4 = 
     4- Add: Marketing tab in the form builder shows all possible providers. 
    25 
    36= 1.3.7.3 
  • wpforms-lite/trunk/lite/assets/js/admin-builder-lite.js

    r1430165 r1672689  
    4141                } 
    4242            }); 
    43              
     43 
    4444            // WPForms upgrade field modal 
    4545            $(document).on('click', '.wpforms-add-fields-button', function(e) { 
     
    5858                    WPFormsBuilderLite.upgradeModal($(this).data('template-name')); 
    5959                } 
    60             });      
     60            }); 
     61 
     62            // WPForms upgrade providers modal 
     63            $(document).on('click', '.wpforms-panel-sidebar-section', function(e) { 
     64                if ($(this).hasClass('upgrade-modal')){ 
     65                    e.preventDefault(); 
     66                    e.stopImmediatePropagation(); 
     67                    WPFormsBuilderLite.upgradeModal($(this).data('name')); 
     68                } 
     69            }); 
    6170        }, 
    6271 
    6372        /** 
    6473         * Trigger modal for upgrade. 
    65          *  
     74         * 
    6675         * @since 1.0.0 
    6776         */ 
     
    7887                    window.open(wpforms_builder_lite.upgrade_url,'_blank'); 
    7988                }, 
    80             });  
     89            }); 
    8190        }, 
    8291    }; 
  • wpforms-lite/trunk/lite/wpforms-lite.php

    r1635591 r1672689  
    2525        add_action( 'admin_enqueue_scripts',               array( $this, 'addon_page_enqueues'         )        ); 
    2626        add_action( 'wpforms_admin_page',                  array( $this, 'addons_page'                 )        ); 
     27        add_action( 'wpforms_providers_panel_sidebar',     array( $this, 'builder_provider_sidebar'    ), 20    ); 
    2728    } 
    2829 
     
    444445    } 
    445446 
     447    /** 
     448     * Display other providers available with paid license. 
     449     * 
     450     * @since 1.3.4 
     451     */ 
     452    public function builder_provider_sidebar() { 
     453 
     454        $providers = array( 
     455            array( 
     456                'name' => 'AWeber', 
     457                'slug' => 'aweber', 
     458                'img'  => 'addon-icon-aweber.png', 
     459            ), 
     460            array( 
     461                'name' => 'Campaign Monitor', 
     462                'slug' => 'campaign-monitor', 
     463                'img'  => 'addon-icon-campaign-monitor.png', 
     464            ), 
     465            array( 
     466                'name' => 'GetResponse', 
     467                'slug' => 'getresponse', 
     468                'img'  => 'addon-icon-getresponse.png', 
     469            ), 
     470            array( 
     471                'name' => 'MailChimp', 
     472                'slug' => 'mailchimp', 
     473                'img'  => 'addon-icon-mailchimp.png', 
     474            ), 
     475            array( 
     476                'name' => 'Zapier', 
     477                'slug' => 'zapier', 
     478                'img'  => 'addon-icon-zapier.png', 
     479            ), 
     480        ); 
     481 
     482        foreach ( $providers as $provider ) { 
     483            echo '<a href="#" class="wpforms-panel-sidebar-section icon wpforms-panel-sidebar-section-' . esc_attr( $provider['slug'] ) . ' upgrade-modal" data-name="' . esc_attr( $provider['name'] ) . '">'; 
     484                echo '<img src="' . WPFORMS_PLUGIN_URL . 'lite/assets/images/' . $provider['img'] . '">'; 
     485                echo esc_html( $provider['name'] ); 
     486                echo '<i class="fa fa-angle-right wpforms-toggle-arrow"></i>'; 
     487            echo '</a>'; 
     488        } 
     489    } 
    446490 
    447491    /** 
  • wpforms-lite/trunk/readme.txt

    r1667415 r1672689  
    4545Because every other WordPress contact form builder plugin requires you to build your contact form from scratch. The truth is it's often not necessary to create a contact form completely from scratch unless you really want to. 
    4646 
    47 Whether youre looking to create a simple contact form, request a quote form, donation form, payment order form, or a subscription form, we have a form template for you inside our contact form builder. 
     47Whether you’re looking to create a simple contact form, request a quote form, donation form, payment order form, or a subscription form, we have a form template for you inside our contact form builder. 
    4848 
    4949WPForms comes with <a href="https://wpforms.com/features/form-templates/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend">pre-built form templates</a> to help you save time. You can add, remove, or re-arrange fields as necessary. 
     
    210210== Changelog == 
    211211 
     212= 1.3.7.4 = 
     213- Add: Marketing tab in the form builder shows all possible providers. 
     214 
    212215= 1.3.7.3 = 
    213216- Fixed: Required setting checkbox getting out of sync when duplicating fields 
  • wpforms-lite/trunk/wpforms.php

    r1660094 r1672689  
    66 * Author:      WPForms 
    77 * Author URI:  https://wpforms.com 
    8  * Version:     1.3.7.3 
     8 * Version:     1.3.7.4 
    99 * Text Domain: wpforms 
    1010 * Domain Path: languages 
     
    8282     * @var sting 
    8383     */ 
    84     public $version = '1.3.7.3'; 
     84    public $version = '1.3.7.4'; 
    8585 
    8686    /** 
Note: See TracChangeset for help on using the changeset viewer.