Skip to content

Commit

Permalink
v4.1.18 build
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeo committed Oct 11, 2018
1 parent 43154d6 commit c66976c
Show file tree
Hide file tree
Showing 86 changed files with 7,492 additions and 7,510 deletions.
2 changes: 1 addition & 1 deletion assets/front/js/_front_js_fmk
3 changes: 2 additions & 1 deletion assets/front/js/main-ccat.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ var czrapp = czrapp || {};
czrapp.errorLog( 'setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : ' + _event.actions.join(',') );
return;
}
args.dom_el.on( _event.trigger , _event.selector, function( e, event_params ) {
var once = _event.once ? _event.once : false;
args.dom_el[ once ? 'one' : 'on' ]( _event.trigger , _event.selector, function( e, event_params ) {
e.stopPropagation();
if ( czrapp.isKeydownButNotEnterEvent( e ) ) {
return;
Expand Down
3 changes: 2 additions & 1 deletion assets/front/js/tc-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,8 @@ https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
czrapp.errorLog( 'setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : ' + _event.actions.join(',') );
return;
}
args.dom_el.on( _event.trigger , _event.selector, function( e, event_params ) {
var once = _event.once ? _event.once : false;
args.dom_el[ once ? 'one' : 'on' ]( _event.trigger , _event.selector, function( e, event_params ) {
e.stopPropagation();
if ( czrapp.isKeydownButNotEnterEvent( e ) ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion assets/front/js/tc-scripts.min.js

Large diffs are not rendered by default.

38 changes: 21 additions & 17 deletions core/czr-admin-ccat.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,13 @@ function czr_fn_may_be_display_update_notice() {
if ( ( defined('DISPLAY_UPDATE_NOTIFICATION') && ! DISPLAY_UPDATE_NOTIFICATION ) || ( defined('DISPLAY_PRO_UPDATE_NOTIFICATION') && ! DISPLAY_PRO_UPDATE_NOTIFICATION ) )
return;

if ( ! czr_fn_is_plugin_active('nimble-builder/nimble-builder.php') && class_exists('TGM_Plugin_Activation') && ! TGM_Plugin_Activation::get_instance()->czr_fn_is_notice_dismissed() )
return;

$opt_name = CZR_IS_PRO ? 'last_update_notice_pro' : 'last_update_notice';
$last_update_notice_values = czr_fn_opt($opt_name);
$show_new_notice = false;
$display_ct = 50;

if ( ! $last_update_notice_values || ! is_array($last_update_notice_values) ) {
//first time user of the theme, the option does not exist
Expand All @@ -341,26 +345,26 @@ function czr_fn_may_be_display_update_notice() {
$_db_version = $last_update_notice_values["version"];
$_db_displayed_count = $last_update_notice_values["display_count"];

//user who just upgraded the theme will be notified until he clicks on the dismiss link
//when clicking on the dismiss link OR when the notice has been displayed 5 times.
// user who just upgraded the theme will be notified until he clicks on the dismiss link
// when clicking on the dismiss link OR when the notice has been displayed n times.
// - version will be set to CUSTOMIZR_VER
// - display_count reset to 0
if ( version_compare( CUSTOMIZR_VER, $_db_version , '>' ) ) {
//CASE 1 : displayed less than 5 times
if ( $_db_displayed_count < 5 ) {
$show_new_notice = true;
//increments the counter
(int) $_db_displayed_count++;
$last_update_notice_values["display_count"] = $_db_displayed_count;
//updates the option val with the new count
czr_fn_set_option( $opt_name, $last_update_notice_values );
}
//CASE 2 : displayed 5 times => automatic dismiss
else {
//reset option value with new version and counter to 0
$new_val = array( "version" => CUSTOMIZR_VER, "display_count" => 0 );
czr_fn_set_option( $opt_name, $new_val );
}//end else
//CASE 1 : displayed less than n times
if ( $_db_displayed_count < $display_ct ) {
$show_new_notice = true;
//increments the counter
(int) $_db_displayed_count++;
$last_update_notice_values["display_count"] = $_db_displayed_count;
//updates the option val with the new count
czr_fn_set_option( $opt_name, $last_update_notice_values );
}
//CASE 2 : displayed n times => automatic dismiss
else {
//reset option value with new version and counter to 0
$new_val = array( "version" => CUSTOMIZR_VER, "display_count" => 0 );
czr_fn_set_option( $opt_name, $new_val );
}//end else
}//end if

if ( ! $show_new_notice )
Expand Down
17 changes: 10 additions & 7 deletions core/czr-base-fmk/assets/js/_0_ccat_czr-base-fmk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3738,13 +3738,16 @@ $.extend( CZRModuleMths, {
});
}

api.section( module.control.section() ).expanded.bind(function(to) {
//set module ready on section expansion
if ( 'resolved' != module.isReady.state() ) {
module.embedded.then( function() {
module.ready();
});
}
// defer the expanded callback when the section is instantiated
api.section( module.control.section(), function( _section_ ) {
_section_.expanded.bind(function(to) {
//set module ready on section expansion
if ( 'resolved' != module.isReady.state() ) {
module.embedded.then( function() {
module.ready();
});
}
});
});
}

Expand Down
2 changes: 1 addition & 1 deletion core/czr-base-fmk/assets/js/_0_ccat_czr-base-fmk.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inc/assets/css/black.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/black.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/black2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/black2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/blue.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/blue.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/blue2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/blue2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/blue3.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/blue3.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/green.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/green.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/green2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/green2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/grey.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/grey.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/grey2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/grey2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/orange.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/orange.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/orange2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/orange2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/purple.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/purple.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/purple2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/purple2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/red.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/red.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/red2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/red2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/rtl/tc_common.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/rtl/tc_common.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/tc_common.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/tc_common.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/yellow.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/yellow.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/assets/css/yellow2.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/css/yellow2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion inc/assets/js/main-ccat.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ var czrapp = czrapp || {};
czrapp.errorLog( 'setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : ' + _event.actions.join(',') );
return;
}
args.dom_el.on( _event.trigger , _event.selector, function( e, event_params ) {
var once = _event.once ? _event.once : false;
args.dom_el[ once ? 'one' : 'on' ]( _event.trigger , _event.selector, function( e, event_params ) {
e.stopPropagation();
if ( czrapp.isKeydownButNotEnterEvent( e ) ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/js/main-ccat.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inc/assets/js/tc-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4099,7 +4099,8 @@ https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
czrapp.errorLog( 'setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : ' + _event.actions.join(',') );
return;
}
args.dom_el.on( _event.trigger , _event.selector, function( e, event_params ) {
var once = _event.once ? _event.once : false;
args.dom_el[ once ? 'one' : 'on' ]( _event.trigger , _event.selector, function( e, event_params ) {
e.stopPropagation();
if ( czrapp.isKeydownButNotEnterEvent( e ) ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion inc/assets/js/tc-scripts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inc/assets/less/bootstrap.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Customizr v4.1.17
* Customizr v4.1.18
*
* Licensed under the GNU General Public License v2 or later
* http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
Loading

0 comments on commit c66976c

Please sign in to comment.