WordPress.org

Plugin Directory

Changeset 1560493


Ignore:
Timestamp:
12/23/16 08:49:40 (5 months ago)
Author:
TemplateMonster 2002
Message:

Version bump to 1.0.1

Location:
cherry-testi/trunk
Files:
2 added
35 edited

Legend:

Unmodified
Added
Removed
  • cherry-testi/trunk/admin/includes/class-tm-testimonials-admin.php

    r1534882 r1560493  
    4141        // Only run our customization on the 'edit.php' page in the admin. 
    4242        add_action( 'load-edit.php', array( $this, 'manage_columns' ) ); 
     43 
     44        // Modify the quick links in admin table list. 
     45        add_filter( 'post_row_actions', array( $this, 'modify_row_actions' ), 10, 2 ); 
    4346    } 
    4447 
     
    151154        $post_columns['position']     = esc_html__( 'Position', 'cherry-testi' ); 
    152155        $post_columns['company_name'] = esc_html__( 'Company Name', 'cherry-testi' ); 
    153         $post_columns['shortcode']    = esc_html__( 'Shortcode', 'cherry-testi' ); 
     156        $post_columns[ 'taxonomy-' . $this->post_type . '_category' ] = esc_html__( 'Category', 'cherry-testi' ); 
     157        $post_columns['shortcode'] = esc_html__( 'Shortcode', 'cherry-testi' ); 
    154158 
    155159        // Return the columns. 
     
    204208                break; 
    205209        } 
     210    } 
     211 
     212    /** 
     213     * Modify the quick links. 
     214     * 
     215     * @since  1.0.1 
     216     * @param  array   $actions An array of row action links. 
     217     * @param  WP_Post $post    The post object. 
     218     * @return array 
     219     */ 
     220    public function modify_row_actions( $actions, $post ) { 
     221 
     222        if ( $post->post_type == $this->post_type && isset( $actions['inline hide-if-no-js'] ) ) { 
     223 
     224            // Remove `Quick Edit`. 
     225            unset( $actions['inline hide-if-no-js'] ); 
     226        } 
     227 
     228        return $actions; 
    206229    } 
    207230 
  • cherry-testi/trunk/cherry-framework/cherry-core.php

    r1534882 r1560493  
    22/** 
    33 * Class Cherry Core 
    4  * Version: 1.3.0 
     4 * Version: 1.3.1 
    55 * 
    66 * @package    Cherry_Framework 
     
    8888            add_action( 'after_setup_theme', array( $this, 'init_required_modules' ),    2 ); 
    8989 
     90            // Load the framework textdomain. 
     91            add_action( 'after_setup_theme', array( $this, 'load_textdomain' ),         10 ); 
     92 
    9093            // Init modules with autoload seted up into true. 
    9194            add_action( 'after_setup_theme', array( $this, 'init_autoload_modules' ), 9999 ); 
     
    167170 
    168171        /** 
     172         * Load the framework textdomain. 
     173         * 
     174         * @since 1.3.2 
     175         */ 
     176        public function load_textdomain() { 
     177            $mo_file_path = dirname( __FILE__ ) . '/languages/' . get_locale() . '.mo'; 
     178 
     179            load_textdomain( 'cherry-framework', $mo_file_path ); 
     180        } 
     181 
     182        /** 
    169183         * Init a required modules. 
    170184         * 
     
    287301 
    288302            if ( ! class_exists( $class_name ) ) { 
    289                 echo '<p>Class <b>' . $class_name . '</b> not exist!</p>'; 
     303                echo '<p>Class <b>' . esc_html( $class_name ) . '</b> not exist!</p>'; 
    290304                return false; 
    291305            } 
  • cherry-testi/trunk/cherry-framework/config.json

    r1534882 r1560493  
    11{ 
    22    "name" : "Cherry Framework", 
    3     "version" : "1.3.0", 
     3    "version" : "1.3.1", 
    44    "description" : "", 
    55    "doc_link" : "", 
     
    99            "name" : "Breadcrumb Trail", 
    1010            "description" : "A breadcrumb menu script for WordPress.", 
    11             "version" : "1.1.1", 
     11            "version" : "1.1.2", 
    1212            "doc_link" : "", 
    1313            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs", 
     
    2020            "name" : "Customizer API", 
    2121            "description" : "Customizer functionality.", 
    22             "version" : "1.1.4", 
     22            "version" : "1.1.5", 
    2323            "doc_link" : "", 
    2424            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer", 
     
    3131            "name" : "Dynamic CSS", 
    3232            "description" : "Generate CSS.", 
    33             "version" : "1.2.0", 
     33            "version" : "1.2.2", 
    3434            "doc_link" : "", 
    3535            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css", 
     
    5353            "name" : "Cherry handler", 
    5454            "description" : "Initialize handlers.", 
    55             "version" : "1.0.0", 
     55            "version" : "1.1.0", 
    5656            "doc_link" : "", 
    5757            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-handler", 
     
    6464            "name" : "Interface Builder", 
    6565            "description" : "The module for the creation of interfaces in the WordPress admin panel.", 
    66             "version" : "1.0.3", 
     66            "version" : "1.1.1", 
    6767            "doc_link" : "", 
    6868            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-interface-builder", 
     
    141141            "name" : "UI Elements", 
    142142            "description" : "UI Elements", 
    143             "version" : "1.3.0", 
     143            "version" : "1.3.2", 
    144144            "doc_link" : "", 
    145145            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements", 
     
    152152            "name" : "Utility", 
    153153            "description" : "Multiple utility functions.", 
    154             "version" : "1.1.4", 
     154            "version" : "1.1.5", 
    155155            "doc_link" : "", 
    156156            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility", 
     
    163163            "name" : "Widget Factory", 
    164164            "description" : "Base widget class that simplifies creating of your own widgets.", 
    165             "version" : "1.2.0", 
     165            "version" : "1.2.1", 
    166166            "doc_link" : "", 
    167167            "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-widget-factory", 
  • cherry-testi/trunk/cherry-framework/modules/cherry-handler/assets/js/cherry-handler.js

    r1534882 r1560493  
    9898        self.send = function() { 
    9999            if ( self.ajaxProcessing ) { 
    100                 CherryJsCore.cherryHandlerUtils.noticeCreate( 'error-notice', self.handlerSettings.sys_messages.wait_processing ); 
     100                CherryJsCore.cherryHandlerUtils.noticeCreate( 'error-notice', self.handlerSettings.sys_messages.wait_processing, self.handlerSettings.is_public ); 
    101101            } 
    102102            self.ajaxProcessing = true; 
    103103 
    104104            self.ajaxRequest = jQuery.ajax( { 
    105                 type: self.handlerSettings.type.toUpperCase(), 
     105                type: self.handlerSettings.type, 
    106106                url: settings.url, 
    107107                data: self.data, 
     
    129129                    } 
    130130 
    131                     CherryJsCore.cherryHandlerUtils.noticeCreate( data.type, data.message ); 
     131                    CherryJsCore.cherryHandlerUtils.noticeCreate( data.type, data.message, self.handlerSettings.is_public ); 
    132132                }, 
    133133                complete: function( jqXHR, textStatus ) { 
     
    181181         * @return {Void} 
    182182         */ 
    183         noticeCreate: function( type, message ) { 
     183        noticeCreate: function( type, message, isPublicPage ) { 
    184184            var notice, 
    185185                rightDelta = 0, 
    186                 timeoutId; 
    187  
    188             if ( ! message ) { 
     186                timeoutId, 
     187                isPublic = isPublicPage || false; 
     188 
     189            if ( ! message || 'true' === isPublic ) { 
    189190                return false; 
    190191            } 
  • cherry-testi/trunk/cherry-framework/modules/cherry-handler/assets/js/min/cherry-handler.min.js

    r1534882 r1560493  
    1 !function(e,a){"use strict";a.utilites.namespace("CherryAjaxHandler"),a.CherryAjaxHandler=function(n){var t=this,r={handlerId:"",cache:!1,processData:!0,url:"",beforeSendCallback:function(){},errorCallback:function(){},successCallback:function(){},completeCallback:function(){}};return n&&e.extend(r,n),window[r.handlerId]?(t.handlerSettings=window[r.handlerId]||{},t.ajaxRequest=null,t.ajaxProcessing=!1,t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce},""===r.url&&(r.url="false"===t.handlerSettings.is_public?window.ajaxurl:window.cherryHandlerAjaxUrl.ajax_url),t.send=function(){t.ajaxProcessing&&a.cherryHandlerUtils.noticeCreate("error-notice",t.handlerSettings.sys_messages.wait_processing),t.ajaxProcessing=!0,t.ajaxRequest=jQuery.ajax({type:t.handlerSettings.type.toUpperCase(),url:r.url,data:t.data,cache:r.cache,dataType:t.handlerSettings.data_type,processData:r.processData,beforeSend:function(e,a){null!==t.ajaxRequest&&t.ajaxRequest.abort(),r.beforeSendCallback&&"function"==typeof r.beforeSendCallback&&r.beforeSendCallback(e,a)},error:function(e,a,n){r.errorCallback&&"function"==typeof r.errorCallback&&r.errorCallback(e,a,n)},success:function(e,n,c){t.ajaxProcessing=!1,r.successCallback&&"function"==typeof r.successCallback&&r.successCallback(e,n,c),a.cherryHandlerUtils.noticeCreate(e.type,e.message)},complete:function(e,a){r.completeCallback&&"function"==typeof r.completeCallback&&r.completeCallback(e,a)}})},t.sendData=function(e){var a=e||{};t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce,data:a},t.send()},void(t.sendFormData=function(n){var r,c=e(n);r=a.cherryHandlerUtils.serializeObject(c),t.sendData(r)})):(window.console&&window.console.warn("Handler id not found"),!1)},a.utilites.namespace("cherryHandlerUtils"),a.cherryHandlerUtils={noticeCreate:function(a,n){function t(){var a=100;e(".cherry-handler-notice").each(function(){e(this).css({top:a}),a+=e(this).outerHeight(!0)})}var r,c,s=0;return n?(r=e('<div class="cherry-handler-notice '+a+'"><span class="dashicons"></span><div class="inner">'+n+"</div></div>"),e("body").prepend(r),t(),s=-1*(r.outerWidth(!0)+10),r.css({right:s}),c=setTimeout(function(){r.css({right:10}).addClass("show-state")},100),c=setTimeout(function(){s=-1*(r.outerWidth(!0)+10),r.css({right:s}).removeClass("show-state")},4e3),void(c=setTimeout(function(){r.remove(),clearTimeout(c)},4500))):!1},serializeObject:function(a){var n=this,t={},r={},c={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/};return this.build=function(e,a,n){return e[a]=n,e},this.push_counter=function(e){return void 0===r[e]&&(r[e]=0),r[e]++},e.each(a.serializeArray(),function(){var a,r,s,i;if(c.validate.test(this.name)){for(r=this.name.match(c.key),s=this.value,i=this.name;void 0!==(a=r.pop());)i=i.replace(new RegExp("\\["+a+"\\]$"),""),a.match(c.push)?s=n.build([],n.push_counter(i),s):a.match(c.fixed)?s=n.build([],a,s):a.match(c.named)&&(s=n.build({},a,s));t=e.extend(!0,t,s)}}),t}}}(jQuery,window.CherryJsCore); 
     1!function(e,a){"use strict";a.utilites.namespace("CherryAjaxHandler"),a.CherryAjaxHandler=function(n){var t=this,r={handlerId:"",cache:!1,processData:!0,url:"",beforeSendCallback:function(){},errorCallback:function(){},successCallback:function(){},completeCallback:function(){}};return n&&e.extend(r,n),window[r.handlerId]?(t.handlerSettings=window[r.handlerId]||{},t.ajaxRequest=null,t.ajaxProcessing=!1,t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce},""===r.url&&(r.url="false"===t.handlerSettings.is_public?window.ajaxurl:window.cherryHandlerAjaxUrl.ajax_url),t.send=function(){t.ajaxProcessing&&a.cherryHandlerUtils.noticeCreate("error-notice",t.handlerSettings.sys_messages.wait_processing,t.handlerSettings.is_public),t.ajaxProcessing=!0,t.ajaxRequest=jQuery.ajax({type:t.handlerSettings.type,url:r.url,data:t.data,cache:r.cache,dataType:t.handlerSettings.data_type,processData:r.processData,beforeSend:function(e,a){null!==t.ajaxRequest&&t.ajaxRequest.abort(),r.beforeSendCallback&&"function"==typeof r.beforeSendCallback&&r.beforeSendCallback(e,a)},error:function(e,a,n){r.errorCallback&&"function"==typeof r.errorCallback&&r.errorCallback(e,a,n)},success:function(e,n,i){t.ajaxProcessing=!1,r.successCallback&&"function"==typeof r.successCallback&&r.successCallback(e,n,i),a.cherryHandlerUtils.noticeCreate(e.type,e.message,t.handlerSettings.is_public)},complete:function(e,a){r.completeCallback&&"function"==typeof r.completeCallback&&r.completeCallback(e,a)}})},t.sendData=function(e){var a=e||{};t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce,data:a},t.send()},void(t.sendFormData=function(n){var r,i=e(n);r=a.cherryHandlerUtils.serializeObject(i),t.sendData(r)})):(window.console&&window.console.warn("Handler id not found"),!1)},a.utilites.namespace("cherryHandlerUtils"),a.cherryHandlerUtils={noticeCreate:function(a,n,t){function r(){var a=100;e(".cherry-handler-notice").each(function(){e(this).css({top:a}),a+=e(this).outerHeight(!0)})}var i,s,c=0,o=t||!1;return n&&"true"!==o?(i=e('<div class="cherry-handler-notice '+a+'"><span class="dashicons"></span><div class="inner">'+n+"</div></div>"),e("body").prepend(i),r(),c=-1*(i.outerWidth(!0)+10),i.css({right:c}),s=setTimeout(function(){i.css({right:10}).addClass("show-state")},100),s=setTimeout(function(){c=-1*(i.outerWidth(!0)+10),i.css({right:c}).removeClass("show-state")},4e3),void(s=setTimeout(function(){i.remove(),clearTimeout(s)},4500))):!1},serializeObject:function(a){var n=this,t={},r={},i={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/};return this.build=function(e,a,n){return e[a]=n,e},this.push_counter=function(e){return void 0===r[e]&&(r[e]=0),r[e]++},e.each(a.serializeArray(),function(){var a,r,s,c;if(i.validate.test(this.name)){for(r=this.name.match(i.key),s=this.value,c=this.name;void 0!==(a=r.pop());)c=c.replace(new RegExp("\\["+a+"\\]$"),""),a.match(i.push)?s=n.build([],n.push_counter(c),s):a.match(i.fixed)?s=n.build([],a,s):a.match(i.named)&&(s=n.build({},a,s));t=e.extend(!0,t,s)}}),t}}}(jQuery,window.CherryJsCore); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-handler/cherry-handler.php

    r1534882 r1560493  
    33 * Module Name: Cherry handler 
    44 * Description: Initializes handlers 
    5  * Version: 1.0.0 
     5 * Version: 1.1.0 
    66 * Author: Cherry Team 
    77 * Author URI: http://www.cherryframework.com/ 
     
    1111 * @package    Cherry_Framework 
    1212 * @subpackage Modules 
    13  * @version    1.0.0 
     13 * @version    1.1.0 
    1414 * @author     Cherry Team <cherryframework@gmail.com> 
    1515 * @copyright  Copyright (c) 2012 - 2016, Cherry Team 
     
    5353            'is_public'  => false, 
    5454            'callback'   => '', 
    55             'type'       => 'post', 
     55            'type'       => 'POST', 
    5656            'data_type'  => 'json', 
    5757            'sys_messages' => array( 
     
    8484            } 
    8585 
    86             // Action empty check 
    87             if ( ! empty( $this->settings['action'] ) ) { 
    88                 add_action( 'wp_ajax_' . $this->settings['action'], array( $this, 'handler_init' ) ); 
    89  
    90                 // Public action check 
    91                 if ( filter_var( $this->settings['is_public'], FILTER_VALIDATE_BOOLEAN ) ) { 
    92                     add_action( 'wp_ajax_nopriv_' . $this->settings['action'], array( $this, 'handler_init' ) ); 
    93                 } 
     86            add_action( 'wp_ajax_' . $this->settings['action'], array( $this, 'handler_init' ) ); 
     87 
     88            // Public action check 
     89            if ( filter_var( $this->settings['is_public'], FILTER_VALIDATE_BOOLEAN ) ) { 
     90                add_action( 'wp_ajax_nopriv_' . $this->settings['action'], array( $this, 'handler_init' ) ); 
    9491            } 
    9592 
     
    106103         */ 
    107104        public function handler_init() { 
    108             if ( ! empty( $_POST ) && array_key_exists( 'nonce', $_POST ) ) { 
    109  
    110                 $nonce = $_POST['nonce']; 
     105            $request_type = strtoupper( '_' . $this->settings['type'] ); 
     106 
     107            if ( ! empty( $GLOBALS[ $request_type ] ) && array_key_exists( 'nonce', $GLOBALS[ $request_type ] ) ) { 
     108 
     109                $nonce = $GLOBALS[ $request_type ]['nonce']; 
    111110 
    112111                $nonce_action = ! empty( $this->settings['action'] ) ? $this->settings['action'] : 'cherry_ajax_nonce'; 
     
    195194                    'action'       => $this->settings['action'], 
    196195                    'nonce'        => $nonce, 
    197                     'type'         => $this->settings['type'], 
     196                    'type'         => strtoupper( $this->settings['type'] ), 
    198197                    'data_type'    => $this->settings['data_type'], 
    199198                    'is_public'    => $this->settings['is_public'] ? 'true' : 'false', 
     
    203202 
    204203            if ( $this->settings['is_public'] ) { 
    205                 wp_localize_script( 'cherry-handler-js', 'cherryHandlerAjaxUrl', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) ); 
     204                $ajax_url = esc_url( admin_url( 'admin-ajax.php' ) ); 
     205                wp_localize_script( 'cherry-handler-js', 'cherryHandlerAjaxUrl', array( 'ajax_url' => $ajax_url ) ); 
    206206            } 
    207207        } 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/cherry-interface-builder.php

    r1534882 r1560493  
    33 * Module Name: Interface Builder 
    44 * Description: The module for the creation of interfaces in the WordPress admin panel 
    5  * Version: 1.0.3 
     5 * Version: 1.1.1 
    66 * Author: Cherry Team 
    77 * Author URI: http://www.cherryframework.com/ 
     
    1111 * @package    Cherry_Framework 
    1212 * @subpackage Modules 
    13  * @version    1.0.3 
     13 * @version    1.1.1 
    1414 * @author     Cherry Team <cherryframework@gmail.com> 
    1515 * @copyright  Copyright (c) 2012 - 2016, Cherry Team 
     
    377377 
    378378                    case 'form': 
    379                         $value['accept-charset'] = isset( $value['accept-charset'] ) ? 'accept-charset="' . $value['accept-charset'] . '" ' : 'accept-charset="utf-8"'; 
    380                         $value['action']         = isset( $value['action'] ) ? 'action="' . $value['action'] . '" ' : '' ; 
    381                         $value['autocomplete']   = isset( $value['autocomplete'] ) ? 'autocomplete="' . $value['autocomplete'] . '" ' : 'autocomplete="on"'; 
    382                         $value['enctype']        = isset( $value['enctype'] ) ? 'enctype="' . $value['enctype'] . '" ' : 'enctype="application/x-www-form-urlencoded"'; 
    383                         $value['method']         = isset( $value['method'] ) ? 'method="' . $value['method'] . '" ' : 'method="post"'; 
     379                        $value['accept-charset'] = isset( $value['accept-charset'] ) ? $value['accept-charset'] : 'utf-8'; 
     380                        $value['action']         = isset( $value['action'] ) ? $value['action'] : '' ; 
     381                        $value['autocomplete']   = isset( $value['autocomplete'] ) ? $value['autocomplete'] : 'on'; 
     382                        $value['enctype']        = isset( $value['enctype'] ) ? $value['enctype'] : 'application/x-www-form-urlencoded'; 
     383                        $value['method']         = isset( $value['method'] ) ? $value['method'] : 'post'; 
    384384                        $value['novalidate']     = ( isset( $value['novalidate'] ) && $value['novalidate'] ) ? 'novalidate' : ''; 
    385                         $value['target']         = isset( $value['target'] ) ? 'target="' . $value['target'] . '" ' : ''; 
     385                        $value['target']         = isset( $value['target'] ) ? $value['target'] : ''; 
    386386                    break; 
    387387 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.scss

    r1534882 r1560493  
    8383    } 
    8484    &__description{ 
    85         font-style: 1rem; 
     85        font-size: 0.9rem; 
    8686        color: $color-3; 
    8787        margin: $margin 0; 
     
    434434    @media ( min-width: 783px ) { 
    435435        max-height: $max-heught; 
    436         overflow-y: scroll; 
     436        overflow-y: auto; 
    437437        position: relative; 
    438438        &::-webkit-scrollbar { 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.css

    r1534882 r1560493  
    1 .cherry-ui-kit button *{pointer-events:none}.cherry-component__content .cherry-settings__content{display:none}.cherry-component__content .cherry-settings__content.show{display:inherit}html{font-size:13px}.cherry-ui-kit h1{font-weight:700;font-size:2.308rem;line-height:2.308rem}.cherry-ui-kit h1 .dashicons{font-size:3rem;line-height:inherit;width:20px;margin:0 20px 0 -5px}.cherry-ui-kit h2{font-weight:600;font-size:1.538rem;line-height:1.538rem}.cherry-ui-kit h2 .dashicons{font-size:2rem;line-height:inherit;width:20px;margin-right:20px}.cherry-ui-kit h3{font-weight:600;font-size:1.231rem;line-height:1.231rem}.cherry-ui-kit h3 .dashicons{font-size:1.7rem;line-height:inherit;margin-right:5px}.cherry-ui-kit h4{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h5{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h6{font-weight:400;font-size:1rem;line-height:1rem}.cherry-ui-kit a{color:#298ffc;text-decoration:none}.cherry-ui-kit a:hover{color:#23282d}.cherry-ui-kit a:focus{outline:1px solid #23282d}.cherry-ui-kit__description{font-style:1rem;color:#96989a;margin:10px 0}.cherry-ui-kit__title{margin:20px 0}.cherry-ui-kit.hide{display:none}.cherry-control+.cherry-control,.cherry-settings+.cherry-control{border-top:1px solid rgba(0,0,0,0.1)}.cherry-section{padding:10px;background-color:#fff;margin-left:-10px}.cherry-section__title,.cherry-section__description{margin:10px 0 0 0}.cherry-section+.cherry-ui-kit{border-top:1px solid rgba(0,0,0,0.1)}@media (min-width: 783px){.cherry-section{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);padding:15px;margin:15px 15px 0 0}.cherry-section__holder{background-color:#efefef;border-radius:5px;padding:15px}.cherry-section__info{background-color:#fff;border-radius:5px;padding:15px;box-shadow:0px 5px 21px rgba(0,0,0,0.1);margin-bottom:15px}.cherry-section .cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff;margin-top:15px}.cherry-section .cherry-settings:first-child{margin-top:0}}@media (min-width: 961px){.cherry-section{padding:30px;margin:20px 20px 0 0}.cherry-section__info{padding:30px;margin-bottom:30px}.cherry-section__holder{padding:30px}.cherry-section .cherry-settings{margin-top:30px}}.cherry-component{padding:20px 0}@media (min-width: 783px){.cherry-component{padding:15px}}@media (min-width: 961px){.cherry-component{padding:30px}}.cherry-component+*{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component__title{margin-top:0}.cherry-component .cherry-component__content .cherry-settings{padding:0;border-top:none}.cherry-component__button{display:block;min-height:45px;-webkit-transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19)}.cherry-component__button .cherry-ui-kit__title{color:inherit}.cherry-component__button.active,.cherry-component__button:hover{color:#298ffc;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component__button:focus{outline:none;box-shadow:inset 0px 0px 10px rgba(41,143,252,0.5);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button,.cherry-component.cherry-toggle .cherry-component__button{width:100%;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-accordion .cherry-component__button .cherry-toggle__title,.cherry-component.cherry-toggle .cherry-component__button .cherry-toggle__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-accordion .cherry-component__button span,.cherry-component.cherry-toggle .cherry-component__button span{font-size:25px;color:#b4b7ba;float:right;padding:5px 5px;width:10px;height:9px;text-align:left;margin-right:-6px}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon:before{position:relative;top:-8px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button span.show-icon,.cherry-component.cherry-toggle .cherry-component__button span.show-icon{position:relative;left:14px;-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button span.show-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.show-icon:before{position:relative;top:-7px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button.active span.show-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.show-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button.active span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.hide-icon{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button+.cherry-settings__content,.cherry-component.cherry-toggle .cherry-component__button+.cherry-settings__content{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings+.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings+.cherry-settings{margin-top:10px}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;border-bottom:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;-webkit-box-flex:0;-webkit-flex:0 1 100%;-ms-flex:0 1 100%;flex:0 1 100%;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button.active{-ms-box-shadow:inset 0px -3px 0px 0px #298ffc;box-shadow:inset 0px -3px 0px 0px #298ffc}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button .cherry-tab__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__body{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff}.cherry-component.cherry-tab .cherry-tab__body .cherry-settings{box-shadow:none;border-radius:0;border:none;background-color:inherit;margin:0}@media (min-width: 783px){.cherry-component.cherry-tab .cherry-tab__tabs{border:solid 1px rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:none}.cherry-component.cherry-tab .cherry-tab__body{border:none}.cherry-component.cherry-tab .cherry-tab__body .cherry-tab__content{border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab--horizontal>.cherry-tab__body{border-radius:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;border-radius:5px 5px 0 0;border-bottom:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__content{border-radius:0 0 5px 5px}.cherry-component.cherry-tab--vertical>.cherry-tab__body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-webkit-flex:0 1 25%;-ms-flex:0 1 25%;flex:0 1 25%;border-radius:5px 0 0 5px;border-right:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{text-align:right}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button .cherry-tab__title{width:100%}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button.active{box-shadow:inset -3px 0px 0px #298ffc}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 75%;-ms-flex:0 1 75%;flex:0 1 75%;border-radius:0 5px 5px 0}}@media (min-width: 1200px){.cherry-component.cherry-tab--vertical .cherry-tab__tabs{-webkit-box-flex:0;-webkit-flex:0 1 20%;-ms-flex:0 1 20%;flex:0 1 20%}.cherry-component.cherry-tab--vertical .cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 80%;-ms-flex:0 1 80%;flex:0 1 80%}}.cherry-settings+.cherry-settings{border-top:1px solid rgba(0,0,0,0.1)}.cherry-settings .cherry-settings__title{margin-bottom:10px}.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:10px}@media (min-width: 783px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:15px}}@media (min-width: 961px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:30px}}.cherry-control{padding:15px 20px}.cherry-control__title{margin:0 0 10px 0}.cherry-control__description{margin-top:0}.cherry-control .cherry-ui-container{margin:0}@media (min-width: 783px){.cherry-control{padding:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.cherry-control__info{-webkit-box-flex:0;-webkit-flex:0 1 30%;-ms-flex:0 1 30%;flex:0 1 30%;padding-right:15px}.cherry-control__content{-webkit-box-flex:0;-webkit-flex:0 1 70%;-ms-flex:0 1 70%;flex:0 1 70%}}@media (min-width: 961px){.cherry-control{padding:30px}}@media (min-width: 783px){.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner,.cherry-tab__content>.cherry-scroll,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content{max-height:700px;overflow-y:scroll;position:relative}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar{width:10px;height:10px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-button,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-button,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button{width:0px;height:0px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb{background-color:#298ffc;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:hover,.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:active,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:hover,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:active,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active{background:#206ff4}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-track,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-track,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track{background-color:#fff;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-corner,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-corner,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner{background:transparent}} 
     1.cherry-ui-kit button *{pointer-events:none}.cherry-component__content .cherry-settings__content{display:none}.cherry-component__content .cherry-settings__content.show{display:inherit}html{font-size:13px}.cherry-ui-kit h1{font-weight:700;font-size:2.308rem;line-height:2.308rem}.cherry-ui-kit h1 .dashicons{font-size:3rem;line-height:inherit;width:20px;margin:0 20px 0 -5px}.cherry-ui-kit h2{font-weight:600;font-size:1.538rem;line-height:1.538rem}.cherry-ui-kit h2 .dashicons{font-size:2rem;line-height:inherit;width:20px;margin-right:20px}.cherry-ui-kit h3{font-weight:600;font-size:1.231rem;line-height:1.231rem}.cherry-ui-kit h3 .dashicons{font-size:1.7rem;line-height:inherit;margin-right:5px}.cherry-ui-kit h4{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h5{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h6{font-weight:400;font-size:1rem;line-height:1rem}.cherry-ui-kit a{color:#298ffc;text-decoration:none}.cherry-ui-kit a:hover{color:#23282d}.cherry-ui-kit a:focus{outline:1px solid #23282d}.cherry-ui-kit__description{font-size:0.9rem;color:#96989a;margin:10px 0}.cherry-ui-kit__title{margin:20px 0}.cherry-ui-kit.hide{display:none}.cherry-control+.cherry-control,.cherry-settings+.cherry-control{border-top:1px solid rgba(0,0,0,0.1)}.cherry-section{padding:10px;background-color:#fff;margin-left:-10px}.cherry-section__title,.cherry-section__description{margin:10px 0 0 0}.cherry-section+.cherry-ui-kit{border-top:1px solid rgba(0,0,0,0.1)}@media (min-width: 783px){.cherry-section{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);padding:15px;margin:15px 15px 0 0}.cherry-section__holder{background-color:#efefef;border-radius:5px;padding:15px}.cherry-section__info{background-color:#fff;border-radius:5px;padding:15px;box-shadow:0px 5px 21px rgba(0,0,0,0.1);margin-bottom:15px}.cherry-section .cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff;margin-top:15px}.cherry-section .cherry-settings:first-child{margin-top:0}}@media (min-width: 961px){.cherry-section{padding:30px;margin:20px 20px 0 0}.cherry-section__info{padding:30px;margin-bottom:30px}.cherry-section__holder{padding:30px}.cherry-section .cherry-settings{margin-top:30px}}.cherry-component{padding:20px 0}@media (min-width: 783px){.cherry-component{padding:15px}}@media (min-width: 961px){.cherry-component{padding:30px}}.cherry-component+*{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component__title{margin-top:0}.cherry-component .cherry-component__content .cherry-settings{padding:0;border-top:none}.cherry-component__button{display:block;min-height:45px;-webkit-transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19)}.cherry-component__button .cherry-ui-kit__title{color:inherit}.cherry-component__button.active,.cherry-component__button:hover{color:#298ffc;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component__button:focus{outline:none;box-shadow:inset 0px 0px 10px rgba(41,143,252,0.5);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button,.cherry-component.cherry-toggle .cherry-component__button{width:100%;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-accordion .cherry-component__button .cherry-toggle__title,.cherry-component.cherry-toggle .cherry-component__button .cherry-toggle__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-accordion .cherry-component__button span,.cherry-component.cherry-toggle .cherry-component__button span{font-size:25px;color:#b4b7ba;float:right;padding:5px 5px;width:10px;height:9px;text-align:left;margin-right:-6px}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon:before{position:relative;top:-8px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button span.show-icon,.cherry-component.cherry-toggle .cherry-component__button span.show-icon{position:relative;left:14px;-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button span.show-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.show-icon:before{position:relative;top:-7px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button.active span.show-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.show-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button.active span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.hide-icon{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button+.cherry-settings__content,.cherry-component.cherry-toggle .cherry-component__button+.cherry-settings__content{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings+.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings+.cherry-settings{margin-top:10px}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;border-bottom:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;-webkit-box-flex:0;-webkit-flex:0 1 100%;-ms-flex:0 1 100%;flex:0 1 100%;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button.active{-ms-box-shadow:inset 0px -3px 0px 0px #298ffc;box-shadow:inset 0px -3px 0px 0px #298ffc}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button .cherry-tab__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__body{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff}.cherry-component.cherry-tab .cherry-tab__body .cherry-settings{box-shadow:none;border-radius:0;border:none;background-color:inherit;margin:0}@media (min-width: 783px){.cherry-component.cherry-tab .cherry-tab__tabs{border:solid 1px rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:none}.cherry-component.cherry-tab .cherry-tab__body{border:none}.cherry-component.cherry-tab .cherry-tab__body .cherry-tab__content{border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab--horizontal>.cherry-tab__body{border-radius:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;border-radius:5px 5px 0 0;border-bottom:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__content{border-radius:0 0 5px 5px}.cherry-component.cherry-tab--vertical>.cherry-tab__body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-webkit-flex:0 1 25%;-ms-flex:0 1 25%;flex:0 1 25%;border-radius:5px 0 0 5px;border-right:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{text-align:right}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button .cherry-tab__title{width:100%}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button.active{box-shadow:inset -3px 0px 0px #298ffc}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 75%;-ms-flex:0 1 75%;flex:0 1 75%;border-radius:0 5px 5px 0}}@media (min-width: 1200px){.cherry-component.cherry-tab--vertical .cherry-tab__tabs{-webkit-box-flex:0;-webkit-flex:0 1 20%;-ms-flex:0 1 20%;flex:0 1 20%}.cherry-component.cherry-tab--vertical .cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 80%;-ms-flex:0 1 80%;flex:0 1 80%}}.cherry-settings+.cherry-settings{border-top:1px solid rgba(0,0,0,0.1)}.cherry-settings .cherry-settings__title{margin-bottom:10px}.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:10px}@media (min-width: 783px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:15px}}@media (min-width: 961px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:30px}}.cherry-control{padding:15px 20px}.cherry-control__title{margin:0 0 10px 0}.cherry-control__description{margin-top:0}.cherry-control .cherry-ui-container{margin:0}@media (min-width: 783px){.cherry-control{padding:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.cherry-control__info{-webkit-box-flex:0;-webkit-flex:0 1 30%;-ms-flex:0 1 30%;flex:0 1 30%;padding-right:15px}.cherry-control__content{-webkit-box-flex:0;-webkit-flex:0 1 70%;-ms-flex:0 1 70%;flex:0 1 70%}}@media (min-width: 961px){.cherry-control{padding:30px}}@media (min-width: 783px){.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner,.cherry-tab__content>.cherry-scroll,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content{max-height:700px;overflow-y:auto;position:relative}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar{width:10px;height:10px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-button,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-button,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button{width:0px;height:0px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb{background-color:#298ffc;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:hover,.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:active,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:hover,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:active,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active{background:#206ff4}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-track,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-track,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track{background-color:#fff;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-corner,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-corner,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner{background:transparent}} 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/component-accordion.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-component cherry-accordion <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id'] ?>"> 
     18<div class="cherry-ui-kit cherry-component cherry-accordion <?php echo esc_attr( $__data['class'] ); ?>" data-compotent-id="#<?php echo esc_attr( $__data['id'] ) ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { ?> 
    20         <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title'] ?></h2> 
     20        <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h2> 
    2121    <?php } ?> 
    2222    <?php if ( ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description'] ?></div> 
     23        <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2424    <?php } ?> 
    2525    <?php if ( ! empty( $__data['children'] ) ) { ?> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/component-repeater.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-component cherry-repeater <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id']; ?>"> 
     18<div class="cherry-ui-kit cherry-component cherry-repeater <?php echo esc_attr( $__data['class'] ); ?>" data-compotent-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { ?> 
    20         <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2> 
     20        <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h2> 
    2121    <?php } ?> 
    2222    <?php if ( ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div> 
     23        <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2424    <?php } ?> 
    2525    <?php if ( ! empty( $__data['children'] ) ) { ?> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-horizontal.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--horizontal <?php echo $__data['class'] ?>" data-compotent-id="#<?php echo $__data['id'] ?>"> 
     18<div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--horizontal <?php echo esc_attr( $__data['class'] ) ?>" data-compotent-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { ?> 
    20         <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2> 
     20        <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h2> 
    2121    <?php } ?> 
    2222    <?php if ( ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div> 
     23        <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2424    <?php } ?> 
    2525    <?php if ( ! empty( $__data['children'] ) ) { ?> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-vertical.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--vertical <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id']; ?>"> 
     18<div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--vertical <?php echo esc_attr( $__data['class'] ); ?>" data-compotent-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { ?> 
    20         <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2> 
     20        <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h2> 
    2121    <?php } ?> 
    2222    <?php if ( ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div> 
     23        <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2424    <?php } ?> 
    2525    <?php if ( ! empty( $__data['children'] ) ) { ?> 
    2626        <div class="cherry-tab__body" > 
    2727            <div class="cherry-tab__tabs" role="navigation" > 
    28                 <?php echo $__data['tabs'] ?> 
     28                <?php echo $__data['tabs']; ?> 
    2929            </div> 
    3030            <div class="cherry-ui-kit__content cherry-component__content cherry-tab__content" role="group" > 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/component-toggle.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-component cherry-toggle <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id'] ?>"> 
     18<div class="cherry-ui-kit cherry-component cherry-toggle <?php echo esc_attr( $__data['class'] ); ?>" data-compotent-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { ?> 
    20         <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2> 
     20        <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h2> 
    2121    <?php } ?> 
    2222    <?php if ( ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div> 
     23        <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2424    <?php } ?> 
    2525    <?php if ( ! empty( $__data['children'] ) ) { ?> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/control.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-control <?php echo $__data['class']; ?>"> 
     18<div class="cherry-ui-kit cherry-control <?php echo esc_attr( $__data['class'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) || ! empty( $__data['description'] ) ) { ?> 
    2020        <div class="cherry-control__info"> 
    2121            <?php if ( ! empty( $__data['title'] ) ) { ?> 
    22                 <h4 class="cherry-ui-kit__title cherry-control__title" role="banner" ><?php echo $__data['title']; ?></h4> 
     22                <h4 class="cherry-ui-kit__title cherry-control__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h4> 
    2323            <?php } ?> 
    2424            <?php if ( ! empty( $__data['description'] ) ) { ?> 
    25                 <div class="cherry-ui-kit__description cherry-control__description" role="note" ><?php echo $__data['description']; ?></div> 
     25                <div class="cherry-ui-kit__description cherry-control__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2626            <?php } ?> 
    2727        </div> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/form.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <form class="cherry-form <?php echo $__data['class']; ?>" id="<?php echo $__data['id']; ?>" name="<?php echo $__data['id']; ?>" <?php echo $__data['accept-charset'] . $__data['action'] . $__data['autocomplete'] . $__data['enctype'] . $__data['method'] . $__data['novalidate'] . $__data['target']; ?>> 
     18<form class="cherry-form <?php echo esc_attr( $__data['class'] ); ?>" id="<?php echo esc_attr( $__data['id'] ); ?>" name="<?php echo esc_attr( $__data['id'] ); ?>" accept-charset="<?php echo esc_attr( $__data['accept-charset'] ); ?>" action="<?php echo esc_attr( $__data['action'] ); ?>" autocomplete="<?php echo esc_attr( $__data['autocomplete'] ); ?>" enctype="<?php echo esc_attr( $__data['enctype'] ); ?>" method="<?php echo esc_attr( $__data['method'] ); ?>" target="<?php echo esc_attr( $__data['target'] ); ?>" <?php echo esc_attr( $__data['novalidate'] ); ?> > 
    1919    <?php 
    2020        if ( ! empty( $__data['children'] ) ) { 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/html.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit <?php echo $__data['class']; ?>"> 
     18<div class="cherry-ui-kit <?php echo esc_attr( $__data['class'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['children'] ) ) { ?> 
    2020        <div class="cherry-ui-kit__content" role="group" > 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/section.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-section <?php echo $__data['class']; ?>" onclick="void(0)"> 
     18<div class="cherry-ui-kit cherry-section <?php echo esc_attr( $__data['class'] ); ?>" onclick="void(0)"> 
    1919    <div class="cherry-section__holder"> 
    2020        <div class="cherry-section__inner"> 
    2121            <div class="cherry-section__info"> 
    2222                <?php if ( ! empty( $__data['title'] ) ) { ?> 
    23                     <h1 class="cherry-ui-kit__title cherry-section__title" role="banner" ><?php echo $__data['title']; ?></h1> 
     23                    <h1 class="cherry-ui-kit__title cherry-section__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h1> 
    2424                <?php } ?> 
    2525                <?php if ( ! empty( $__data['description'] ) ) { ?> 
    26                     <div class="cherry-ui-kit__description cherry-section__description " role="note" ><?php echo $__data['description']; ?></div> 
     26                    <div class="cherry-ui-kit__description cherry-section__description " role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2727                <?php } ?> 
    2828            </div> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/settings-children-title.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <h3 class="cherry-ui-kit__title cherry-settings__title" role="banner" ><?php echo $__data['title']; ?></h3> 
     18<h3 class="cherry-ui-kit__title cherry-settings__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h3> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/settings.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <div class="cherry-ui-kit cherry-settings <?php echo $__data['class']; ?>"> 
     18<div class="cherry-ui-kit cherry-settings <?php echo esc_attr( $__data['class'] ); ?>"> 
    1919    <?php if ( ! empty( $__data['title'] ) ) { 
    2020        echo $__data['title']; 
    2121    } ?> 
    2222    <?php if ( ! empty( $__data['children'] ) || ! empty( $__data['description'] ) ) { ?> 
    23         <div class="cherry-ui-kit__content cherry-settings__content" role="group" id="<?php echo $__data['id']; ?>"  > 
     23        <div class="cherry-ui-kit__content cherry-settings__content" role="group" id="<?php echo esc_attr( $__data['id'] ); ?>"  > 
    2424            <?php if ( ! empty( $__data['description'] ) ) { ?> 
    25                 <div class="cherry-ui-kit__description cherry-settings__description" role="note" ><?php echo $__data['description']; ?></div> 
     25                <div class="cherry-ui-kit__description cherry-settings__description" role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div> 
    2626            <?php } ?> 
    2727            <?php if ( ! empty( $__data['children'] ) ) { ?> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/tab-children-title.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <button class="cherry-tab__button cherry-component__button" role="button" title="<?php echo $__data['title']; ?>" aria-expanded="false" data-content-id="#<?php echo $__data['id'] ?>"> 
    19     <h3 class="cherry-ui-kit__title cherry-tab__title" aria-grabbed="true" role="banner" ><?php echo $__data['title']; ?></h3> 
     18<button class="cherry-tab__button cherry-component__button" role="button" title="<?php echo esc_attr( $__data['title'] ); ?>" aria-expanded="false" data-content-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
     19    <h3 class="cherry-ui-kit__title cherry-tab__title" aria-grabbed="true" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h3> 
    2020</button> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-interface-builder/inc/views/toggle-children-title.php

    r1534882 r1560493  
    1616} 
    1717?> 
    18 <button class="cherry-toggle__header cherry-component__button" role="button" aria-expanded="false" data-content-id="#<?php echo $__data['id'] ?>"> 
    19     <h3 class="cherry-ui-kit__title cherry-toggle__title" aria-grabbed="true" role="banner" ><?php echo $__data['title']; ?></h3> 
     18<button class="cherry-toggle__header cherry-component__button" role="button" aria-expanded="false" data-content-id="#<?php echo esc_attr( $__data['id'] ); ?>"> 
     19    <h3 class="cherry-ui-kit__title cherry-toggle__title" aria-grabbed="true" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h3> 
    2020    <span class="dashicons dashicons-arrow-down hide-icon"></span> 
    2121    <span class="dashicons dashicons-arrow-up show-icon"></span> 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php

    r1534882 r1560493  
    33 * Module Name: UI Elements 
    44 * Description: Class for the building ui elements 
    5  * Version: 1.3.0 
     5 * Version: 1.3.2 
    66 * Author: Cherry Team 
    77 * Author URI: http://www.cherryframework.com/ 
     
    1111 * @package    Cherry_Framework 
    1212 * @subpackage Modules 
    13  * @version    1.3.0 
     13 * @version    1.3.2 
    1414 * @author     Cherry Team <cherryframework@gmail.com> 
    1515 * @copyright  Copyright (c) 2012 - 2016, Cherry Team 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/view/button-view.php

    r1534882 r1560493  
    1515    die; 
    1616} 
    17  
     17$class = trim( implode( ' ', array( 'ui-button', 'ui-button-' . $__data['style'] . '-style ', $__data['master'], $__data['class'] ) ) ); 
    1818$attrs = Cherry_Toolkit::join( 
    1919    array( 
    20         'type'       => $__data['type'], 
    21         'id'         => $__data['id'], 
    22         'name'       => $__data['name'], 
    23         'class'      => 'ui-button ui-button-' . $__data['style'] . '-style ' . $__data['master'] . $__data['class'], 
     20        'type'       => esc_attr( $__data['type'] ), 
     21        'id'         => esc_attr( $__data['id'] ), 
     22        'name'       => esc_attr( $__data['name'] ), 
     23        'class'      => esc_attr( $class ), 
    2424        'disabled'   => filter_var( $__data['disabled'], FILTER_VALIDATE_BOOLEAN ), 
    25         'form'       => $__data['form'], 
    26         'formaction' => $__data['formaction'], 
     25        'form'       => esc_attr( $__data['form'] ), 
     26        'formaction' => esc_attr( $__data['formaction'] ), 
    2727    ) 
    2828); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js

    r1534882 r1560493  
    1 !function(e,t){"use strict";t.utilites.namespace("ui_elements.checkbox"),t.ui_elements.checkbox={inputClass:'.cherry-checkbox-input[type="hidden"]:not([name*="__i__"])',labelClass:".cherry-checkbox-label, .cherry-checkbox-item",wrapperClass:".widget, .postbox, .cherry-form",init:function(){e(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.initState.bind(this))},addEvent:function(){e("body").on("click.masterSlave",this.labelClass,this.switchState.bind(this)),this.initState()},initState:function(){for(var t,i,s=e(this.inputClass),a=s.length-1;a>=0;a--)t=e(s[a]),i=t.data(),jQuery.isEmptyObject(i)||e("."+i.slave)[t[0].checked?"removeClass":"addClass"]("hide")},switchState:function(t){var i=e(t.currentTarget).siblings(this.inputClass),s=i.data(),a=i[0].checked,n=i.closest(this.wrapperClass);i.val(a?"false":"true").attr("checked",a?!1:!0).trigger("change"),jQuery.isEmptyObject(s)||e("."+s.slave,n)[a?"addClass":"removeClass"]("hide")}},t.ui_elements.checkbox.init()}(jQuery,window.CherryJsCore); 
     1!function(e,t){"use strict";t.utilites.namespace("ui_elements.checkbox"),t.ui_elements.checkbox={inputClass:'.cherry-checkbox-input[type="hidden"]:not([name*="__i__"])',labelClass:".cherry-checkbox-label, .cherry-checkbox-item",init:function(){e(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.initState.bind(this))},addEvent:function(){e("body").on("click.masterSlave",this.labelClass,this.switchState.bind(this)),this.initState()},initState:function(){for(var t,i,s,n=e(this.inputClass),c=n.length-1;c>=0;c--)t=e(n[c]),i=t.data(),s=t.closest("form"),jQuery.isEmptyObject(i)||e("."+i.slave,s)[t[0].checked?"removeClass":"addClass"]("hide")},switchState:function(t){var i=e(t.currentTarget).siblings(this.inputClass),s=i.data(),n=i[0].checked,c=i.closest("form");i.val(n?"false":"true").attr("checked",n?!1:!0).trigger("change"),jQuery.isEmptyObject(s)||e("."+s.slave,c)[n?"addClass":"removeClass"]("hide")}},t.ui_elements.checkbox.init()}(jQuery,window.CherryJsCore); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js

    r1534882 r1560493  
    22 * Checkbox 
    33 */ 
    4 (function($, CherryJsCore){ 
     4( function( $, CherryJsCore ) { 
    55    'use strict'; 
    66 
     
    99        inputClass: '.cherry-checkbox-input[type="hidden"]:not([name*="__i__"])', 
    1010        labelClass: '.cherry-checkbox-label, .cherry-checkbox-item', 
    11         wrapperClass: '.widget, .postbox, .cherry-form', 
    1211 
    13         init: function () { 
     12        init: function() { 
    1413            $( document ) 
    1514                .on( 'ready.cherry-ui-elements-init', this.addEvent.bind( this ) ) 
    1615                .on( 'cherry-ui-elements-init', this.initState.bind( this ) ); 
    1716        }, 
    18         addEvent: function () { 
     17        addEvent: function() { 
    1918            $( 'body' ).on( 'click.masterSlave', this.labelClass, this.switchState.bind( this ) ); 
    2019            this.initState(); 
    2120        }, 
    22         initState: function (){ 
     21        initState: function(){ 
    2322            var $_input = $( this.inputClass ), 
    2423                i       = $_input.length - 1, 
    2524                $_target, 
    26                 data; 
     25                data, 
     26                wrapper; 
    2727 
    28             for (; i >= 0; i--) { 
     28            for ( ; i >= 0; i-- ) { 
    2929                $_target = $( $_input[ i ] ); 
    3030                data     = $_target.data(); 
     31                wrapper   = $_target.closest('form'); 
    3132 
    3233                if ( jQuery.isEmptyObject( data ) ) { 
    3334                    continue; 
    3435                } else { 
    35                     $( '.' + data.slave )[ ( $_target[ 0 ].checked ) ? 'removeClass' : 'addClass' ]( 'hide' ); 
     36                    $( '.' + data.slave, wrapper )[ ( $_target[0].checked ) ? 'removeClass' : 'addClass' ]( 'hide' ); 
    3637                } 
    3738            } 
    3839        }, 
    39         switchState: function ( event ) { 
     40        switchState: function( event ) { 
    4041            var $_input = $( event.currentTarget ).siblings( this.inputClass ), 
    4142                data    = $_input.data(), 
    4243                flag    = $_input[0].checked, 
    43                 wrapper  = $_input.closest( this.wrapperClass ); 
     44                wrapper  = $_input.closest('form'); 
    4445 
    4546            $_input 
    4647                .val( ( flag ) ? 'false' : 'true' ) 
    4748                .attr( 'checked', ( flag ) ? false : true ) 
    48                 .trigger('change'); 
     49                .trigger( 'change' ); 
    4950 
    5051            if ( ! jQuery.isEmptyObject( data ) ) { 
     
    5556 
    5657    CherryJsCore.ui_elements.checkbox.init(); 
    57 }(jQuery, window.CherryJsCore)); 
     58} ( jQuery, window.CherryJsCore ) ); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js

    r1534882 r1560493  
    1 !function(e,i){"use strict";i.utilites.namespace("ui_elements.iconpicker"),i.ui_elements.iconpicker={init:function(){e(document).on("ready",this.render).on("cherry-ui-elements-init",this.render)},render:function(i){var n,t,c,r=i._target?i._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',r);o.each(function(){n=e(this),t=n.data("set"),c=window[t],n.length&&c.icons&&n.iconpicker({icons:c.icons,iconBaseClass:c.iconBase,iconClassPrefix:c.iconPrefix,animation:!1,fullClassFormatter:function(e){return c.iconBase+" "+c.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),c&&e("body").append('<link rel="stylesheet" type="text/css" href="'+c.iconCSS+'"">')})}},i.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore); 
     1!function(e,i){"use strict";i.utilites.namespace("ui_elements.iconpicker"),i.ui_elements.iconpicker={init:function(){e(document).on("ready",this.render).on("cherry-ui-elements-init",this.render)},render:function(i){var n,t,c,r=i._target?i._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',r);o.each(function(){n=e(this),t=n.data("set"),c=window[t],n.length&&c.icons&&n.iconpicker({icons:c.icons,iconBaseClass:c.iconBase,iconClassPrefix:c.iconPrefix,animation:!1,fullClassFormatter:function(e){return c.iconBase+" "+c.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),c&&e("head").append('<link rel="stylesheet" type="text/css" href="'+c.iconCSS+'"">')})}},i.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js

    r1534882 r1560493  
    3939 
    4040                    if ( setData ) { 
    41                         $( 'body' ).append( '<link rel="stylesheet" type="text/css" href="' + setData.iconCSS + '"">' ); 
     41                        $( 'head' ).append( '<link rel="stylesheet" type="text/css" href="' + setData.iconCSS + '"">' ); 
    4242                    } 
    4343                } ); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js

    r1534882 r1560493  
    1 /** 
    2  * Media 
    3  */ 
    4 (function( $, CherryJsCore){ 
    5     'use strict'; 
    6  
    7     CherryJsCore.utilites.namespace('ui_elements.media'); 
    8     CherryJsCore.ui_elements.media = { 
    9         init: function () { 
    10             $( document ) 
    11                 .on( 'ready', this.render ) 
    12                 .on( 'cherry-ui-elements-init', this.render ); 
    13         }, 
    14         render: function ( event ) { 
    15             var target = ( event._target ) ? event._target : $( 'body' ), 
    16                 buttons = $('.cherry-upload-button', target); 
    17  
    18             buttons.each( function() { 
    19                 var button = $( this ), 
    20                     button_parent = button.closest('.cherry-ui-media-wrap'), 
    21                     settings = { 
    22                         input: $('.cherry-upload-input', button_parent), 
    23                         img_holder: $('.cherry-upload-preview', button_parent), 
    24                         title_text: button.data('title'), 
    25                         multiple: button.data('multi-upload'), 
    26                         library_type: button.data('library-type'), 
    27                     }, 
    28                     cherry_uploader = wp.media.frames.file_frame = wp.media({ 
    29                         title: settings.title_text, 
    30                         button: { text: settings.title_text }, 
    31                         multiple: settings.multiple, 
    32                         library : { type : settings.library_type } 
    33                     }); 
    34  
    35                 if ( ! button_parent.has('input[name*="__i__"]')[ 0 ] ) { 
    36                     button.on( 'click', function() { 
    37                         cherry_uploader.open(); 
    38                         return !1; 
    39                     } ); // end click 
    40  
    41                     cherry_uploader.on('select', function() { 
    42                             var attachment = cherry_uploader.state().get('selection').toJSON(), 
    43                                 count = 0, 
    44                                 input_value = '', 
    45                                 new_img_object = $('.cherry-all-images-wrap', settings.img_holder), 
    46                                 new_img = '', 
    47                                 delimiter = ''; 
    48  
    49                             if ( settings.multiple ) { 
    50                                 input_value = settings.input.val(); 
    51                                 delimiter = ','; 
    52                                 new_img = new_img_object.html(); 
    53                             } 
    54  
    55                             while( attachment[ count ] ) { 
    56                                 var img_data = attachment[count], 
    57                                     return_data = img_data.id, 
    58                                     mimeType = img_data.mime, 
    59                                     img_src = '', 
    60                                     thumb = ''; 
    61  
    62                                     switch (mimeType) { 
    63                                         case 'image/jpeg': 
    64                                         case 'image/png': 
    65                                         case 'image/gif': 
    66                                                 if( img_data.sizes !== undefined){ 
    67                                                     img_src = img_data.sizes.thumbnail ? img_data.sizes.thumbnail.url : img_data.sizes.full.url; 
    68                                                 } 
    69                                                 thumb = '<img  src="' + img_src + '" alt="" data-img-attr="'+return_data+'">'; 
    70                                             break; 
    71                                         case 'image/x-icon': 
    72                                                 thumb = '<span class="dashicons dashicons-format-image"></span>'; 
    73                                             break; 
    74                                         case 'video/mpeg': 
    75                                         case 'video/mp4': 
    76                                         case 'video/quicktime': 
    77                                         case 'video/webm': 
    78                                         case 'video/ogg': 
    79                                                 thumb = '<span class="dashicons dashicons-format-video"></span>'; 
    80                                             break; 
    81                                         case 'audio/mpeg': 
    82                                         case 'audio/wav': 
    83                                         case 'audio/ogg': 
    84                                                 thumb = '<span class="dashicons dashicons-format-audio"></span>'; 
    85                                             break; 
    86                                     } 
    87  
    88                                     new_img += '<div class="cherry-image-wrap">'+ 
    89                                                 '<div class="inner">'+ 
    90                                                     '<div class="preview-holder"  data-id-attr="' + return_data +'"><div class="centered">' + thumb + '</div></div>'+ 
    91                                                     '<a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a>'+ 
    92                                                     '<span class="title">' + img_data.title + '</span>'+ 
    93                                                 '</div>'+ 
    94                                             '</div>'; 
    95  
    96                                 input_value += delimiter+return_data; 
    97                                 count++; 
    98                             } 
    99  
    100                             settings.input.val(input_value.replace(/(^,)/, '')).trigger( 'change' ); 
    101                             new_img_object.html(new_img); 
    102                         } ); 
    103  
    104                     var removeMediaPreview = function( item ) { 
    105                         var button_parent = item.closest('.cherry-ui-media-wrap'), 
    106                             input = $('.cherry-upload-input', button_parent), 
    107                             img_holder = item.parent().parent('.cherry-image-wrap'), 
    108                             img_attr = $('.preview-holder', img_holder).data('id-attr'), 
    109                             input_value = input.attr('value'), 
    110                             pattern = new RegExp(''+img_attr+'(,*)', 'i'); 
    111  
    112                             input_value = input_value.replace(pattern, ''); 
    113                             input_value = input_value.replace(/(,$)/, ''); 
    114                             input.attr({'value':input_value}).trigger( 'change' ); 
    115                             img_holder.remove(); 
    116                     }; 
    117  
    118                     // This function remove upload image 
    119                     button_parent.on('click', '.cherry-remove-image', function () { 
    120                         removeMediaPreview( $(this) ); 
    121                         return !1; 
    122                     }); 
    123                 } 
    124             } ); // end each 
    125  
    126             // Image ordering 
    127             $('.cherry-all-images-wrap', target).sortable( { 
    128                 items: 'div.cherry-image-wrap', 
    129                 cursor: 'move', 
    130                 scrollSensitivity: 40, 
    131                 forcePlaceholderSize: true, 
    132                 forceHelperSize: false, 
    133                 helper: 'clone', 
    134                 opacity: 0.65, 
    135                 placeholder: 'cherry-media-thumb-sortable-placeholder', 
    136                 start:function(){}, 
    137                 stop:function(){}, 
    138                 update: function() { 
    139                     var attachment_ids = ''; 
    140                         $('.cherry-image-wrap', this).each( 
    141                             function() { 
    142                                 var attachment_id = $('.preview-holder', this).data( 'id-attr' ); 
    143                                     attachment_ids = attachment_ids + attachment_id + ','; 
    144                             } 
    145                         ); 
    146                         attachment_ids = attachment_ids.substr(0, attachment_ids.lastIndexOf(',') ); 
    147                         $(this).parent().siblings('.cherry-element-wrap').find('input.cherry-upload-input').val( attachment_ids ).trigger( 'change' ); 
    148                 } 
    149             } ); 
    150             // End Image ordering 
    151         } 
    152     }; 
    153  
    154     CherryJsCore.ui_elements.media.init(); 
    155  
    156 }( jQuery , window.CherryJsCore ) ); 
     1!function(e,a){"use strict";a.utilites.namespace("ui_elements.media"),a.ui_elements.media={init:function(){e(document).on("ready",this.render).on("cherry-ui-elements-init",this.render)},render:function(a){console.log("media");var i=a._target?a._target:e("body"),r=e(".cherry-upload-button",i);r.each(function(){var a=e(this),i=a.closest(".cherry-ui-media-wrap"),r={input:e(".cherry-upload-input",i),img_holder:e(".cherry-upload-preview",i),title_text:a.data("title"),multiple:a.data("multi-upload"),library_type:a.data("library-type")},t=wp.media.frames.file_frame=wp.media({title:r.title_text,button:{text:r.title_text},multiple:r.multiple,library:{type:r.library_type}});if(!i.has('input[name*="__i__"]')[0]){a.off("click.cherry-media").on("click.cherry-media",function(){return t.open(),!1}),t.on("select",function(){var a=t.state().get("selection").toJSON(),i=0,s="",c=e(".cherry-all-images-wrap",r.img_holder),n="",l="";for(r.multiple&&(s=r.input.val(),l=",",n=c.html());a[i];){var o=a[i],d=o.id,p=o.mime,m="",u="";switch(p){case"image/jpeg":case"image/png":case"image/gif":void 0!==o.sizes&&(m=o.sizes.thumbnail?o.sizes.thumbnail.url:o.sizes.full.url),u='<img  src="'+m+'" alt="" data-img-attr="'+d+'">';break;case"image/x-icon":u='<span class="dashicons dashicons-format-image"></span>';break;case"video/mpeg":case"video/mp4":case"video/quicktime":case"video/webm":case"video/ogg":u='<span class="dashicons dashicons-format-video"></span>';break;case"audio/mpeg":case"audio/wav":case"audio/ogg":u='<span class="dashicons dashicons-format-audio"></span>'}n+='<div class="cherry-image-wrap"><div class="inner"><div class="preview-holder"  data-id-attr="'+d+'"><div class="centered">'+u+'</div></div><a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a><span class="title">'+o.title+"</span></div></div>",s+=l+d,i++}r.input.val(s.replace(/(^,)/,"")).trigger("change"),c.html(n)});var s=function(a){var i=a.closest(".cherry-ui-media-wrap"),r=e(".cherry-upload-input",i),t=a.parent().parent(".cherry-image-wrap"),s=e(".preview-holder",t).data("id-attr"),c=r.attr("value"),n=new RegExp(""+s+"(,*)","i");c=c.replace(n,""),c=c.replace(/(,$)/,""),r.attr({value:c}).trigger("change"),t.remove()};i.on("click",".cherry-remove-image",function(){return s(e(this)),!1})}}),e(".cherry-all-images-wrap",i).sortable({items:"div.cherry-image-wrap",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,placeholder:"cherry-media-thumb-sortable-placeholder",start:function(){},stop:function(){},update:function(){var a="";e(".cherry-image-wrap",this).each(function(){var i=e(".preview-holder",this).data("id-attr");a=a+i+","}),a=a.substr(0,a.lastIndexOf(",")),e(this).parent().siblings(".cherry-element-wrap").find("input.cherry-upload-input").val(a).trigger("change")}})}},a.ui_elements.media.init()}(jQuery,window.CherryJsCore); 
  • cherry-testi/trunk/cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js

    r1534882 r1560493  
    1313        }, 
    1414        render: function ( event ) { 
     15            console.log('media'); 
    1516            var target = ( event._target ) ? event._target : $( 'body' ), 
    1617                buttons = $('.cherry-upload-button', target); 
     
    3435 
    3536                if ( ! button_parent.has('input[name*="__i__"]')[ 0 ] ) { 
    36                     button.on( 'click', function() { 
     37                    button.off( 'click.cherry-media' ).on( 'click.cherry-media', function() { 
    3738                        cherry_uploader.open(); 
    3839                        return !1; 
  • cherry-testi/trunk/public/assets/js/public.js

    r1534882 r1560493  
    1212                    prevButton: '#tm-testi-slider-prev-' + atts.id, 
    1313                    paginationClickable: true, 
    14                     autoHeight: false, 
    15                     breakpoints: { 
    16                         991: { 
    17                             slidesPerView: 2 
    18                         }, 
    19                         767: { 
    20                             slidesPerView: 1 
    21                         } 
    22                     } 
     14                    autoHeight: false 
    2315                }, 
    2416                swiper = null, 
  • cherry-testi/trunk/public/assets/js/public.min.js

    r1534882 r1560493  
    1 !function(i){"use strict";i(function(){i(".tm-testi-slider").each(function(){var t,e=i(this),n=e.data("atts"),s={pagination:"#tm-testi-slider-pagination-"+n.id,nextButton:"#tm-testi-slider-next-"+n.id,prevButton:"#tm-testi-slider-prev-"+n.id,paginationClickable:!0,autoHeight:!1,breakpoints:{991:{slidesPerView:2},767:{slidesPerView:1}}},a=null;if("undefined"!==n)for(t in n)s[t]=n[t];a=new Swiper(e,s)})})}(jQuery); 
     1!function(t){"use strict";t(function(){t(".tm-testi-slider").each(function(){var i,e=t(this),n=e.data("atts"),a={pagination:"#tm-testi-slider-pagination-"+n.id,nextButton:"#tm-testi-slider-next-"+n.id,prevButton:"#tm-testi-slider-prev-"+n.id,paginationClickable:!0,autoHeight:!1},s=null;if("undefined"!==n)for(i in n)a[i]=n[i];s=new Swiper(e,a)})})}(jQuery); 
  • cherry-testi/trunk/public/includes/class-tm-testimonials-shortcode.php

    r1534882 r1560493  
    169169        } 
    170170 
     171        // Fix slides_per_view 
     172        foreach ( array( 'slides_per_view', 'slides_per_view_laptop', 'slides_per_view_tablet', 'slides_per_view_phone' ) as $val ) { 
     173            $atts[ $val ] = ( 0 !== intval( $atts[ $val ] ) ) ? intval( $atts[ $val ] ) : 1; 
     174        } 
     175 
     176        // Fix space_between 
     177        foreach ( array( 'space_between', 'space_between_laptop', 'space_between_tablet', 'space_between_phone' ) as $val ) { 
     178            $atts[ $val ] = ( 0 !== intval( $atts[ $val ] ) ) ? intval( $atts[ $val ] ) : 15; 
     179        } 
     180 
    171181        $atts['data_atts'] = apply_filters( 'tm_testimonials_slider_data_atts', array( 
    172182            'autoplay'      => intval( $atts['autoplay'] ), 
    173183            'effect'        => sanitize_key( $atts['effect'] ), 
    174184            'loop'          => (bool) $atts['loop'], 
    175             'slidesPerView' => intval( $atts['slides_per_view'] ), 
    176             'spaceBetween'  => intval( $atts['space_between'] ), 
     185            'slidesPerView' => $atts['slides_per_view'], 
     186            'spaceBetween'  => $atts['space_between'], 
     187            'breakpoints'   => array( 
     188                '1199' => array( 
     189                    'slidesPerView' => $atts['slides_per_view_laptop'], 
     190                    'spaceBetween'  => $atts['space_between_laptop'], 
     191                ), 
     192                '991' => array( 
     193                    'slidesPerView' => $atts['slides_per_view_tablet'], 
     194                    'spaceBetween'  => $atts['space_between_tablet'], 
     195                ), 
     196                '767' => array( 
     197                    'slidesPerView' => $atts['slides_per_view_phone'], 
     198                    'spaceBetween'  => $atts['space_between_phone'], 
     199                ), 
     200            ), 
    177201        ), $defaults, $atts ); 
    178202 
     
    214238                'default' => 'list', 
    215239                'name'    => esc_html__( 'Type', 'cherry-testi' ), 
    216                 'desc'    => esc_html__( 'Layout type', 'cherry-testi' ), 
     240                'desc'    => esc_html__( 'Layout type (`list` or `slider`)', 'cherry-testi' ), 
    217241            ), 
    218242            'sup_title' => array( 
     
    244268                'default' => 'DESC', 
    245269                'name'    => esc_html__( 'Order', 'cherry-testi' ), 
    246                 'desc'    => esc_html__( 'Testimonials order', 'cherry-testi' ), 
     270                'desc'    => esc_html__( 'Testimonials order (`DESC` or `ASC`)', 'cherry-testi' ), 
    247271            ), 
    248272            'category' => array( 
     
    316340                'desc'    => esc_html__( 'Show navigation (only for slider)', 'cherry-testi' ), 
    317341            ), 
     342            'slides_per_view_phone' => array( 
     343                'default' => 1, 
     344                'name'    => esc_html__( 'Number of slides per view on phones', 'cherry-testi' ), 
     345                'desc'    => esc_html__( "Slides visible at the same time on slider's containe (only for slider on phones)", 'cherry-testi' ), 
     346            ), 
     347            'slides_per_view_tablet' => array( 
     348                'default' => 1, 
     349                'name'    => esc_html__( 'Number of slides per view on tablets', 'cherry-testi' ), 
     350                'desc'    => esc_html__( "Slides visible at the same time on slider's containe (only for slider on tablets)", 'cherry-testi' ), 
     351            ), 
     352            'slides_per_view_laptop' => array( 
     353                'default' => 1, 
     354                'name'    => esc_html__( 'Number of slides per view on laptops', 'cherry-testi' ), 
     355                'desc'    => esc_html__( "Slides visible at the same time on slider's containe (only for slider on laptops)", 'cherry-testi' ), 
     356            ), 
    318357            'slides_per_view' => array( 
    319358                'default' => 1, 
    320                 'name'    => esc_html__( 'Number of slides per view', 'cherry-testi' ), 
    321                 'desc'    => esc_html__( "Slides visible at the same time on slider's containe (only for slider)", 'cherry-testi' ), 
     359                'name'    => esc_html__( 'Number of slides per view on desktops', 'cherry-testi' ), 
     360                'desc'    => esc_html__( "Slides visible at the same time on slider's containe (only for slider on desktops)", 'cherry-testi' ), 
     361            ), 
     362            'space_between_phone' => array( 
     363                'default' => 15, 
     364                'name'    => esc_html__( 'Space between on phones', 'cherry-testi' ), 
     365                'desc'    => esc_html__( 'Distance between slides in px (only for slider on phones)', 'cherry-testi' ), 
     366            ), 
     367            'space_between_tablet' => array( 
     368                'default' => 15, 
     369                'name'    => esc_html__( 'Space between on tablets', 'cherry-testi' ), 
     370                'desc'    => esc_html__( 'Distance between slides in px (only for slider on tablets)', 'cherry-testi' ), 
     371            ), 
     372            'space_between_laptop' => array( 
     373                'default' => 15, 
     374                'name'    => esc_html__( 'Space between on laptops', 'cherry-testi' ), 
     375                'desc'    => esc_html__( 'Distance between slides in px (only for slider on laptops)', 'cherry-testi' ), 
    322376            ), 
    323377            'space_between' => array( 
    324378                'default' => 15, 
    325379                'name'    => esc_html__( 'Space between', 'cherry-testi' ), 
    326                 'desc'    => esc_html__( 'Distance between slides in px (only for slider)', 'cherry-testi' ), 
     380                'desc'    => esc_html__( 'Distance between slides in px (only for slider on desktops)', 'cherry-testi' ), 
    327381            ), 
    328382            'template' => array( 
  • cherry-testi/trunk/readme.txt

    r1536275 r1560493  
    33Tags: testimonials, reviews, custom post type, slider, swiper, cherry framework 
    44Requires at least: 4.5 
    5 Tested up to: 4.6.1 
    6 Stable tag: 1.0.0 
     5Tested up to: 4.7 
     6Stable tag: 1.0.1 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    6464* Initial release 
    6565 
     66= 1.0.1 = 
     67* UPD: slider settings for devices 
     68* UPD: parameters list 
     69* UPD: cherry-framework to 1.3.1 version 
     70 
    6671== Documentation == 
    6772 
  • cherry-testi/trunk/testimonials.php

    r1534882 r1560493  
    22/** 
    33 * Plugin Name: Cherry Testimonials 
    4  * Plugin URI:  https://github.com/CherryFramework/cherry-testi 
     4 * Plugin URI:  http://www.cherryframework.com/plugins/ 
    55 * Description: A testimonials management plugin for WordPress. 
    6  * Version:     1.0.0 
     6 * Version:     1.0.1 
    77 * Author:      Template Monster 
    8  * Author URI:  http://www.templatemonster.com/ 
     8 * Author URI:  http://www.cherryframework.com/ 
    99 * Text Domain: cherry-testi 
    1010 * License:     GPL-3.0+ 
     
    6969 
    7070            // Set up a Cherry core. 
    71             add_action( 'after_setup_theme', require( trailingslashit( __DIR__ ) . 'cherry-framework/setup.php' ), 0 ); 
     71            add_action( 'after_setup_theme', require( trailingslashit( dirname( __FILE__ ) ) . 'cherry-framework/setup.php' ), 0 ); 
    7272            add_action( 'after_setup_theme', array( $this, 'get_core' ), 1 ); 
    7373            add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 ); 
     
    105105             * @since 1.0.0 
    106106             */ 
    107             define( 'TM_TESTI_VERSION', '1.0.0' ); 
     107            define( 'TM_TESTI_VERSION', '1.0.1' ); 
    108108 
    109109            /** 
     
    230230            wp_enqueue_style( 'cherry-testi', plugins_url( 'public/assets/css/style.css', __FILE__ ), array( 'jquery-swiper' ), TM_TESTI_VERSION ); 
    231231 
    232             wp_register_script( 'jquery-swiper', plugins_url( 'includes/swiper/js/swiper.jquery.min.js', __FILE__ ), array( 'jquery' ), '3.3.1', true ); 
     232            wp_register_script( 'jquery-swiper', plugins_url( "includes/swiper/js/swiper.jquery{$min}.js", __FILE__ ), array( 'jquery' ), '3.3.1', true ); 
    233233            wp_register_script( 'cherry-testi-public', plugins_url( "public/assets/js/public{$min}.js", __FILE__ ), array( 'jquery-swiper' ), TM_TESTI_VERSION, true ); 
    234234        } 
Note: See TracChangeset for help on using the changeset viewer.