desc_back ); ?>
diff --git a/modules/image-separator/image-separator.php b/modules/image-separator/image-separator.php
index 24abd5d3..6738706c 100644
--- a/modules/image-separator/image-separator.php
+++ b/modules/image-separator/image-separator.php
@@ -102,7 +102,7 @@ public function crop() {
$this->delete();
// Do a crop.
- if ( ! empty( $this->settings->image_style ) && 'simple' != $this->settings->image_style && 'custom' != $this->settings->image_style ) {
+ if ( ! empty( $this->settings->image_style ) && 'simple' !== $this->settings->image_style && 'custom' !== $this->settings->image_style ) {
$editor = $this->_get_editor();
@@ -116,10 +116,10 @@ public function crop() {
$new_height = $size['height'];
// Get the crop ratios.
- if ( 'circle' == $this->settings->image_style ) {
+ if ( 'circle' === $this->settings->image_style ) {
$ratio_1 = 1;
$ratio_2 = 1;
- } elseif ( 'square' == $this->settings->image_style ) {
+ } elseif ( 'square' === $this->settings->image_style ) {
$ratio_1 = 1;
$ratio_2 = 1;
}
@@ -190,7 +190,7 @@ public function get_classes() {
foreach ( $data->sizes as $key => $size ) {
- if ( $size->url == $this->settings->photo_src ) {
+ if ( $size->url === $this->settings->photo_src ) {
$classes[] = 'size-' . $key;
break;
}
@@ -367,13 +367,13 @@ public function filter_settings( $settings, $helper ) {
$page_migrated = UABB_Lite_Compatibility::check_old_page_migration();
$stable_version_new_page = UABB_Lite_Compatibility::check_stable_version_new_page();
- if ( $version_bb_check && ( 'yes' == $page_migrated || 'yes' == $stable_version_new_page ) ) {
+ if ( $version_bb_check && ( 'yes' === $page_migrated || 'yes' === $stable_version_new_page ) ) {
// Handle opacity fields.
$helper->handle_opacity_inputs( $settings, 'img_bg_color_opc', 'img_bg_color' );
$helper->handle_opacity_inputs( $settings, 'img_bg_hover_color_opc', 'img_bg_hover_color' );
- } elseif ( $version_bb_check && 'yes' != $page_migrated ) {
+ } elseif ( $version_bb_check && 'yes' !== $page_migrated ) {
// Handle opacity fields.
$helper->handle_opacity_inputs( $settings, 'img_bg_color_opc', 'img_bg_color' );
diff --git a/modules/image-separator/includes/frontend.css.php b/modules/image-separator/includes/frontend.css.php
index 524d562e..2c7d5413 100644
--- a/modules/image-separator/includes/frontend.css.php
+++ b/modules/image-separator/includes/frontend.css.php
@@ -14,30 +14,30 @@
?>
gutter = ( '' != $settings->gutter ) ? $settings->gutter : '50';
- $settings->gutter_lr = ( '' != $settings->gutter_lr ) ? $settings->gutter_lr : '50';
+ $settings->gutter = ( '' !== $settings->gutter ) ? $settings->gutter : '50';
+ $settings->gutter_lr = ( '' !== $settings->gutter_lr ) ? $settings->gutter_lr : '50';
?>
.fl-node- {
max-width: 100%;
img_size ) ) :
- $margin_left = '' != $settings->margin_left ? $settings->margin_left : '20';
- $margin_right = '' != $settings->margin_right ? $settings->margin_right : '20';
+ $margin_left = '' !== $settings->margin_left ? $settings->margin_left : '20';
+ $margin_right = '' !== $settings->margin_right ? $settings->margin_right : '20';
?>
width: img_size ) + $margin_left + $margin_right; ?>px;
}
-image_position ) { ?>
+image_position ) { ?>
.fl-node- {
bottom: 0;
top: auto;
- image_position_lr ) { ?>
+ image_position_lr ) { ?>
left: gutter_lr ); ?>%;
right: auto;
-webkit-transform: translate(0%, gutter ); ?>%);
-moz-transform: translate(0%, gutter ); ?>%);
transform: translate(0%, gutter ); ?>%);
- image_position_lr ) { ?>
+ image_position_lr ) { ?>
right: gutter_lr ); ?>%;
left: auto;
-webkit-transform: translate(0%, gutter ); ?>%);
@@ -51,17 +51,17 @@
}
-image_position ) { ?>
+image_position ) { ?>
.fl-node- {
top: 0;
bottom: auto;
- image_position_lr ) { ?>
+ image_position_lr ) { ?>
left: gutter_lr ); ?>%;
right: auto;
-webkit-transform: translate(0%, -gutter ); ?>%);
-moz-transform: translate(0%, -gutter ); ?>%);
transform: translate(0%, -gutter ); ?>%);
- image_position_lr ) { ?>
+ image_position_lr ) { ?>
right: gutter_lr ); ?>%;
left: auto;
-webkit-transform: translate(0%, -gutter ); ?>%);
@@ -83,9 +83,9 @@
- image_style ) : ?>
+ image_style ) : ?>
- img_border_style ) : ?>
+ img_border_style ) : ?>
border-style: img_border_style ); ?>;
@@ -95,7 +95,7 @@
padding: img_bg_size ); ?>px;
- border-width: img_border_width ) ? esc_attr( $settings->img_border_width ) : '1'; ?>px;
+ border-width: img_border_width ) ? esc_attr( $settings->img_border_width ) : '1'; ?>px;
img_border_color ) ) : ?>
border-color: img_border_color ); ?>;
@@ -108,11 +108,11 @@
/* Responsive Photo Size */
responsive_enabled ) { // Global Setting If started. ?>
@media ( max-width: medium_breakpoint ) . 'px'; ?> ) {
- medium_img_size ) { ?>
+ medium_img_size ) { ?>
.fl-node- {
margin_left ? $settings->margin_left : '20';
- $margin_right = '' != $settings->margin_right ? $settings->margin_right : '20';
+ $margin_left = '' !== $settings->margin_left ? $settings->margin_left : '20';
+ $margin_right = '' !== $settings->margin_right ? $settings->margin_right : '20';
?>
width: medium_img_size ) + $margin_left + $margin_right; ?>px;
@@ -124,8 +124,8 @@
image_position_lr || 'right' == $settings->image_position_lr ) && 'both' == $settings->responsive_center ) {
- if ( 'bottom' == $settings->image_position ) {
+ if ( ( 'left' === $settings->image_position_lr || 'right' === $settings->image_position_lr ) && 'both' === $settings->responsive_center ) {
+ if ( 'bottom' === $settings->image_position ) {
?>
.fl-node- {
/*bottom: 0;
@@ -137,7 +137,7 @@
transform: translate(-50%, 50%);
}
image_position ) {
+ } elseif ( 'top' === $settings->image_position ) {
?>
.fl-node- {
/*bottom: 0;
@@ -155,11 +155,11 @@
}
@media ( max-width: responsive_breakpoint ) . 'px'; ?> ) {
- small_img_size ) { ?>
+ small_img_size ) { ?>
.fl-node- {
margin_left ? $settings->margin_left : '20';
- $margin_right = '' != $settings->margin_right ? $settings->margin_right : '20';
+ $margin_left = '' !== $settings->margin_left ? $settings->margin_left : '20';
+ $margin_right = '' !== $settings->margin_right ? $settings->margin_right : '20';
?>
width: small_img_size + $margin_left ) + $margin_right; ?>px;
@@ -171,8 +171,8 @@
image_position_lr || 'right' == $settings->image_position_lr ) && 'small' == $settings->responsive_center ) {
- if ( 'bottom' == $settings->image_position ) {
+ if ( ( 'left' === $settings->image_position_lr || 'right' === $settings->image_position_lr ) && 'small' === $settings->responsive_center ) {
+ if ( 'bottom' === $settings->image_position ) {
?>
.fl-node- {
/*bottom: 0;
@@ -184,7 +184,7 @@
transform: translate(-50%, 50%);
}
image_position ) {
+ } elseif ( 'top' === $settings->image_position ) {
?>
.fl-node- {
right: auto;
@@ -202,7 +202,7 @@
/* Animation CSS */
-img_animation_repeat && '0' != $settings->img_animation_repeat && '1' != $settings->img_animation_repeat ) { ?>
+img_animation_repeat && '0' !== $settings->img_animation_repeat && '1' !== $settings->img_animation_repeat ) { ?>
.fl-node- .animated {
-webkit-animation-iteration-count: img_animation_repeat ); ?>;
animation-iteration-count: img_animation_repeat ); ?>;
@@ -211,7 +211,7 @@
.fl-node- .imgseparator-link:hover ~ .uabb-image .uabb-photo-img {
- image_style ) : ?>
+ image_style ) : ?>
img_bg_hover_color ) ) : ?>
background: img_bg_hover_color ); ?>;
diff --git a/modules/image-separator/includes/frontend.js.php b/modules/image-separator/includes/frontend.js.php
index c4f2e5e1..5236d668 100644
--- a/modules/image-separator/includes/frontend.js.php
+++ b/modules/image-separator/includes/frontend.js.php
@@ -13,9 +13,9 @@
new UABBAnimation({
id: '',
- animation_delay: 'img_animation_delay && '0' != $settings->img_animation_delay ) ? esc_attr( $settings->img_animation_delay ) : ''; ?>',
- animation: 'img_animation ) ? 'no' : 'animated ' . esc_attr( $settings->img_animation ); ?>',
- viewport_position: 'img_viewport_position ) ? esc_attr( $settings->img_viewport_position ) : '90'; ?>'
+ animation_delay: 'img_animation_delay && '0' !== $settings->img_animation_delay ) ? esc_attr( $settings->img_animation_delay ) : ''; ?>',
+ animation: 'img_animation ) ? 'no' : 'animated ' . esc_attr( $settings->img_animation ); ?>',
+ viewport_position: 'img_viewport_position ) ? esc_attr( $settings->img_viewport_position ) : '90'; ?>'
});
});
diff --git a/modules/image-separator/includes/frontend.php b/modules/image-separator/includes/frontend.php
index b2401b06..82630a1c 100644
--- a/modules/image-separator/includes/frontend.php
+++ b/modules/image-separator/includes/frontend.php
@@ -10,7 +10,7 @@
$alt = $module->get_alt();
?>
diff --git a/modules/info-list/includes/frontend.css.php b/modules/info-list/includes/frontend.css.php
index d4c0e63b..4d52fea0 100644
--- a/modules/info-list/includes/frontend.css.php
+++ b/modules/info-list/includes/frontend.css.php
@@ -24,22 +24,22 @@
$settings->list_icon_bg_border_radius = ( '' !== $settings->list_icon_bg_border_radius ) ? $settings->list_icon_bg_border_radius : '0';
/* If connector Yes execute this */
-if ( 'yes' == $settings->list_connector_option ) {
+if ( 'yes' === $settings->list_connector_option ) {
?>
.fl-node- .uabb-info-list-connector,
.fl-node- .uabb-info-list-connector-top {
- list_connector_color ) { ?>
+ list_connector_color ) { ?>
color: list_connector_color ); ?>;
- list_connector_style ) { ?>
+ list_connector_style ) { ?>
border-style: list_connector_style ); ?>;
}
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$icon_extra_padding = $settings->list_icon_bg_padding;
$icon_extra_padding_top = $settings->list_icon_bg_padding * 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$icon_extra_padding = $icon_extra_padding + $settings->list_icon_border_width;
$icon_extra_padding_top = $icon_extra_padding_top + $settings->list_icon_border_width * 2;
}
@@ -50,7 +50,7 @@
$space_element = 0;
$space_element_top = 0;
- if ( '0' != $settings->space_between_elements ) {
+ if ( '0' !== $settings->space_between_elements ) {
$space_element += $settings->space_between_elements / 2;
$space_element_top += $settings->space_between_elements / 2;
}
@@ -60,7 +60,7 @@
$settings->icon_image_size = (int) $settings->icon_image_size;
$icon_extra_padding_top = (int) $icon_extra_padding_top;
?>
- align_items ) : ?>
+ align_items ) : ?>
top: calc( 50% + icon_image_size / 2 ) + $icon_extra_padding - $space_element; ?>px );
height: calc( 50% - icon_image_size / 2 ) + $icon_extra_padding - $space_element; ?>px );
@@ -68,7 +68,7 @@
height: calc( 100% - icon_image_size ) + $icon_extra_padding_top; ?>px );
}
- align_items ) : ?>
+ align_items ) : ?>
.fl-node- .uabb-info-list-connector-top {
height: calc( 50% - icon_image_size / 2 ) + $icon_extra_padding + $space_element ); ?>px );
}
@@ -86,8 +86,8 @@
?>
icon_position || 'right' == $settings->icon_position ) {
- if ( 'center' == $settings->align_items ) {
+if ( 'left' === $settings->icon_position || 'right' === $settings->icon_position ) {
+ if ( 'center' === $settings->align_items ) {
?>
.fl-builder-content .fl-node- .uabb-info-list-icon {
vertical-align: middle;
@@ -107,14 +107,14 @@
icon_position ) {
+if ( 'left' === $settings->icon_position ) {
?>
.fl-node- .uabb-info-list-content-wrapper.uabb-info-list-left .uabb-info-list-content {
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding * 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width * 2;
}
} else {
@@ -128,9 +128,9 @@
.fl-node- .uabb-info-list-wrapper.uabb-info-list-left li .uabb-info-list-connector,
.fl-node- .uabb-info-list-wrapper.uabb-info-list-left li .uabb-info-list-connector-top {
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding * 2 / 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width;
}
} else {
@@ -141,19 +141,19 @@
left: px;
}
- space_between_elements ) { ?>
+ space_between_elements ) { ?>
.fl-node- .uabb-info-list-wrapper .uabb-info-list-item {
padding-bottom: space_between_elements ); ?>px;
}
icon_position ) {
+} if ( 'right' === $settings->icon_position ) {
?>
.fl-node- .uabb-info-list-content-wrapper.uabb-info-list-right .uabb-info-list-content {
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding * 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width * 2;
}
} else {
@@ -166,9 +166,9 @@
.fl-node- .uabb-info-list-wrapper.uabb-info-list-right li .uabb-info-list-connector,
.fl-node- .uabb-info-list-wrapper.uabb-info-list-right li .uabb-info-list-connector-top {
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding * 2 / 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width;
}
} else {
@@ -180,21 +180,21 @@
right: px;
}
- space_between_elements ) { ?>
+ space_between_elements ) { ?>
.fl-node- .uabb-info-list-wrapper .uabb-info-list-item {
padding-bottom: space_between_elements ); ?>px;
}
icon_position ) {
+} if ( 'top' === $settings->icon_position ) {
?>
.fl-node- .uabb-info-list-wrapper.uabb-info-list-top li .uabb-info-list-connector {
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding;
$extra_padding_top = $settings->list_icon_bg_padding * 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width;
$extra_padding_top = $extra_padding_top + $settings->list_icon_border_width * 2;
}
@@ -207,9 +207,9 @@
left: calc(50% + icon_image_size / 2 + $extra_padding ); ?>px);
width: calc(100% - icon_image_size + $extra_padding_top ); ?>px);
list_icon_style && '' != $settings->list_icon_bg_padding ) {
+ if ( 'custom' === $settings->list_icon_style && '' !== $settings->list_icon_bg_padding ) {
$extra_padding = $settings->list_icon_bg_padding;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$extra_padding = $extra_padding + $settings->list_icon_border_width;
}
} else {
@@ -219,7 +219,7 @@
top: icon_image_size / 2 ) + $extra_padding; ?>px;
}
- space_between_elements ) { ?>
+ space_between_elements ) { ?>
.fl-node- .uabb-info-list-wrapper .uabb-info-list-item {
padding-bottom: space_between_elements ); ?>px;
}
@@ -230,7 +230,7 @@
width: add_list_item ) ), 3 ); ?>%;
display: inline-block;
}
- space_between_elements ) { ?>
+ space_between_elements ) { ?>
.fl-node- .uabb-info-list-wrapper .uabb-info-list-item {
padding-right: space_between_elements ) / 2 ); ?>px;
padding-left: space_between_elements ) / 2 ); ?>px;
@@ -247,11 +247,11 @@
$list_item_counter = 0;
foreach ( $settings->add_list_item as $item ) {
- if ( 'circle' == $settings->list_icon_style ) {
+ if ( 'circle' === $settings->list_icon_style ) {
$infolist_icon_size = $settings->icon_image_size / 2;
- } elseif ( 'square' == $settings->list_icon_style ) {
+ } elseif ( 'square' === $settings->list_icon_style ) {
$infolist_icon_size = $settings->icon_image_size / 2;
- } elseif ( 'custom' == $settings->list_icon_style ) {
+ } elseif ( 'custom' === $settings->list_icon_style ) {
$infolist_icon_size = $settings->icon_image_size;
} else {
$infolist_icon_size = $settings->icon_image_size;
@@ -309,19 +309,19 @@
FLBuilder::render_module_css( 'image-icon', $id . ' .info-list-icon-dynamic' . $list_item_counter, $imageicon_array );
/* If No image no Icon selected than run this */
- if ( ( isset( $item->image_type ) && 'none' == $item->image_type ) && ( ! isset( $item->icon ) || ! isset( $item->photo_src ) || ! isset( $item->photo_url ) ) ) {
+ if ( ( isset( $item->image_type ) && 'none' === $item->image_type ) && ( ! isset( $item->icon ) || ! isset( $item->photo_src ) || ! isset( $item->photo_url ) ) ) {
?>
.fl-node- .info-list-icon-dynamic .uabb-imgicon-wrap {
list_icon_style ) {
+ if ( 'custom' === $settings->list_icon_style ) {
$custom_extra_width = $settings->list_icon_bg_padding * 2;
- if ( 'none' != $settings->list_icon_border_style ) {
+ if ( 'none' !== $settings->list_icon_border_style ) {
$custom_extra_width = $custom_extra_width + $settings->list_icon_border_width * 2;
}
?>
border-radius: list_icon_bg_border_radius ); ?>px;
- list_icon_border_style ) { ?>
+ list_icon_border_style ) { ?>
border: list_icon_border_width ); ?>px list_icon_border_style ); ?> list_icon_border_color ); ?>;
icon_image_size + $custom_extra_width ); ?>px;
height: icon_image_size + $custom_extra_width ); ?>px;
- image_type && ( '' == $item->icon || $item->photo || '' == $item->photo_url ) ) { ?>
- list_icon_style ) { ?>
+ image_type && ( '' === $item->icon || $item->photo || '' === $item->photo_url ) ) { ?>
+ list_icon_style ) { ?>
background: ;
background: list_icon_bg_color ); ?>;
@@ -341,25 +341,25 @@
}
?>
- list_icon_style ) { ?>
+ list_icon_style ) { ?>
border-radius: 50%;
- icon_position ) { ?>
+ icon_position ) { ?>
margin: auto;
}
image_type || ( ( isset( $item->icon ) && '' != $item->icon ) || ( isset( $item->photo_src ) && '' != $item->photo_src ) || ( isset( $item->photo_url ) && '' != $item->photo_url ) ) ) {
+ if ( 'none' !== $item->image_type || ( ( isset( $item->icon ) && '' !== $item->icon ) || ( isset( $item->photo_src ) && '' !== $item->photo_src ) || ( isset( $item->photo_url ) && '' !== $item->photo_url ) ) ) {
?>
.fl-node- .info-list-icon-dynamic .uabb-imgicon-wrap .uabb-photo-img {
- list_icon_style && 'none' != $item->image_type && ( '' != $item->icon || '' != $item->photo || '' != $item->photo_url ) ) { ?>
+ list_icon_style && 'none' !== $item->image_type && ( '' !== $item->icon || '' !== $item->photo || '' !== $item->photo_url ) ) { ?>
background: list_icon_bg_color ); ?>;
}
image_type && 'top' != $settings->icon_position ) {
+ if ( 'none' === $item->image_type && 'top' !== $settings->icon_position ) {
?>
.fl-node- .uabb-info-list-content-wrapper.icon_position ); ?> .info-list-content-dynamic {
width: 100%;
@@ -367,12 +367,12 @@
image_type && ( 'custom' === $settings->list_icon_style || 'simple' === $settings->list_icon_style ) ) :
+ if ( 'photo' === $item->image_type && ( 'custom' === $settings->list_icon_style || 'simple' === $settings->list_icon_style ) ) :
$img_size = array();
- if ( 'library' == $item->photo_source && '' != $item->photo ) :
+ if ( 'library' === $item->photo_source && '' !== $item->photo ) :
$img_size[0] = ( isset( FLBuilderPhoto::get_attachment_data( $item->photo )->width ) ) ? FLBuilderPhoto::get_attachment_data( $item->photo )->width : '';
$img_size[1] = ( isset( FLBuilderPhoto::get_attachment_data( $item->photo )->height ) ) ? FLBuilderPhoto::get_attachment_data( $item->photo )->height : '';
- elseif ( '' != trim( $item->photo_url ) ) :
+ elseif ( '' !== trim( $item->photo_url ) ) :
$img_size = getimagesize( $item->photo_url );
endif;
@@ -385,11 +385,11 @@
$need_to_add = $settings->icon_image_size - $actual_height;
endif;
- if ( 'yes' == $settings->list_connector_option ) :
+ if ( 'yes' === $settings->list_connector_option ) :
?>
.fl-node- .info-list-item-dynamic .uabb-info-list-connector {
- align_items ) : ?>
+ align_items ) : ?>
top: calc( 50% + icon_image_size - $need_to_add ) / 2 ) + $icon_extra_padding - $space_element; ?>px );
height: calc( 50% - icon_image_size - $need_to_add ) / 2 ) + $icon_extra_padding - $space_element; ?>px );
@@ -398,7 +398,7 @@
}
- align_items ) : ?>
+ align_items ) : ?>
.fl-node- .info-list-item-dynamic .uabb-info-list-connector-top {
height: calc( 50% - icon_image_size - $need_to_add ) / 2 ) + $icon_extra_padding + $space_element ); ?>px );
}
@@ -419,13 +419,13 @@
display: block;
}
.fl-node- .uabb-info-list-content .uabb-info-list-title{
- heading_color ) : ?>
+ heading_color ) : ?>
color: heading_color ); ?>;
- heading_margin_top ) : ?>
+ heading_margin_top ) : ?>
margin-top: heading_margin_top ); ?>px;
- heading_margin_bottom ) : ?>
+ heading_margin_bottom ) : ?>
margin-bottom: heading_margin_bottom ); ?>px;
}
@@ -433,28 +433,28 @@
heading_font_family['family'] || isset( $settings->heading_font_size['desktop'] ) && '' != $settings->heading_font_size['desktop'] || isset( $settings->heading_line_height['desktop'] ) && '' != $settings->heading_line_height['desktop'] || isset( $settings->heading_font_size_unit ) || isset( $settings->heading_line_height_unit ) || '' != $settings->heading_color || '' != $settings->heading_margin_top || '' != $settings->heading_margin_bottom ) {
+ if ( 'Default' !== $settings->heading_font_family['family'] || isset( $settings->heading_font_size['desktop'] ) && '' !== $settings->heading_font_size['desktop'] || isset( $settings->heading_line_height['desktop'] ) && '' !== $settings->heading_line_height['desktop'] || isset( $settings->heading_font_size_unit ) || isset( $settings->heading_line_height_unit ) || '' !== $settings->heading_color || '' !== $settings->heading_margin_top || '' !== $settings->heading_margin_bottom ) {
?>
.fl-node- .uabb-info-list-content .uabb-info-list-title{
- heading_font_family['family'] ) : ?>
+ heading_font_family['family'] ) : ?>
heading_font_family ); ?>
heading_font_size_unit ) && '' != $settings->heading_font_size_unit ) {
+ if ( 'yes' === $converted || isset( $settings->heading_font_size_unit ) && '' !== $settings->heading_font_size_unit ) {
?>
font-size: heading_font_size_unit ); ?>px;
- heading_font_size_unit ) && '' == $settings->heading_font_size_unit && isset( $settings->heading_font_size['desktop'] ) && '' != $settings->heading_font_size['desktop'] ) { ?>
+ heading_font_size_unit ) && '' === $settings->heading_font_size_unit && isset( $settings->heading_font_size['desktop'] ) && '' !== $settings->heading_font_size['desktop'] ) { ?>
font-size: heading_font_size['desktop'] ); ?>px;
- heading_font_size['desktop'] ) && '' == $settings->heading_font_size['desktop'] && isset( $settings->heading_line_height['desktop'] ) && '' != $settings->heading_line_height['desktop'] && '' == $settings->heading_line_height_unit ) { ?>
+ heading_font_size['desktop'] ) && '' === $settings->heading_font_size['desktop'] && isset( $settings->heading_line_height['desktop'] ) && '' !== $settings->heading_line_height['desktop'] && '' === $settings->heading_line_height_unit ) { ?>
line-height: heading_line_height['desktop'] ); ?>px;
- heading_line_height_unit ) && '' != $settings->heading_line_height_unit ) { ?>
+ heading_line_height_unit ) && '' !== $settings->heading_line_height_unit ) { ?>
line-height: heading_line_height_unit ); ?>em;
- heading_line_height_unit ) && '' == $settings->heading_line_height_unit && isset( $settings->heading_line_height['desktop'] ) && '' != $settings->heading_line_height['desktop'] ) { ?>
+ heading_line_height_unit ) && '' === $settings->heading_line_height_unit && isset( $settings->heading_line_height['desktop'] ) && '' !== $settings->heading_line_height['desktop'] ) { ?>
line-height: heading_line_height['desktop'] ); ?>px;
}
@@ -473,34 +473,34 @@
}
?>
.fl-node- .uabb-info-list-content .uabb-info-list-description {
- description_color ) : ?>
+ description_color ) : ?>
color: description_color ); ?>;
}
description_font_family['family'] || isset( $settings->description_font_size['desktop'] ) && '' != $settings->description_font_size['desktop'] || isset( $settings->description_line_height['desktop'] ) && '' != $settings->description_line_height['desktop'] || isset( $settings->description_font_size_unit ) && '' != $settings->description_font_size_unit || isset( $settings->description_line_height_unit ) && '' != $settings->description_line_height_unit || '' != $settings->description_color ) {
+ if ( 'Default' !== $settings->description_font_family['family'] || isset( $settings->description_font_size['desktop'] ) && '' !== $settings->description_font_size['desktop'] || isset( $settings->description_line_height['desktop'] ) && '' !== $settings->description_line_height['desktop'] || isset( $settings->description_font_size_unit ) && '' !== $settings->description_font_size_unit || isset( $settings->description_line_height_unit ) && '' !== $settings->description_line_height_unit || '' !== $settings->description_color ) {
?>
.fl-node- .uabb-info-list-content .uabb-info-list-description {
- description_font_family['family'] ) : ?>
+ description_font_family['family'] ) : ?>
description_font_family ); ?>
description_font_size_unit ) && '' != $settings->description_font_size_unit ) {
+ if ( 'yes' === $converted || isset( $settings->description_font_size_unit ) && '' !== $settings->description_font_size_unit ) {
?>
font-size: description_font_size_unit ); ?>px;
- description_font_size_unit ) && '' == $settings->description_font_size_unit && isset( $settings->description_font_size['desktop'] ) && '' != $settings->description_font_size['desktop'] ) { ?>
+ description_font_size_unit ) && '' === $settings->description_font_size_unit && isset( $settings->description_font_size['desktop'] ) && '' !== $settings->description_font_size['desktop'] ) { ?>
font-size: description_font_size['desktop'] ); ?>px;
- description_font_size['desktop'] ) && '' == $settings->description_font_size['desktop'] && isset( $settings->description_line_height['desktop'] ) && '' != $settings->description_line_height['desktop'] && '' == $settings->description_line_height_unit ) { ?>
+ description_font_size['desktop'] ) && '' === $settings->description_font_size['desktop'] && isset( $settings->description_line_height['desktop'] ) && '' !== $settings->description_line_height['desktop'] && '' === $settings->description_line_height_unit ) { ?>
line-height: description_line_height['desktop'] ); ?>px;
- description_line_height_unit ) && '' != $settings->description_line_height_unit ) { ?>
+ description_line_height_unit ) && '' !== $settings->description_line_height_unit ) { ?>
line-height: description_line_height_unit ); ?>em;
- description_line_height_unit ) && '' == $settings->description_line_height_unit && isset( $settings->description_line_height['desktop'] ) && '' != $settings->description_line_height['desktop'] ) { ?>
+ description_line_height_unit ) && '' === $settings->description_line_height_unit && isset( $settings->description_line_height['desktop'] ) && '' !== $settings->description_line_height['desktop'] ) { ?>
line-height: description_line_height['desktop'] ); ?>px;
}
@@ -533,20 +533,20 @@
.fl-node- .uabb-info-list .uabb-info-list-content .uabb-info-list-title {
- heading_font_size_unit_medium ) && '' != $settings->heading_font_size_unit_medium ) { ?>
+ heading_font_size_unit_medium ) && '' !== $settings->heading_font_size_unit_medium ) { ?>
font-size: heading_font_size_unit_medium ); ?>px;
- heading_font_size_unit_medium ) && '' == $settings->heading_font_size_unit_medium && isset( $settings->heading_font_size['medium'] ) && '' != $settings->heading_font_size['medium'] ) { ?>
+ heading_font_size_unit_medium ) && '' === $settings->heading_font_size_unit_medium && isset( $settings->heading_font_size['medium'] ) && '' !== $settings->heading_font_size['medium'] ) { ?>
font-size: heading_font_size['medium'] ); ?>px;
- heading_font_size['medium'] ) && '' == $settings->heading_font_size['medium'] && isset( $settings->heading_line_height['medium'] ) && '' != $settings->heading_line_height['medium'] && '' == $settings->heading_line_height_unit && '' == $settings->heading_line_height_unit_medium ) { ?>
+ heading_font_size['medium'] ) && '' === $settings->heading_font_size['medium'] && isset( $settings->heading_line_height['medium'] ) && '' !== $settings->heading_line_height['medium'] && '' === $settings->heading_line_height_unit && '' === $settings->heading_line_height_unit_medium ) { ?>
line-height: heading_line_height['medium'] ); ?>px;
- heading_line_height_unit_medium ) && '' == $settings->heading_line_height_unit_medium && isset( $settings->heading_line_height['medium'] ) && '' != $settings->heading_line_height['medium'] ) { ?>
+ heading_line_height_unit_medium ) && '' === $settings->heading_line_height_unit_medium && isset( $settings->heading_line_height['medium'] ) && '' !== $settings->heading_line_height['medium'] ) { ?>
line-height: heading_line_height['medium'] ); ?>px;
- heading_line_height_unit_medium ) && '' != $settings->heading_line_height_unit_medium ) : ?>
+ heading_line_height_unit_medium ) && '' !== $settings->heading_line_height_unit_medium ) : ?>
line-height: heading_line_height_unit_medium ); ?>em;
@@ -556,20 +556,20 @@
description_font_size['medium'] ) || isset( $settings->description_line_height['medium'] ) || isset( $settings->description_font_size_unit_medium ) || isset( $settings->description_line_height_unit_medium ) ) { ?>
.fl-node- .uabb-info-list .uabb-info-list-content .uabb-info-list-description {
- description_font_size_unit_medium ) && '' != $settings->description_font_size_unit_medium ) { ?>
+ description_font_size_unit_medium ) && '' !== $settings->description_font_size_unit_medium ) { ?>
font-size: description_font_size_unit_medium ); ?>px;
- description_font_size_unit_medium ) && '' == $settings->description_font_size_unit_medium && isset( $settings->description_font_size['medium'] ) && '' != $settings->description_font_size['medium'] ) { ?>
+ description_font_size_unit_medium ) && '' === $settings->description_font_size_unit_medium && isset( $settings->description_font_size['medium'] ) && '' !== $settings->description_font_size['medium'] ) { ?>
font-size: description_font_size['medium'] ); ?>px;
- description_font_size['medium'] ) && '' == $settings->description_font_size['medium'] && isset( $settings->description_line_height['medium'] ) && '' != $settings->description_line_height['medium'] && '' == $settings->description_line_height_unit && '' == $settings->description_line_height_unit_medium ) { ?>
+ description_font_size['medium'] ) && '' === $settings->description_font_size['medium'] && isset( $settings->description_line_height['medium'] ) && '' !== $settings->description_line_height['medium'] && '' === $settings->description_line_height_unit && '' === $settings->description_line_height_unit_medium ) { ?>
line-height: description_line_height['medium'] ); ?>px;
- description_line_height_unit_medium ) && '' == $settings->description_line_height_unit_medium && isset( $settings->description_line_height['medium'] ) && '' != $settings->description_line_height['medium'] ) { ?>
+ description_line_height_unit_medium ) && '' === $settings->description_line_height_unit_medium && isset( $settings->description_line_height['medium'] ) && '' !== $settings->description_line_height['medium'] ) { ?>
line-height: description_line_height['medium'] ); ?>px;
- description_line_height_unit_medium ) && '' != $settings->description_line_height_unit_medium ) : ?>
+ description_line_height_unit_medium ) && '' !== $settings->description_line_height_unit_medium ) : ?>
line-height: description_line_height_unit_medium ); ?>em;
@@ -583,46 +583,46 @@
}
}
if ( ! $version_bb_check ) {
- if ( isset( $settings->heading_font_size['small'] ) || isset( $settings->heading_line_height['small'] ) || isset( $settings->description_font_size['small'] ) || isset( $settings->description_line_height['small'] ) || isset( $settings->heading_font_size_unit_responsive ) || isset( $settings->heading_line_height_unit_responsive ) || isset( $settings->description_font_size_unit_responsive ) || isset( $settings->description_line_height_unit_responsive ) || 'stack' == $settings->mobile_view ) {
+ if ( isset( $settings->heading_font_size['small'] ) || isset( $settings->heading_line_height['small'] ) || isset( $settings->description_font_size['small'] ) || isset( $settings->description_line_height['small'] ) || isset( $settings->heading_font_size_unit_responsive ) || isset( $settings->heading_line_height_unit_responsive ) || isset( $settings->description_font_size_unit_responsive ) || isset( $settings->description_line_height_unit_responsive ) || 'stack' === $settings->mobile_view ) {
?>
@media ( max-width: responsive_breakpoint ) . 'px'; ?> ) {
.fl-node- .uabb-info-list .uabb-info-list-content .uabb-info-list-title {
- heading_font_size_unit_responsive ) && '' != $settings->heading_font_size_unit_responsive ) { ?>
+ heading_font_size_unit_responsive ) && '' !== $settings->heading_font_size_unit_responsive ) { ?>
font-size: heading_font_size_unit_responsive ); ?>px;
- heading_font_size_unit_responsive && '' == $settings->heading_font_size_unit_responsive && isset( $settings->heading_font_size['small'] ) && '' != $settings->heading_font_size['small'] ) { ?>
+ heading_font_size_unit_responsive && '' === $settings->heading_font_size_unit_responsive && isset( $settings->heading_font_size['small'] ) && '' !== $settings->heading_font_size['small'] ) { ?>
font-size: heading_font_size['small'] ); ?>px;
- heading_font_size['small'] ) && '' == $settings->heading_font_size['small'] && isset( $settings->heading_line_height['small'] ) && '' != $settings->heading_line_height['small'] && '' == $settings->heading_line_height_unit && '' == $settings->heading_line_height_unit_medium && '' == $settings->heading_line_height_unit_responsive ) { ?>
+ heading_font_size['small'] ) && '' === $settings->heading_font_size['small'] && isset( $settings->heading_line_height['small'] ) && '' !== $settings->heading_line_height['small'] && '' === $settings->heading_line_height_unit && '' === $settings->heading_line_height_unit_medium && '' === $settings->heading_line_height_unit_responsive ) { ?>
line-height: heading_line_height['small'] ); ?>px;
- heading_line_height_unit_responsive ) && '' != $settings->heading_line_height_unit_responsive ) { ?>
+ heading_line_height_unit_responsive ) && '' !== $settings->heading_line_height_unit_responsive ) { ?>
line-height: heading_line_height_unit_responsive ); ?>em;
- heading_line_height_unit_responsive ) && '' == $settings->heading_line_height_unit_responsive && isset( $settings->heading_line_height['small'] ) && '' != $settings->heading_line_height['small'] ) { ?>
+ heading_line_height_unit_responsive ) && '' === $settings->heading_line_height_unit_responsive && isset( $settings->heading_line_height['small'] ) && '' !== $settings->heading_line_height['small'] ) { ?>
line-height: heading_line_height['small'] ); ?>px;
}
- description_font_size['small'] ) && '' != $settings->description_font_size['small'] || isset( $settings->description_line_height['small'] ) && '' != $settings->description_line_height['small'] || isset( $settings->description_font_size_unit_responsive ) || isset( $settings->description_line_height_unit_responsive ) ) { ?>
+ description_font_size['small'] ) && '' !== $settings->description_font_size['small'] || isset( $settings->description_line_height['small'] ) && '' !== $settings->description_line_height['small'] || isset( $settings->description_font_size_unit_responsive ) || isset( $settings->description_line_height_unit_responsive ) ) { ?>
.fl-node- .uabb-info-list .uabb-info-list-content .uabb-info-list-description {
- description_font_size_unit_responsive ) && '' != $settings->description_font_size_unit_responsive ) { ?>
+ description_font_size_unit_responsive ) && '' !== $settings->description_font_size_unit_responsive ) { ?>
font-size: description_font_size_unit_responsive ); ?>px;
- description_font_size_unit_responsive && '' == $settings->description_font_size_unit_responsive && isset( $settings->description_font_size['small'] ) && '' != $settings->description_font_size['small'] ) { ?>
+ description_font_size_unit_responsive && '' === $settings->description_font_size_unit_responsive && isset( $settings->description_font_size['small'] ) && '' !== $settings->description_font_size['small'] ) { ?>
font-size: description_font_size['small'] ); ?>px;
- description_font_size['small'] ) && '' == $settings->description_font_size['small'] && isset( $settings->description_line_height['small'] ) && '' != $settings->description_line_height['small'] && '' == $settings->description_line_height_unit && '' == $settings->description_line_height_unit_medium && '' == $settings->description_line_height_unit_responsive ) { ?>
+ description_font_size['small'] ) && '' === $settings->description_font_size['small'] && isset( $settings->description_line_height['small'] ) && '' !== $settings->description_line_height['small'] && '' === $settings->description_line_height_unit && '' === $settings->description_line_height_unit_medium && '' === $settings->description_line_height_unit_responsive ) { ?>
line-height: description_line_height['small'] ); ?>px;
- description_line_height_unit_responsive ) && '' != $settings->description_line_height_unit_responsive ) { ?>
+ description_line_height_unit_responsive ) && '' !== $settings->description_line_height_unit_responsive ) { ?>
line-height: description_line_height_unit_responsive ); ?>em;
- description_line_height_unit_responsive ) && '' == $settings->description_line_height_unit_responsive && isset( $settings->description_line_height['small'] ) && '' != $settings->description_line_height['small'] ) { ?>
+ description_line_height_unit_responsive ) && '' === $settings->description_line_height_unit_responsive && isset( $settings->description_line_height['small'] ) && '' !== $settings->description_line_height['small'] ) { ?>
line-height: description_line_height['small'] ); ?>px;
}
@@ -632,7 +632,7 @@
}
?>
@media ( max-width: responsive_breakpoint ) . 'px'; ?> ) {
- mobile_view ) { ?>
+ mobile_view ) { ?>
.fl-builder-content .fl-node- .uabb-info-list-content-wrapper .uabb-info-list-icon {
padding: 0;
margin-bottom: 20px;
diff --git a/modules/info-list/includes/frontend.js.php b/modules/info-list/includes/frontend.js.php
index 66db704c..a361b97f 100644
--- a/modules/info-list/includes/frontend.js.php
+++ b/modules/info-list/includes/frontend.js.php
@@ -9,7 +9,7 @@
(function($) {
jQuery(document).ready(function() {
- list_icon_animation ) : ?>
+ list_icon_animation ) : ?>
if(typeof jQuery.fn.waypoint !== 'undefined' ) {
$( '.fl-node- .uabb-info-list-icon' ).waypoint({
diff --git a/modules/info-list/info-list.php b/modules/info-list/info-list.php
index e6f9cd83..d3036b8c 100644
--- a/modules/info-list/info-list.php
+++ b/modules/info-list/info-list.php
@@ -165,7 +165,7 @@ public function render_each_item( $item, $list_item_counter ) {
echo '
';
- // Define a whitelist of allowed tags
+ // Define a whitelist of allowed tags.
$allowed_tags = array( 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'p', 'span' );
$infolist_tag = in_array( $this->settings->heading_tag_selection, $allowed_tags ) ? $this->settings->heading_tag_selection : 'h3';
diff --git a/modules/info-table/includes/frontend.css.php b/modules/info-table/includes/frontend.css.php
index 02c8f958..c03f5353 100644
--- a/modules/info-table/includes/frontend.css.php
+++ b/modules/info-table/includes/frontend.css.php
@@ -107,135 +107,135 @@
if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#333333';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#333333';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#333333';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#333333';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#333333';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
}
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'red' == $settings->color_scheme ) {
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design ) {
+ } elseif ( 'red' === $settings->color_scheme ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#df4130';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#df4130';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#df4130';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#df4130';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#df4130';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
}
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'blue' == $settings->color_scheme ) {
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design ) {
+ } elseif ( 'blue' === $settings->color_scheme ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#2867b6';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#2867b6';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#2867b6';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#2867b6';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#2867b6';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
}
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'yellow' == $settings->color_scheme ) {
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design ) {
+ } elseif ( 'yellow' === $settings->color_scheme ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#f1a90f';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#f1a90f';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#f1a90f';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#f1a90f';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#f1a90f';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
}
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'green' == $settings->color_scheme ) {
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design ) {
+ } elseif ( 'green' === $settings->color_scheme ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#17924b';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#17924b';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#17924b';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#17924b';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#17924b';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
}
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'gray' == $settings->color_scheme ) {
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design ) {
+ } elseif ( 'gray' === $settings->color_scheme ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design ) {
$bg_color_code = '#d9dee0';
$icon_bg_color = '#333333';
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_color_code = '#f0f0f0';
$bg_head_color_code = '#d9dee0';
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$bg_color_code = '#f9f9f9';
$border_color = '#dddddd';
$border_color_top = '#d9dee0';
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$bg_head_color_code = '#d9dee0';
$bg_color_code = '#f7f7f7';
$border_color = '#dddddd';
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$bg_head_color_code = '#d9dee0';
$bg_color_code = '#ffffff';
$border_color = '#efefef';
@@ -262,7 +262,7 @@
border-bottom: 4px double ;
}
- hover_effect ) { ?>
+ hover_effect ) { ?>
.fl-node- .info-table:hover {
box-shadow: 0 0 7px rgba(167,167,167,.5);
}
@@ -302,21 +302,21 @@
.fl-node- .info-table-design06.info-table-cs-color_scheme ); ?> .info-table-icon {
background: ;
image_type ) {
+ if ( 'icon' === $settings->image_type ) {
$spacing = ( $settings->icon_size / 2 ) + 25;
- } elseif ( 'photo' == $settings->image_type ) {
+ } elseif ( 'photo' === $settings->image_type ) {
$spacing = ( $settings->img_size / 2 ) + 25;
}
- if ( 'icon' == $settings->image_type && 'custom' == $settings->icon_style ) {
+ if ( 'icon' === $settings->image_type && 'custom' === $settings->icon_style ) {
$spacing = $spacing + ( $settings->icon_bg_size / 2 );
- } elseif ( 'photo' == $settings->image_type && 'custom' == $settings->image_style ) {
+ } elseif ( 'photo' === $settings->image_type && 'custom' === $settings->image_style ) {
$spacing = $spacing + $settings->img_bg_size;
}
- if ( 'icon' == $settings->image_type && 'simple' != $settings->icon_style && 'custom' != $settings->icon_style ) {
+ if ( 'icon' === $settings->image_type && 'simple' !== $settings->icon_style && 'custom' !== $settings->icon_style ) {
$spacing = $spacing + 40;
- } elseif ( 'photo' == $settings->image_type && 'simple' != $settings->image_style && 'custom' != $settings->image_style ) {
+ } elseif ( 'photo' === $settings->image_type && 'simple' !== $settings->image_style && 'custom' !== $settings->image_style ) {
$spacing = $spacing;
}
?>
@@ -326,31 +326,31 @@
/* Button Design */
- it_link_type ) { ?>
+ it_link_type ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
color: btn_text_color ); ?>;
background: btn_bg_color ); ?>;
padding:
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
- border-radius: btn_radius ) ? esc_attr( $settings->btn_radius ) : '3'; ?>px;
+ border-radius: btn_radius ) ? esc_attr( $settings->btn_radius ) : '3'; ?>px;
}
- btn_text_hover_color || '' != $settings->btn_bg_hover_color ) { ?>
+ btn_text_hover_color || '' !== $settings->btn_bg_hover_color ) { ?>
.fl-node- .info-table-wrap .info-table-button a:hover {
color: btn_text_hover_color ); ?>;
background: btn_bg_hover_color ); ?>;
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-design01 .info-table-button {
background: #333333;
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-wrap.info-table-design02 .info-table-button {
position: absolute;
right: 0;
@@ -383,48 +383,48 @@
position: relative;
}
- btn_bg_hover_color ) { ?>
+ btn_bg_hover_color ) { ?>
.fl-node- .info-table-design02 .info-table-button a:hover::after {
border-left: 8px solid btn_bg_hover_color ); ?>;
}
- box_design ) { ?>
- box_design ) { ?>
- box_design ) { ?>
+ box_design ) { ?>
+ box_design ) { ?>
+ box_design ) { ?>
box_design ) {
+ if ( 'design01' === $settings->box_design ) {
$bg_color_code = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#333333';
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'design02' == $settings->box_design ) {
+ } elseif ( 'design02' === $settings->box_design ) {
$icon_bg_color = '#fbfbfb';
$border_color = '#dcdcdc';
$bg_head_color_code = ( $settings->heading_back_color ) ? $settings->heading_back_color : '#333333';
$bg_color_code = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#f0f0f0';
- } elseif ( 'design03' == $settings->box_design ) {
+ } elseif ( 'design03' === $settings->box_design ) {
$icon_bg_color = ( $settings->heading_back_color ) ? $settings->heading_back_color : '#333333';
$bg_color_code = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#333333';
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'design04' == $settings->box_design ) {
+ } elseif ( 'design04' === $settings->box_design ) {
$border_color_top = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#333333';
$bg_color_code = ( $settings->heading_back_color ) ? $settings->heading_back_color : '#f9f9f9';
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'design05' == $settings->box_design ) {
+ } elseif ( 'design05' === $settings->box_design ) {
$border_color = '#dddddd';
$bg_head_color_code = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#333333';
$bg_color_code = ( $settings->heading_back_color ) ? $settings->heading_back_color : '#f7f7f7';
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
- } elseif ( 'design06' == $settings->box_design ) {
+ } elseif ( 'design06' === $settings->box_design ) {
$border_color = '#efefef';
$bg_head_color_code = ( $settings->desc_back_color ) ? $settings->desc_back_color : '#333333';
$bg_color_code = ( $settings->heading_back_color ) ? $settings->heading_back_color : '#ffffff';
$bg_grad_start = '#' . FLBuilderColor::adjust_brightness( uabb_parse_color_to_hex( $bg_color_code ), 30, 'lighten' );
}
- if ( 'design01' == $settings->box_design || 'design03' == $settings->box_design || 'design04' == $settings->box_design || 'design05' == $settings->box_design || 'design06' == $settings->box_design ) {
+ if ( 'design01' === $settings->box_design || 'design03' === $settings->box_design || 'design04' === $settings->box_design || 'design05' === $settings->box_design || 'design06' === $settings->box_design ) {
?>
.fl-node- .info-table-box_design ); ?>.info-table-cs-color_scheme ); ?> {
background: -moz-linear-gradient(top, 0%, 100%); /* FF3.6+ */
@@ -469,7 +469,7 @@
transform: translateY(-50%);
}
- hover_effect ) { ?>
+ hover_effect ) { ?>
.fl-node- .info-table-design02 .info-table:hover,
.fl-node- .info-table-design04 .info-table:hover,
.fl-node- .info-table-design05 .info-table:hover,
@@ -513,13 +513,13 @@
image_type ) {
+ if ( 'icon' === $settings->image_type ) {
$cal_width = $settings->icon_size;
- if ( 'simple' != $settings->icon_style ) {
+ if ( 'simple' !== $settings->icon_style ) {
$cal_width = $settings->icon_size * 2;
- if ( 'custom' == $settings->icon_style ) {
+ if ( 'custom' === $settings->icon_style ) {
$cal_width = $settings->icon_size + intval( $settings->icon_bg_size );
- if ( 'none' != $settings->icon_border_style ) {
+ if ( 'none' !== $settings->icon_border_style ) {
$cal_width = $cal_width + ( intval( $settings->icon_border_width ) * 2 );
}
}
@@ -528,11 +528,11 @@
$cal_width = ( intval( $cal_width ) / 2 ) + 25;
}
- if ( 'photo' == $settings->image_type ) {
+ if ( 'photo' === $settings->image_type ) {
$cal_width = $settings->img_size;
- if ( 'custom' == $settings->image_style ) {
+ if ( 'custom' === $settings->image_style ) {
$cal_width = $cal_width + intval( $settings->img_bg_size ) * 2;
- if ( 'none' != $settings->img_border_style ) {
+ if ( 'none' !== $settings->img_border_style ) {
$cal_width = $cal_width + ( intval( $settings->img_border_width ) * 2 );
}
}
@@ -541,9 +541,9 @@
}
?>
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table .uabb-imgicon-wrap {
- image_type || 'photo' == $settings->image_type ) { ?>
+ image_type || 'photo' === $settings->image_type ) { ?>
width: px;
}
@@ -557,31 +557,31 @@
/* Button Design */
- it_link_type ) { ?>
+ it_link_type ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
color: btn_text_color ); ?>;
background: btn_bg_color ); ?>;
padding: ;
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
- border-radius: btn_radius ) ? esc_attr( $settings->btn_radius ) : '3'; ?>px;
+ border-radius: btn_radius ) ? esc_attr( $settings->btn_radius ) : '3'; ?>px;
}
- btn_text_hover_color || '' != $settings->btn_bg_hover_color ) { ?>
+ btn_text_hover_color || '' !== $settings->btn_bg_hover_color ) { ?>
.fl-node- .info-table-wrap .info-table-button a:hover {
color: btn_text_hover_color ); ?>;
background: btn_bg_hover_color ); ?>;
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-design01 .info-table-button {
background: #333333;
- heading_back_color ) ? 'background: ' . esc_attr( $settings->heading_back_color ) . ';' : ''; ?>
+ heading_back_color ) ? 'background: ' . esc_attr( $settings->heading_back_color ) . ';' : ''; ?>
}
- box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-design02 .info-table-button a {
padding: 7px;
position: absolute;
@@ -604,18 +604,18 @@
transition: all 200ms ease-in-out
}
- btn_bg_hover_color ) { ?>
+ btn_bg_hover_color ) { ?>
.fl-node- .info-table-design02 .info-table-button a:hover::after {
border-left: 8px solid btn_bg_hover_color ); ?>;
}
- box_design ) { ?>
- box_design ) { ?>
+ box_design ) { ?>
+ box_design ) { ?>
.fl-node- .info-table-design04 .info-table-button a {
background: ;*/
}
- box_design ) { ?>
- box_design ) { ?>
+ box_design ) { ?>
+ box_design ) { ?>
/* Button Design Ends */
@@ -624,16 +624,16 @@
?>
box_design ) {
+if ( 'design02' !== $settings->box_design ) {
?>
.fl-node- .info-table-wrap .info-table .info-table-button {
- padding: btn_top_margin ) ? esc_attr( $settings->btn_top_margin ) : '15'; ?>px 0 btn_bottom_margin ) ? esc_attr( $settings->btn_bottom_margin ) : '15'; ?>px;
+ padding: btn_top_margin ) ? esc_attr( $settings->btn_top_margin ) : '15'; ?>px 0 btn_bottom_margin ) ? esc_attr( $settings->btn_bottom_margin ) : '15'; ?>px;
}
.info-table-heading .info-table-main-heading {
- heading_color ) : ?>
+ heading_color ) : ?>
color: heading_color ); ?>;
}
@@ -651,28 +651,28 @@
if ( ! $version_bb_check ) {
/* Typography style starts here */
- if ( 'Default' != $settings->heading_font_family['family'] || isset( $settings->heading_font_size['desktop'] ) || isset( $settings->heading_line_height['desktop'] ) || '' != $settings->heading_font_size_unit || '' != $settings->heading_line_height_unit || '' != $settings->heading_color ) {
+ if ( 'Default' !== $settings->heading_font_family['family'] || isset( $settings->heading_font_size['desktop'] ) || isset( $settings->heading_line_height['desktop'] ) || '' !== $settings->heading_font_size_unit || '' !== $settings->heading_line_height_unit || '' !== $settings->heading_color ) {
?>
.fl-node- .info-table-heading .info-table-main-heading {
- heading_font_family['family'] ) : ?>
+ heading_font_family['family'] ) : ?>
heading_font_family ); ?>
heading_font_size_unit ) && '' != $settings->heading_font_size_unit ) {
+ if ( 'yes' === $converted || isset( $settings->heading_font_size_unit ) && '' !== $settings->heading_font_size_unit ) {
?>
font-size: heading_font_size_unit ); ?>px;
- heading_font_size_unit ) && '' == $settings->heading_font_size_unit && isset( $settings->heading_font_size['desktop'] ) && '' != $settings->heading_font_size['desktop'] ) { ?>
+ heading_font_size_unit ) && '' === $settings->heading_font_size_unit && isset( $settings->heading_font_size['desktop'] ) && '' !== $settings->heading_font_size['desktop'] ) { ?>
font-size: heading_font_size['desktop'] ); ?>px;
- heading_font_size['desktop'] ) && '' == $settings->heading_font_size['desktop'] && isset( $settings->heading_line_height['desktop'] ) && '' != $settings->heading_line_height['desktop'] && '' == $settings->heading_line_height_unit ) { ?>
+ heading_font_size['desktop'] ) && '' === $settings->heading_font_size['desktop'] && isset( $settings->heading_line_height['desktop'] ) && '' !== $settings->heading_line_height['desktop'] && '' === $settings->heading_line_height_unit ) { ?>
line-height: heading_line_height['desktop'] ); ?>px;
- heading_line_height_unit ) && '' != $settings->heading_line_height_unit ) { ?>
+ heading_line_height_unit ) && '' !== $settings->heading_line_height_unit ) { ?>
line-height: heading_line_height_unit ); ?>em;
- heading_line_height_unit ) && '' == $settings->heading_line_height_unit && isset( $settings->heading_line_height['desktop'] ) && '' != $settings->heading_line_height['desktop'] ) { ?>
+ heading_line_height_unit ) && '' === $settings->heading_line_height_unit && isset( $settings->heading_line_height['desktop'] ) && '' !== $settings->heading_line_height['desktop'] ) { ?>
line-height: heading_line_height['desktop'] ); ?>px;
}
@@ -690,27 +690,27 @@
}
}
if ( ! $version_bb_check ) {
- if ( 'Default' != $settings->sub_heading_font_family['family'] || isset( $settings->sub_heading_font_size['desktop'] ) || isset( $settings->sub_heading_line_height['desktop'] ) || '' != $settings->sub_heading_font_size_unit || '' != $settings->sub_heading_line_height_unit || '' != $settings->sub_heading_color ) {
+ if ( 'Default' !== $settings->sub_heading_font_family['family'] || isset( $settings->sub_heading_font_size['desktop'] ) || isset( $settings->sub_heading_line_height['desktop'] ) || '' !== $settings->sub_heading_font_size_unit || '' !== $settings->sub_heading_line_height_unit || '' !== $settings->sub_heading_color ) {
?>
.fl-node- .info-table-heading .info-table-sub-heading {
- sub_heading_font_family['family'] ) : ?>
+ sub_heading_font_family['family'] ) : ?>
sub_heading_font_family ); ?>
sub_heading_font_size_unit ) && '' != $settings->sub_heading_font_size_unit ) {
+ if ( 'yes' === $converted || isset( $settings->sub_heading_font_size_unit ) && '' !== $settings->sub_heading_font_size_unit ) {
?>
font-size: sub_heading_font_size_unit ); ?>px;
- sub_heading_font_size_unit ) && '' == $settings->sub_heading_font_size_unit && isset( $settings->sub_heading_font_size['desktop'] ) && '' != $settings->sub_heading_font_size['desktop'] ) { ?>
+ sub_heading_font_size_unit ) && '' === $settings->sub_heading_font_size_unit && isset( $settings->sub_heading_font_size['desktop'] ) && '' !== $settings->sub_heading_font_size['desktop'] ) { ?>
font-size: sub_heading_font_size['desktop'] ); ?>px;
- sub_heading_font_size['desktop'] ) && '' == $settings->sub_heading_font_size['desktop'] && isset( $settings->sub_heading_line_height['desktop'] ) && '' != $settings->sub_heading_line_height['desktop'] && '' == $settings->sub_heading_line_height_unit ) { ?>
+ sub_heading_font_size['desktop'] ) && '' === $settings->sub_heading_font_size['desktop'] && isset( $settings->sub_heading_line_height['desktop'] ) && '' !== $settings->sub_heading_line_height['desktop'] && '' === $settings->sub_heading_line_height_unit ) { ?>
line-height: sub_heading_line_height['desktop'] ); ?>px;
- sub_heading_line_height_unit ) && '' != $settings->sub_heading_line_height_unit ) { ?>
+ sub_heading_line_height_unit ) && '' !== $settings->sub_heading_line_height_unit ) { ?>
line-height: sub_heading_line_height_unit ); ?>em;
- sub_heading_line_height_unit ) && '' == $settings->sub_heading_line_height_unit && isset( $settings->sub_heading_line_height['desktop'] ) && '' != $settings->sub_heading_line_height['desktop'] ) { ?>
+ sub_heading_line_height_unit ) && '' === $settings->sub_heading_line_height_unit && isset( $settings->sub_heading_line_height['desktop'] ) && '' !== $settings->sub_heading_line_height['desktop'] ) { ?>
line-height: sub_heading_line_height['desktop'] ); ?>px;
@@ -729,29 +729,29 @@
}
}
if ( ! $version_bb_check ) {
- if ( 'Default' != $settings->description_font_family['family'] || isset( $settings->description_font_size['desktop'] ) || isset( $settings->description_line_height['desktop'] ) || '' != $settings->description_font_size_unit || '' != $settings->description_line_height_unit || '' != $settings->description_color ) {
+ if ( 'Default' !== $settings->description_font_family['family'] || isset( $settings->description_font_size['desktop'] ) || isset( $settings->description_line_height['desktop'] ) || '' !== $settings->description_font_size_unit || '' !== $settings->description_line_height_unit || '' !== $settings->description_color ) {
?>
.fl-node- .info-table .info-table-description {
- description_font_family['family'] ) : ?>
+ description_font_family['family'] ) : ?>
description_font_family ); ?>
description_font_size_unit ) && '' != $settings->description_font_size_unit ) {
+ if ( 'yes' === $converted || isset( $settings->description_font_size_unit ) && '' !== $settings->description_font_size_unit ) {
?>
font-size: description_font_size_unit ); ?>px;
- description_font_size_unit ) && '' == $settings->description_font_size_unit && isset( $settings->description_font_size['desktop'] ) && '' != $settings->description_font_size['desktop'] ) { ?>
+ description_font_size_unit ) && '' === $settings->description_font_size_unit && isset( $settings->description_font_size['desktop'] ) && '' !== $settings->description_font_size['desktop'] ) { ?>
font-size: description_font_size['desktop'] ); ?>px;
- description_font_size['desktop'] ) && '' == $settings->description_font_size['desktop'] && isset( $settings->description_line_height['desktop'] ) && '' != $settings->description_line_height['desktop'] && '' == $settings->description_line_height_unit ) { ?>
+ description_font_size['desktop'] ) && '' === $settings->description_font_size['desktop'] && isset( $settings->description_line_height['desktop'] ) && '' !== $settings->description_line_height['desktop'] && '' === $settings->description_line_height_unit ) { ?>
line-height: description_line_height['desktop'] ); ?>px;
- description_line_height_unit ) && '' != $settings->description_line_height_unit ) { ?>
+ description_line_height_unit ) && '' !== $settings->description_line_height_unit ) { ?>
line-height: description_line_height_unit ); ?>em;
- description_line_height_unit ) && '' == $settings->description_line_height_unit && isset( $settings->description_line_height['desktop'] ) && '' != $settings->description_line_height['desktop'] ) { ?>
+ description_line_height_unit ) && '' === $settings->description_line_height_unit && isset( $settings->description_line_height['desktop'] ) && '' !== $settings->description_line_height['desktop'] ) { ?>
line-height: description_line_height['desktop'] ); ?>px;
@@ -770,30 +770,30 @@
}
}
if ( ! $version_bb_check ) {
- if ( 'Default' != $settings->btn_font_family['family'] || isset( $settings->btn_font_size['desktop'] ) && '' != $settings->btn_font_size['desktop'] || isset( $settings->btn_line_height['desktop'] ) && '' != $settings->btn_line_height['desktop'] || isset( $settings->btn_font_size_unit ) || isset( $settings->btn_line_height_unit ) ) {
+ if ( 'Default' !== $settings->btn_font_family['family'] || isset( $settings->btn_font_size['desktop'] ) && '' !== $settings->btn_font_size['desktop'] || isset( $settings->btn_line_height['desktop'] ) && '' !== $settings->btn_line_height['desktop'] || isset( $settings->btn_font_size_unit ) || isset( $settings->btn_line_height_unit ) ) {
?>
.fl-node- .info-table-wrap .info-table-button a {
- btn_font_family['family'] ) : ?>
+ btn_font_family['family'] ) : ?>
btn_font_family ); ?>
- btn_font_size_unit ) && '' != $settings->btn_font_size_unit ) { ?>
+ btn_font_size_unit ) && '' !== $settings->btn_font_size_unit ) { ?>
font-size: btn_font_size_unit ); ?>px;
- btn_line_height_unit && '' != $settings->btn_font_size_unit ) { ?>
+ btn_line_height_unit && '' !== $settings->btn_font_size_unit ) { ?>
line-height: btn_font_size_unit ) + 5; ?>px;
- btn_font_size_unit ) && '' == $settings->btn_font_size_unit && isset( $settings->btn_font_size['desktop'] ) && '' != $settings->btn_font_size['desktop'] ) { ?>
+ btn_font_size_unit ) && '' === $settings->btn_font_size_unit && isset( $settings->btn_font_size['desktop'] ) && '' !== $settings->btn_font_size['desktop'] ) { ?>
font-size: btn_font_size['desktop'] ); ?>px;
line-height: btn_font_size['desktop'] ) + 5; ?>px;
- btn_font_size['desktop'] ) && '' == $settings->btn_font_size['desktop'] && isset( $settings->btn_line_height['desktop'] ) && '' != $settings->btn_line_height['desktop'] && '' == $settings->btn_line_height_unit ) { ?>
+ btn_font_size['desktop'] ) && '' === $settings->btn_font_size['desktop'] && isset( $settings->btn_line_height['desktop'] ) && '' !== $settings->btn_line_height['desktop'] && '' === $settings->btn_line_height_unit ) { ?>
line-height: btn_line_height['desktop'] ); ?>px;
- btn_line_height_unit ) && '' != $settings->btn_line_height_unit ) { ?>
+ btn_line_height_unit ) && '' !== $settings->btn_line_height_unit ) { ?>
line-height: btn_line_height_unit ); ?>em;
- btn_line_height_unit ) && '' == $settings->btn_line_height_unit && isset( $settings->btn_line_height['desktop'] ) && '' != $settings->btn_line_height['desktop'] ) { ?>
+ btn_line_height_unit ) && '' === $settings->btn_line_height_unit && isset( $settings->btn_line_height['desktop'] ) && '' !== $settings->btn_line_height['desktop'] ) { ?>
line-height: btn_line_height['desktop'] ); ?>px;
@@ -818,19 +818,19 @@
heading_font_size['medium'] ) || isset( $settings->heading_line_height['medium'] ) || isset( $settings->heading_font_size_unit_medium ) || isset( $settings->heading_line_height_unit_medium ) || isset( $settings->heading_line_height_unit ) ) { ?>
.fl-node- .info-table-heading .info-table-main-heading {
- heading_font_size_unit_medium ) && '' != $settings->heading_font_size_unit_medium ) { ?>
+ heading_font_size_unit_medium ) && '' !== $settings->heading_font_size_unit_medium ) { ?>
font-size: heading_font_size_unit_medium ); ?>px;
- heading_font_size_unit_medium ) && '' == $settings->heading_font_size_unit_medium && isset( $settings->heading_font_size['medium'] ) && '' != $settings->heading_font_size['medium'] ) { ?>
+ heading_font_size_unit_medium ) && '' === $settings->heading_font_size_unit_medium && isset( $settings->heading_font_size['medium'] ) && '' !== $settings->heading_font_size['medium'] ) { ?>
font-size: heading_font_size['medium'] ); ?>px;
- heading_font_size['medium'] ) && '' == $settings->heading_font_size['medium'] && isset( $settings->heading_line_height['medium'] ) && '' != $settings->heading_line_height['medium'] && '' == $settings->heading_line_height_unit_medium && '' == $settings->heading_line_height_unit ) { ?>
+ heading_font_size['medium'] ) && '' === $settings->heading_font_size['medium'] && isset( $settings->heading_line_height['medium'] ) && '' !== $settings->heading_line_height['medium'] && '' === $settings->heading_line_height_unit_medium && '' === $settings->heading_line_height_unit ) { ?>
line-height: heading_line_height['medium'] ); ?>px;
- heading_line_height_unit_medium ) && '' != $settings->heading_line_height_unit_medium ) { ?>
+ heading_line_height_unit_medium ) && '' !== $settings->heading_line_height_unit_medium ) { ?>
line-height: heading_line_height_unit_medium ); ?>em;
- heading_line_height_unit_medium ) && '' == $settings->heading_line_height_unit_medium && isset( $settings->heading_line_height['medium'] ) && '' != $settings->heading_line_height['medium'] ) { ?>
+ heading_line_height_unit_medium ) && '' === $settings->heading_line_height_unit_medium && isset( $settings->heading_line_height['medium'] ) && '' !== $settings->heading_line_height['medium'] ) { ?>
line-height: heading_line_height['medium'] ); ?>px;
@@ -841,19 +841,19 @@
sub_heading_font_size['medium'] ) || isset( $settings->sub_heading_line_height['medium'] ) || isset( $settings->sub_heading_font_size_unit_medium ) || isset( $settings->sub_heading_line_height_unit_medium ) || isset( $settings->sub_heading_line_height_unit ) ) { ?>
.fl-node- .info-table-heading .info-table-sub-heading {
- sub_heading_font_size_unit_medium ) && '' != $settings->sub_heading_font_size_unit_medium ) { ?>
+ sub_heading_font_size_unit_medium ) && '' !== $settings->sub_heading_font_size_unit_medium ) { ?>
font-size: sub_heading_font_size_unit_medium ); ?>px;
- sub_heading_font_size_unit_medium ) && '' == $settings->sub_heading_font_size_unit_medium && isset( $settings->sub_heading_font_size['medium'] ) && '' != $settings->sub_heading_font_size['medium'] ) { ?>
+ sub_heading_font_size_unit_medium ) && '' === $settings->sub_heading_font_size_unit_medium && isset( $settings->sub_heading_font_size['medium'] ) && '' !== $settings->sub_heading_font_size['medium'] ) { ?>
font-size: sub_heading_font_size['medium'] ); ?>px;
- sub_heading_font_size['medium'] ) && '' == $settings->sub_heading_font_size['medium'] && isset( $settings->sub_heading_line_height['medium'] ) && '' != $settings->sub_heading_line_height['medium'] && '' == $settings->sub_heading_line_height_unit && '' == $settings->sub_heading_line_height_unit_medium ) { ?>
+ sub_heading_font_size['medium'] ) && '' === $settings->sub_heading_font_size['medium'] && isset( $settings->sub_heading_line_height['medium'] ) && '' !== $settings->sub_heading_line_height['medium'] && '' === $settings->sub_heading_line_height_unit && '' === $settings->sub_heading_line_height_unit_medium ) { ?>
line-height: sub_heading_line_height['medium'] ); ?>px;
- sub_heading_line_height_unit_medium ) && '' != $settings->sub_heading_line_height_unit_medium ) { ?>
+ sub_heading_line_height_unit_medium ) && '' !== $settings->sub_heading_line_height_unit_medium ) { ?>
line-height: sub_heading_line_height_unit_medium ); ?>em;
- sub_heading_line_height_unit_medium ) && '' == $settings->sub_heading_line_height_unit_medium && isset( $settings->sub_heading_line_height['medium'] ) && '' != $settings->sub_heading_line_height['medium'] ) { ?>
+ sub_heading_line_height_unit_medium ) && '' === $settings->sub_heading_line_height_unit_medium && isset( $settings->sub_heading_line_height['medium'] ) && '' !== $settings->sub_heading_line_height['medium'] ) { ?>
line-height: sub_heading_line_height['medium'] ); ?>px;
@@ -861,22 +861,22 @@
- description_font_size['medium'] ) || isset( $settings->description_line_height['medium'] ) || '' != $settings->description_font_size_unit_medium || '' != $settings->description_line_height_unit_medium ) { ?>
+ description_font_size['medium'] ) || isset( $settings->description_line_height['medium'] ) || '' !== $settings->description_font_size_unit_medium || '' !== $settings->description_line_height_unit_medium ) { ?>
.fl-node- .info-table .info-table-description {
- description_font_size_unit_medium ) && '' != $settings->description_font_size_unit_medium ) { ?>
+ description_font_size_unit_medium ) && '' !== $settings->description_font_size_unit_medium ) { ?>
font-size: description_font_size_unit_medium ); ?>px;
- description_font_size_unit_medium ) && '' == $settings->description_font_size_unit_medium && isset( $settings->description_font_size['medium'] ) && '' != $settings->description_font_size['medium'] ) { ?>
+ description_font_size_unit_medium ) && '' === $settings->description_font_size_unit_medium && isset( $settings->description_font_size['medium'] ) && '' !== $settings->description_font_size['medium'] ) { ?>
font-size: description_font_size['medium'] ); ?>px;
- description_font_size['medium'] ) && '' == $settings->description_font_size['medium'] && isset( $settings->description_line_height['medium'] ) && '' != $settings->description_line_height['medium'] && '' == $settings->description_line_height_unit && '' == $settings->description_line_height_unit_medium ) { ?>
+ description_font_size['medium'] ) && '' === $settings->description_font_size['medium'] && isset( $settings->description_line_height['medium'] ) && '' !== $settings->description_line_height['medium'] && '' === $settings->description_line_height_unit && '' === $settings->description_line_height_unit_medium ) { ?>
line-height: description_line_height['medium'] ); ?>px;
- description_line_height_unit_medium ) && '' != $settings->description_line_height_unit_medium ) { ?>
+ description_line_height_unit_medium ) && '' !== $settings->description_line_height_unit_medium ) { ?>
line-height: description_line_height_unit_medium ); ?>em;
- description_line_height_unit_medium ) && '' == $settings->description_line_height_unit_medium && isset( $settings->description_line_height['medium'] ) && '' != $settings->description_line_height['medium'] ) { ?>
+ description_line_height_unit_medium ) && '' === $settings->description_line_height_unit_medium && isset( $settings->description_line_height['medium'] ) && '' !== $settings->description_line_height['medium'] ) { ?>
line-height: description_line_height['medium'] ); ?>px;
@@ -887,19 +887,19 @@
btn_font_size['medium'] ) || isset( $settings->btn_line_height['medium'] ) || isset( $settings->btn_font_size_unit_medium ) || isset( $settings->btn_line_height_unit_medium ) || isset( $settings->btn_line_height_unit ) ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
- btn_font_size_unit_medium ) && '' != $settings->btn_font_size_unit_medium ) { ?>
+ btn_font_size_unit_medium ) && '' !== $settings->btn_font_size_unit_medium ) { ?>
font-size: btn_font_size_unit_medium ); ?>px;
- btn_font_size_unit_medium ) && '' == $settings->btn_font_size_unit_medium && isset( $settings->btn_font_size['medium'] ) && '' != $settings->btn_font_size['medium'] ) { ?>
+ btn_font_size_unit_medium ) && '' === $settings->btn_font_size_unit_medium && isset( $settings->btn_font_size['medium'] ) && '' !== $settings->btn_font_size['medium'] ) { ?>
font-size: btn_font_size['medium'] ); ?>px;
- btn_font_size['medium'] ) && '' == $settings->btn_font_size['medium'] && isset( $settings->btn_line_height['medium'] ) && '' != $settings->btn_line_height['medium'] && '' == $settings->btn_line_height_unit && '' == $settings->btn_line_height_unit_medium ) { ?>
+ btn_font_size['medium'] ) && '' === $settings->btn_font_size['medium'] && isset( $settings->btn_line_height['medium'] ) && '' !== $settings->btn_line_height['medium'] && '' === $settings->btn_line_height_unit && '' === $settings->btn_line_height_unit_medium ) { ?>
line-height: btn_line_height['medium'] ); ?>px;
- btn_line_height_unit_medium ) && '' != $settings->btn_line_height_unit_medium ) { ?>
+ btn_line_height_unit_medium ) && '' !== $settings->btn_line_height_unit_medium ) { ?>
line-height: btn_line_height_unit_medium ); ?>em;
- btn_line_height_unit_medium ) && '' == $settings->btn_line_height_unit_medium && isset( $settings->btn_line_height['medium'] ) && '' != $settings->btn_line_height['medium'] ) { ?>
+ btn_line_height_unit_medium ) && '' === $settings->btn_line_height_unit_medium && isset( $settings->btn_line_height['medium'] ) && '' !== $settings->btn_line_height['medium'] ) { ?>
line-height: btn_line_height['medium'] ); ?>px;
@@ -915,18 +915,18 @@
.fl-node- .info-table-heading .info-table-main-heading {
- heading_font_size_unit_responsive ) && '' != $settings->heading_font_size_unit_responsive ) { ?>
+ heading_font_size_unit_responsive ) && '' !== $settings->heading_font_size_unit_responsive ) { ?>
font-size: heading_font_size_unit_responsive ); ?>px;
- heading_font_size_unit_responsive && '' == $settings->heading_font_size_unit_responsive && isset( $settings->heading_font_size['small'] ) && '' != $settings->heading_font_size['small'] ) { ?>
+ heading_font_size_unit_responsive && '' === $settings->heading_font_size_unit_responsive && isset( $settings->heading_font_size['small'] ) && '' !== $settings->heading_font_size['small'] ) { ?>
font-size: heading_font_size['small'] ); ?>px;
- heading_font_size['small'] ) && '' == $settings->heading_font_size['small'] && isset( $settings->heading_line_height['small'] ) && '' != $settings->heading_line_height['small'] && '' == $settings->heading_line_height_unit && '' == $settings->heading_line_height_unit_medium && '' == $settings->heading_line_height_unit_responsive ) { ?>
+ heading_font_size['small'] ) && '' === $settings->heading_font_size['small'] && isset( $settings->heading_line_height['small'] ) && '' !== $settings->heading_line_height['small'] && '' === $settings->heading_line_height_unit && '' === $settings->heading_line_height_unit_medium && '' === $settings->heading_line_height_unit_responsive ) { ?>
line-height: heading_line_height['small'] ); ?>px;
- heading_line_height_unit_responsive ) && '' != $settings->heading_line_height_unit_responsive ) { ?>
+ heading_line_height_unit_responsive ) && '' !== $settings->heading_line_height_unit_responsive ) { ?>
line-height: heading_line_height_unit_responsive ); ?>em;
- heading_line_height_unit_responsive ) && '' == $settings->heading_line_height_unit_responsive && isset( $settings->heading_line_height['small'] ) && '' != $settings->heading_line_height['small'] ) { ?>
+ heading_line_height_unit_responsive ) && '' === $settings->heading_line_height_unit_responsive && isset( $settings->heading_line_height['small'] ) && '' !== $settings->heading_line_height['small'] ) { ?>
line-height: heading_line_height['small'] ); ?>px;
@@ -934,48 +934,48 @@
.fl-node- .info-table-heading .info-table-sub-heading {
- sub_heading_font_size_unit_responsive ) && '' != $settings->sub_heading_font_size_unit_responsive ) { ?>
+ sub_heading_font_size_unit_responsive ) && '' !== $settings->sub_heading_font_size_unit_responsive ) { ?>
font-size: sub_heading_font_size_unit_responsive ); ?>px;
- sub_heading_font_size_unit_responsive && '' == $settings->sub_heading_font_size_unit_responsive && isset( $settings->sub_heading_font_size['small'] ) && '' != $settings->sub_heading_font_size['small'] ) { ?>
+ sub_heading_font_size_unit_responsive && '' === $settings->sub_heading_font_size_unit_responsive && isset( $settings->sub_heading_font_size['small'] ) && '' !== $settings->sub_heading_font_size['small'] ) { ?>
font-size: sub_heading_font_size['small'] ); ?>px;
- sub_heading_font_size['small'] ) && '' == $settings->sub_heading_font_size['small'] && isset( $settings->sub_heading_line_height['small'] ) && '' != $settings->sub_heading_line_height['small'] && '' == $settings->sub_heading_line_height_unit && '' == $settings->sub_heading_line_height_unit_medium && '' == $settings->sub_heading_line_height_unit_responsive ) { ?>
+ sub_heading_font_size['small'] ) && '' === $settings->sub_heading_font_size['small'] && isset( $settings->sub_heading_line_height['small'] ) && '' !== $settings->sub_heading_line_height['small'] && '' === $settings->sub_heading_line_height_unit && '' === $settings->sub_heading_line_height_unit_medium && '' === $settings->sub_heading_line_height_unit_responsive ) { ?>
line-height: sub_heading_line_height['small'] ); ?>px;
- sub_heading_line_height_unit_responsive ) && '' != $settings->sub_heading_line_height_unit_responsive ) { ?>
+ sub_heading_line_height_unit_responsive ) && '' !== $settings->sub_heading_line_height_unit_responsive ) { ?>
line-height: sub_heading_line_height_unit_responsive ); ?>em;
- sub_heading_line_height_unit_responsive ) && '' == $settings->sub_heading_line_height_unit_responsive && isset( $settings->sub_heading_line_height['small'] ) && '' != $settings->sub_heading_line_height['small'] ) { ?>
+ sub_heading_line_height_unit_responsive ) && '' === $settings->sub_heading_line_height_unit_responsive && isset( $settings->sub_heading_line_height['small'] ) && '' !== $settings->sub_heading_line_height['small'] ) { ?>
line-height: sub_heading_line_height['small'] ); ?>px;
}
- description_font_size['small'] ) || isset( $settings->description_line_height['small'] ) || '' != $settings->description_font_size_unit_responsive || '' != $settings->description_line_height_unit_responsive || isset( $settings->description_line_height_unit ) || isset( $settings->description_line_height_unit_responsive ) ) { ?>
+ description_font_size['small'] ) || isset( $settings->description_line_height['small'] ) || '' !== $settings->description_font_size_unit_responsive || '' !== $settings->description_line_height_unit_responsive || isset( $settings->description_line_height_unit ) || isset( $settings->description_line_height_unit_responsive ) ) { ?>
.fl-node- .info-table .info-table-description {
- description_font_size_unit_responsive ) && '' != $settings->description_font_size_unit_responsive ) { ?>
+ description_font_size_unit_responsive ) && '' !== $settings->description_font_size_unit_responsive ) { ?>
font-size: description_font_size_unit_responsive ); ?>px;
- description_font_size_unit_responsive && '' == $settings->description_font_size_unit_responsive && isset( $settings->description_font_size['small'] ) && '' != $settings->description_font_size['small'] ) { ?>
+ description_font_size_unit_responsive && '' === $settings->description_font_size_unit_responsive && isset( $settings->description_font_size['small'] ) && '' !== $settings->description_font_size['small'] ) { ?>
font-size: description_font_size['small'] ); ?>px;
- description_font_size['small'] ) && '' == $settings->description_font_size['small'] && isset( $settings->description_line_height['small'] ) && '' != $settings->description_line_height['small'] && '' == $settings->description_line_height_unit && '' == $settings->description_line_height_unit_medium && '' == $settings->description_line_height_unit_responsive ) { ?>
+ description_font_size['small'] ) && '' === $settings->description_font_size['small'] && isset( $settings->description_line_height['small'] ) && '' !== $settings->description_line_height['small'] && '' === $settings->description_line_height_unit && '' === $settings->description_line_height_unit_medium && '' === $settings->description_line_height_unit_responsive ) { ?>
line-height: description_line_height['small'] ); ?>px;
- description_line_height_unit_responsive ) && '' != $settings->description_line_height_unit_responsive ) { ?>
+ description_line_height_unit_responsive ) && '' !== $settings->description_line_height_unit_responsive ) { ?>
line-height: description_line_height_unit_responsive ); ?>em;
- description_line_height_unit_responsive ) && '' == $settings->description_line_height_unit_responsive && isset( $settings->description_line_height['small'] ) && '' != $settings->description_line_height['small'] ) { ?>
+ description_line_height_unit_responsive ) && '' === $settings->description_line_height_unit_responsive && isset( $settings->description_line_height['small'] ) && '' !== $settings->description_line_height['small'] ) { ?>
line-height: description_line_height['small'] ); ?>px;
}
.fl-node- .info-table-description * {
- description_font_size['small'] ) && '' != $settings->description_font_size['small'] || '' != $settings->description_font_size_unit_responsive ) : ?>
+ description_font_size['small'] ) && '' !== $settings->description_font_size['small'] || '' !== $settings->description_font_size_unit_responsive ) : ?>
font-size: inherit;
- description_line_height['small'] ) && '' != $settings->description_line_height['small'] || '' != $settings->description_line_height_unit_responsive ) : ?>
+ description_line_height['small'] ) && '' !== $settings->description_line_height['small'] || '' !== $settings->description_line_height_unit_responsive ) : ?>
line-height: inherit;
}
@@ -984,19 +984,19 @@
btn_font_size['small'] ) || isset( $settings->btn_line_height['small'] ) || isset( $settings->btn_font_size_unit_responsive ) || isset( $settings->btn_line_height_unit_responsive ) || isset( $settings->btn_line_height_unit ) || isset( $settings->btn_line_height_unit_medium ) ) { ?>
.fl-node- .info-table-wrap .info-table-button a {
- btn_font_size_unit_responsive ) && '' != $settings->btn_font_size_unit_responsive ) { ?>
+ btn_font_size_unit_responsive ) && '' !== $settings->btn_font_size_unit_responsive ) { ?>
font-size: btn_font_size_unit_responsive ); ?>px;
- btn_font_size_unit_responsive && '' == $settings->btn_font_size_unit_responsive && isset( $settings->btn_font_size['small'] ) && '' != $settings->btn_font_size['small'] ) { ?>
+ btn_font_size_unit_responsive && '' === $settings->btn_font_size_unit_responsive && isset( $settings->btn_font_size['small'] ) && '' !== $settings->btn_font_size['small'] ) { ?>
font-size: btn_font_size['small'] ); ?>px;
- btn_font_size['small'] ) && '' == $settings->btn_font_size['small'] && isset( $settings->btn_line_height['small'] ) && '' != $settings->btn_line_height['small'] && '' == $settings->btn_line_height_unit && '' == $settings->btn_line_height_unit_medium && '' == $settings->btn_line_height_unit_responsive ) { ?>
+ btn_font_size['small'] ) && '' === $settings->btn_font_size['small'] && isset( $settings->btn_line_height['small'] ) && '' !== $settings->btn_line_height['small'] && '' === $settings->btn_line_height_unit && '' === $settings->btn_line_height_unit_medium && '' === $settings->btn_line_height_unit_responsive ) { ?>
line-height: btn_line_height['small'] ); ?>px;
- btn_line_height_unit_responsive ) && '' != $settings->btn_line_height_unit_responsive ) { ?>
+ btn_line_height_unit_responsive ) && '' !== $settings->btn_line_height_unit_responsive ) { ?>
line-height: btn_line_height_unit_responsive ); ?>em;
- btn_line_height_unit_responsive ) && '' == $settings->btn_line_height_unit_responsive && isset( $settings->btn_line_height['small'] ) && '' != $settings->btn_line_height['small'] ) { ?>
+ btn_line_height_unit_responsive ) && '' === $settings->btn_line_height_unit_responsive && isset( $settings->btn_line_height['small'] ) && '' !== $settings->btn_line_height['small'] ) { ?>
line-height: btn_line_height['small'] ); ?>px;
}
diff --git a/modules/info-table/includes/frontend.php b/modules/info-table/includes/frontend.php
index de7e07cc..1851825f 100644
--- a/modules/info-table/includes/frontend.php
+++ b/modules/info-table/includes/frontend.php
@@ -11,13 +11,13 @@
$link_nofollow = '';
}
?>
-it_link_type ) { ?>
+it_link_type ) { ?>
it_link_target, $link_nofollow, 1 ); ?>>
heading_tag_selection, $allowed_tags ) ? $settings->heading_tag_selection : 'h3';
?>
@@ -29,7 +29,7 @@
sub_heading_tag_selection ) . " class='info-table-sub-heading'>"; ?>
sub_heading ); ?>
sub_heading_tag_selection ) . '>'; ?>
- it_link_type && 'design02' == $settings->box_design ) { ?>
+ it_link_type && 'design02' === $settings->box_design ) { ?>
@@ -76,13 +76,13 @@
it_long_desc ); ?>
- it_link_type && 'design02' != $settings->box_design ) { ?>
+ it_link_type && 'design02' !== $settings->box_design ) { ?>
-it_link_type ) { ?>
+it_link_type ) { ?>
diff --git a/modules/info-table/info-table.php b/modules/info-table/info-table.php
index 5c49347f..73bb23dc 100644
--- a/modules/info-table/info-table.php
+++ b/modules/info-table/info-table.php
@@ -44,7 +44,7 @@ public function filter_settings( $settings, $helper ) {
$version_bb_check = UABB_Lite_Compatibility::check_bb_version();
$page_migrated = UABB_Lite_Compatibility::check_old_page_migration();
$stable_version_new_page = UABB_Lite_Compatibility::check_stable_version_new_page();
- if ( $version_bb_check && ( 'yes' == $page_migrated || 'yes' == $stable_version_new_page ) ) {
+ if ( $version_bb_check && ( 'yes' === $page_migrated || 'yes' === $stable_version_new_page ) ) {
if ( ! isset( $settings->heading_font_typo ) || ! is_array( $settings->heading_font_typo ) ) {
@@ -59,7 +59,7 @@ public function filter_settings( $settings, $helper ) {
}
if ( isset( $settings->heading_font_family['weight'] ) ) {
- if ( 'regular' == $settings->heading_font_family['weight'] ) {
+ if ( 'regular' === $settings->heading_font_family['weight'] ) {
$settings->heading_font_typo['font_weight'] = 'normal';
} else {
$settings->heading_font_typo['font_weight'] = $settings->heading_font_family['weight'];
@@ -125,7 +125,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->sub_heading_font_family['family'] );
}
if ( isset( $settings->sub_heading_font_family['weight'] ) ) {
- if ( 'regular' == $settings->sub_heading_font_family['weight'] ) {
+ if ( 'regular' === $settings->sub_heading_font_family['weight'] ) {
$settings->sub_heading_font_typo['font_weight'] = 'normal';
} else {
$settings->sub_heading_font_typo['font_weight'] = $settings->sub_heading_font_family['weight'];
@@ -195,7 +195,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->description_font_family['family'] );
}
if ( isset( $settings->description_font_family['weight'] ) ) {
- if ( 'regular' == $settings->description_font_family['weight'] ) {
+ if ( 'regular' === $settings->description_font_family['weight'] ) {
$settings->description_font_typo['font_weight'] = 'normal';
} else {
$settings->description_font_typo['font_weight'] = $settings->description_font_family['weight'];
@@ -264,7 +264,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->btn_font_family['family'] );
}
if ( isset( $settings->btn_font_family['weight'] ) ) {
- if ( 'regular' == $settings->btn_font_family['weight'] ) {
+ if ( 'regular' === $settings->btn_font_family['weight'] ) {
$settings->btn_font_typo['font_weight'] = 'normal';
} else {
$settings->btn_font_typo['font_weight'] = $settings->btn_font_family['weight'];
@@ -321,11 +321,11 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->btn_line_height_unit_responsive );
}
if ( isset( $settings->it_link_nofollow ) ) {
- if ( '1' == $settings->it_link_nofollow || 'yes' == $settings->it_link_nofollow ) {
+ if ( '1' === $settings->it_link_nofollow || 'yes' === $settings->it_link_nofollow ) {
$settings->it_link_nofollow = 'yes';
}
}
- } elseif ( $version_bb_check && 'yes' != $page_migrated ) {
+ } elseif ( $version_bb_check && 'yes' !== $page_migrated ) {
if ( ! isset( $settings->heading_font_typo ) || ! is_array( $settings->heading_font_typo ) ) {
$settings->heading_font_typo = array();
@@ -340,7 +340,7 @@ public function filter_settings( $settings, $helper ) {
}
if ( isset( $settings->heading_font_family['weight'] ) ) {
- if ( 'regular' == $settings->heading_font_family['weight'] ) {
+ if ( 'regular' === $settings->heading_font_family['weight'] ) {
$settings->heading_font_typo['font_weight'] = 'normal';
} else {
$settings->heading_font_typo['font_weight'] = $settings->heading_font_family['weight'];
@@ -367,7 +367,7 @@ public function filter_settings( $settings, $helper ) {
'unit' => 'px',
);
}
- if ( isset( $settings->heading_line_height['desktop'] ) && isset( $settings->heading_font_size['desktop'] ) && 0 != $settings->heading_font_size['desktop'] ) {
+ if ( isset( $settings->heading_line_height['desktop'] ) && isset( $settings->heading_font_size['desktop'] ) && 0 !== $settings->heading_font_size['desktop'] ) {
if ( is_numeric( $settings->heading_line_height['desktop'] ) && is_numeric( $settings->heading_font_size['desktop'] ) ) {
$settings->heading_font_typo['line_height'] = array(
'length' => round( $settings->heading_line_height['desktop'] / $settings->heading_font_size['desktop'], 2 ),
@@ -375,7 +375,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->heading_line_height['medium'] ) && isset( $settings->heading_font_size['medium'] ) && 0 != $settings->heading_font_size['medium'] ) {
+ if ( isset( $settings->heading_line_height['medium'] ) && isset( $settings->heading_font_size['medium'] ) && 0 !== $settings->heading_font_size['medium'] ) {
if ( is_numeric( $settings->heading_line_height['medium'] ) && is_numeric( $settings->heading_font_size['medium'] ) ) {
$settings->heading_font_typo_medium['line_height'] = array(
'length' => round( $settings->heading_line_height['medium'] / $settings->heading_font_size['medium'], 2 ),
@@ -383,7 +383,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->heading_line_height['small'] ) && isset( $settings->heading_font_size['small'] ) && 0 != $settings->heading_font_size['small'] ) {
+ if ( isset( $settings->heading_line_height['small'] ) && isset( $settings->heading_font_size['small'] ) && 0 !== $settings->heading_font_size['small'] ) {
if ( is_numeric( $settings->heading_line_height['small'] ) && is_numeric( $settings->heading_font_size['small'] ) ) {
$settings->heading_font_typo_responsive['line_height'] = array(
'length' => round( $settings->heading_line_height['small'] / $settings->heading_font_size['small'], 2 ),
@@ -405,7 +405,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->description_font_family['family'] );
}
if ( isset( $settings->description_font_family['weight'] ) ) {
- if ( 'regular' == $settings->description_font_family['weight'] ) {
+ if ( 'regular' === $settings->description_font_family['weight'] ) {
$settings->description_font_typo['font_weight'] = 'normal';
} else {
$settings->description_font_typo['font_weight'] = $settings->description_font_family['weight'];
@@ -431,7 +431,7 @@ public function filter_settings( $settings, $helper ) {
'unit' => 'px',
);
}
- if ( isset( $settings->description_line_height['desktop'] ) && isset( $settings->description_font_size['desktop'] ) && 0 != $settings->description_font_size['desktop'] ) {
+ if ( isset( $settings->description_line_height['desktop'] ) && isset( $settings->description_font_size['desktop'] ) && 0 !== $settings->description_font_size['desktop'] ) {
if ( is_numeric( $settings->description_line_height['desktop'] ) && is_numeric( $settings->description_font_size['desktop'] ) ) {
$settings->description_font_typo['line_height'] = array(
'length' => round( $settings->description_line_height['desktop'] / $settings->description_font_size['desktop'], 2 ),
@@ -439,7 +439,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->description_line_height['medium'] ) && isset( $settings->description_font_size['medium'] ) && 0 != $settings->description_font_size['medium'] ) {
+ if ( isset( $settings->description_line_height['medium'] ) && isset( $settings->description_font_size['medium'] ) && 0 !== $settings->description_font_size['medium'] ) {
if ( is_numeric( $settings->description_line_height['medium'] ) && is_numeric( $settings->description_font_size['medium'] ) ) {
$settings->description_font_typo_medium['line_height'] = array(
'length' => round( $settings->description_line_height['medium'] / $settings->description_font_size['medium'], 2 ),
@@ -447,7 +447,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->description_line_height['small'] ) && isset( $settings->description_font_size['small'] ) && 0 != $settings->description_font_size['small'] && ! isset( $settings->description_line_height_unit_responsive ) ) {
+ if ( isset( $settings->description_line_height['small'] ) && isset( $settings->description_font_size['small'] ) && 0 !== $settings->description_font_size['small'] && ! isset( $settings->description_line_height_unit_responsive ) ) {
if ( is_numeric( $settings->description_line_height['small'] ) && is_numeric( $settings->description_font_size['small'] ) ) {
$settings->description_font_typo_responsive['line_height'] = array(
'length' => round( $settings->description_line_height['small'] / $settings->description_font_size['small'], 2 ),
@@ -468,7 +468,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->sub_heading_font_family['family'] );
}
if ( isset( $settings->sub_heading_font_family['weight'] ) ) {
- if ( 'regular' == $settings->sub_heading_font_family['weight'] ) {
+ if ( 'regular' === $settings->sub_heading_font_family['weight'] ) {
$settings->sub_heading_font_typo['font_weight'] = 'normal';
} else {
$settings->sub_heading_font_typo['font_weight'] = $settings->sub_heading_font_family['weight'];
@@ -494,7 +494,7 @@ public function filter_settings( $settings, $helper ) {
'unit' => 'px',
);
}
- if ( isset( $settings->sub_heading_line_height['desktop'] ) && isset( $settings->sub_heading_font_size['desktop'] ) && 0 != $settings->sub_heading_font_size['desktop'] ) {
+ if ( isset( $settings->sub_heading_line_height['desktop'] ) && isset( $settings->sub_heading_font_size['desktop'] ) && 0 !== $settings->sub_heading_font_size['desktop'] ) {
if ( is_numeric( $settings->sub_heading_line_height['desktop'] ) && is_numeric( $settings->sub_heading_font_size['desktop'] ) ) {
$settings->sub_heading_font_typo['line_height'] = array(
'length' => round( $settings->sub_heading_line_height['desktop'] / $settings->sub_heading_font_size['desktop'], 2 ),
@@ -502,7 +502,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->sub_heading_line_height['medium'] ) && isset( $settings->sub_heading_font_size['medium'] ) && 0 != $settings->sub_heading_font_size['medium'] ) {
+ if ( isset( $settings->sub_heading_line_height['medium'] ) && isset( $settings->sub_heading_font_size['medium'] ) && 0 !== $settings->sub_heading_font_size['medium'] ) {
if ( is_numeric( $settings->sub_heading_line_height['medium'] ) && is_numeric( $settings->sub_heading_font_size['medium'] ) ) {
$settings->sub_heading_font_typo_medium['line_height'] = array(
'length' => round( $settings->sub_heading_line_height['medium'] / $settings->sub_heading_font_size['medium'], 2 ),
@@ -510,7 +510,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->sub_heading_line_height['small'] ) && isset( $settings->sub_heading_font_size['small'] ) && 0 != $settings->sub_heading_font_size['small'] ) {
+ if ( isset( $settings->sub_heading_line_height['small'] ) && isset( $settings->sub_heading_font_size['small'] ) && 0 !== $settings->sub_heading_font_size['small'] ) {
if ( is_numeric( $settings->sub_heading_line_height['small'] ) && is_numeric( $settings->sub_heading_font_size['small'] ) ) {
$settings->sub_heading_font_typo_responsive['line_height'] = array(
@@ -532,7 +532,7 @@ public function filter_settings( $settings, $helper ) {
unset( $settings->btn_font_family['family'] );
}
if ( isset( $settings->btn_font_family['weight'] ) ) {
- if ( 'regular' == $settings->btn_font_family['weight'] ) {
+ if ( 'regular' === $settings->btn_font_family['weight'] ) {
$settings->btn_font_typo['font_weight'] = 'normal';
} else {
$settings->btn_font_typo['font_weight'] = $settings->btn_font_family['weight'];
@@ -558,7 +558,7 @@ public function filter_settings( $settings, $helper ) {
'unit' => 'px',
);
}
- if ( isset( $settings->btn_line_height['desktop'] ) && isset( $settings->btn_font_size['desktop'] ) && 0 != $settings->btn_font_size['desktop'] ) {
+ if ( isset( $settings->btn_line_height['desktop'] ) && isset( $settings->btn_font_size['desktop'] ) && 0 !== $settings->btn_font_size['desktop'] ) {
if ( is_numeric( $settings->btn_line_height['desktop'] ) && is_numeric( $settings->btn_font_size['desktop'] ) ) {
$settings->btn_font_typo['line_height'] = array(
'length' => round( $settings->btn_line_height['desktop'] / $settings->btn_font_size['desktop'], 2 ),
@@ -566,7 +566,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->btn_line_height['medium'] ) && isset( $settings->btn_font_size['medium'] ) && 0 != $settings->btn_font_size['medium'] && ! isset( $settings->btn_line_height_unit_medium ) ) {
+ if ( isset( $settings->btn_line_height['medium'] ) && isset( $settings->btn_font_size['medium'] ) && 0 !== $settings->btn_font_size['medium'] && ! isset( $settings->btn_line_height_unit_medium ) ) {
if ( is_numeric( $settings->btn_line_height['medium'] ) && is_numeric( $settings->btn_font_size['medium'] ) ) {
$settings->btn_font_typo_medium['line_height'] = array(
'length' => round( $settings->btn_line_height['medium'] / $settings->btn_font_size['medium'], 2 ),
@@ -574,7 +574,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->btn_line_height['small'] ) && isset( $settings->btn_font_size['small'] ) && 0 != $settings->btn_font_size['small'] ) {
+ if ( isset( $settings->btn_line_height['small'] ) && isset( $settings->btn_font_size['small'] ) && 0 !== $settings->btn_font_size['small'] ) {
if ( is_numeric( $settings->btn_line_height['small'] ) && is_numeric( $settings->btn_font_size['small'] ) ) {
$settings->btn_font_typo_responsive['line_height'] = array(
'length' => round( $settings->btn_line_height['small'] / $settings->btn_font_size['small'], 2 ),
@@ -583,7 +583,7 @@ public function filter_settings( $settings, $helper ) {
}
}
if ( isset( $settings->it_link_nofollow ) ) {
- if ( '1' == $settings->it_link_nofollow || 'yes' == $settings->it_link_nofollow ) {
+ if ( '1' === $settings->it_link_nofollow || 'yes' === $settings->it_link_nofollow ) {
$settings->it_link_nofollow = 'yes';
}
}
diff --git a/modules/ribbon/includes/frontend.css.php b/modules/ribbon/includes/frontend.css.php
index 802a48ee..856dd2c2 100644
--- a/modules/ribbon/includes/frontend.css.php
+++ b/modules/ribbon/includes/frontend.css.php
@@ -26,10 +26,10 @@
}
.fl-node- .uabb-ribbon-wrap .uabb-ribbon-text {
- ribbon_bg_type ) { ?>
- background: ribbon_color ) ) ? uabb_theme_base_color( $settings->ribbon_color ) : '#f7f7f7'; ?>;
+ ribbon_bg_type ) { ?>
+ background: ribbon_color ) ) ? uabb_theme_base_color( $settings->ribbon_color ) : '#f7f7f7'; ?>;
ribbon_bg_type ) {
+ } elseif ( 'gradient' === $settings->ribbon_bg_type ) {
UABB_Helper::uabb_gradient_css( $settings->gradient_color );
}
?>
@@ -37,23 +37,23 @@
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- text_font_size_unit ) && '' != $settings->text_font_size_unit ) { ?>
+ text_font_size_unit ) && '' !== $settings->text_font_size_unit ) { ?>
font-size: text_font_size_unit ); ?>px;
- text_font_size_unit ) && '' == $settings->text_font_size_unit && isset( $settings->text_font_size['desktop'] ) && '' != $settings->text_font_size['desktop'] ) { ?>
+ text_font_size_unit ) && '' === $settings->text_font_size_unit && isset( $settings->text_font_size['desktop'] ) && '' !== $settings->text_font_size['desktop'] ) { ?>
font-size: text_font_size['desktop'] ); ?>px;
- text_font_size['desktop'] ) && '' == $settings->text_font_size['desktop'] && isset( $settings->text_line_height['desktop'] ) && '' != $settings->text_line_height['desktop'] && '' == $settings->text_line_height_unit ) { ?>
+ text_font_size['desktop'] ) && '' === $settings->text_font_size['desktop'] && isset( $settings->text_line_height['desktop'] ) && '' !== $settings->text_line_height['desktop'] && '' === $settings->text_line_height_unit ) { ?>
line-height: text_line_height['desktop'] ); ?>px;
- text_line_height_unit ) && '' != $settings->text_line_height_unit ) { ?>
+ text_line_height_unit ) && '' !== $settings->text_line_height_unit ) { ?>
line-height: text_line_height_unit ); ?>em;
- text_line_height_unit ) && '' == $settings->text_line_height_unit && isset( $settings->text_line_height['desktop'] ) && '' != $settings->text_line_height['desktop'] ) { ?>
+ text_line_height_unit ) && '' === $settings->text_line_height_unit && isset( $settings->text_line_height['desktop'] ) && '' !== $settings->text_line_height['desktop'] ) { ?>
line-height: text_line_height['desktop'] ); ?>px;
text_font_family['family'] ) {
+ if ( 'Default' !== $settings->text_font_family['family'] ) {
UABB_Helper::uabb_font_css( $settings->text_font_family );
}
?>
@@ -72,25 +72,25 @@
}
?>
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- /*background: ribbon_color ) ) ? uabb_theme_base_color( $settings->ribbon_color ) : '#f7f7f7'; ?>;*/
+ /*background: ribbon_color ) ) ? uabb_theme_base_color( $settings->ribbon_color ) : '#f7f7f7'; ?>;*/
text_color ) ? 'color: ' . esc_attr( $settings->text_color ) . ';' : '';
+ echo ( '' !== $settings->text_color ) ? 'color: ' . esc_attr( $settings->text_color ) . ';' : '';
?>
text_shadow_color ) ? 'text-shadow: ' . esc_attr( $settings->text_shadow_color ) . ' 0 1px 0;' : '';
+ echo ( '' !== $settings->text_shadow_color ) ? 'text-shadow: ' . esc_attr( $settings->text_shadow_color ) . ' 0 1px 0;' : '';
?>
display: inline-block;
- shadow ) { ?>
+ shadow ) { ?>
box-shadow: rgba(000,000,000,0.3) 0 1px 1px;
ribbon_width ) {
+ if ( 'full' === $settings->ribbon_width ) {
?>
width: 100%;
width: calc(100% - 7em);
- ribbon_width ) { ?>
- width: calc(custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px - 7em);
+ ribbon_width ) { ?>
+ width: calc(custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px - 7em);
max-width: 100%;
max-width: calc(100% - 7em);
@@ -101,7 +101,7 @@
color: icon_color ); ?>;
}
-ribbon_resp ) : ?>
+ribbon_resp ) : ?>
.fl-node- .uabb-ribbon .uabb-ribbon-text:before,
.fl-node- .uabb-ribbon .uabb-ribbon-text:after {
border-style: solid;
@@ -121,7 +121,7 @@
border-left-width: 1.5em;
border-left-color: transparent;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(0,0,0,0.3) 2px 2px 1px;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(0,0,0,0.3) -2px 2px 1px;
.uabb-ribbon-wrap .uabb-ribbon {
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
left: 3.5em;
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
right: 3.5em;
}
@@ -201,7 +201,7 @@
border-width: 1em 1em 0 0;
}
-ribbon_resp ) : ?>
+ribbon_resp ) : ?>
@media all and ( min-width: responsive_breakpoint ); ?>px ) {
.fl-node- .uabb-ribbon .uabb-ribbon-text:before,
.fl-node- .uabb-ribbon .uabb-ribbon-text:after {
@@ -222,7 +222,7 @@
border-left-width: 1.5em;
border-left-color: transparent;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(000,000,000,0.4) 1px 1px 1px;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(000,000,000,0.4) -1px 1px 1px;
.uabb-ribbon-wrap .uabb-ribbon {
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
left: 3.5em;
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
right: 3.5em;
}
@@ -305,18 +305,18 @@
}
@media ( max-width: responsive_breakpoint ); ?>px ) {
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- ribbon_width ) { ?>
+ ribbon_width ) { ?>
width: 100%;
- ribbon_width ) { ?>
+ ribbon_width ) { ?>
width: auto;
- width: custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px;
+ width: custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px;
max-width: 100%;
}
- left_icon && '' == $settings->right_icon ) : ?>
+ left_icon && '' === $settings->right_icon ) : ?>
.fl-node- .uabb-ribbon .uabb-ribbon-text {
padding: 0.5em 1em;
}
@@ -343,7 +343,7 @@
border-left-width: 1.5em;
border-left-color: transparent;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(000,000,000,0.4) 1px 1px 0px;
shadow ) {
+ if ( 'yes' === $settings->shadow ) {
?>
box-shadow: rgba(000,000,000,0.4) -1px 1px 0px;
.uabb-ribbon-wrap .uabb-ribbon {
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
left: 3.5em;
- ribbon_align ) { ?>
+ ribbon_align ) { ?>
right: 3.5em;
}
@@ -425,17 +425,17 @@
}
@media ( max-width: medium_breakpoint ); ?>px ) {
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- ribbon_width ) { ?>
+ ribbon_width ) { ?>
width: 100%;
- ribbon_width ) { ?>
+ ribbon_width ) { ?>
width: auto;
- width: custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px;
+ width: custom_width ) ? esc_attr( $settings->custom_width ) : '500'; ?>px;
max-width: 100%;
}
- left_icon && '' == $settings->right_icon ) : ?>
+ left_icon && '' === $settings->right_icon ) : ?>
.fl-node- .uabb-ribbon .uabb-ribbon-text {
padding: 0.5em 1em;
}
@@ -450,22 +450,22 @@
@media ( max-width: medium_breakpoint ); ?>px ) {
text_line_height['medium'] ) && '' != $settings->text_line_height['medium'] || isset( $settings->text_font_size['medium'] ) && '' != $settings->text_font_size['medium'] || isset( $settings->text_line_height_unit ) || 'auto' == $settings->ribbon_width ) {
+ if ( isset( $settings->text_line_height['medium'] ) && '' !== $settings->text_line_height['medium'] || isset( $settings->text_font_size['medium'] ) && '' !== $settings->text_font_size['medium'] || isset( $settings->text_line_height_unit ) || 'auto' === $settings->ribbon_width ) {
?>
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- text_font_size_unit_medium ) && '' != $settings->text_font_size_unit_medium ) { ?>
+ text_font_size_unit_medium ) && '' !== $settings->text_font_size_unit_medium ) { ?>
font-size: text_font_size_unit_medium ); ?>px;
- text_font_size_unit_medium ) && '' == $settings->text_font_size_unit_medium && isset( $settings->text_font_size['medium'] ) && '' != $settings->text_font_size['medium'] ) { ?>
+ text_font_size_unit_medium ) && '' === $settings->text_font_size_unit_medium && isset( $settings->text_font_size['medium'] ) && '' !== $settings->text_font_size['medium'] ) { ?>
font-size: text_font_size['medium'] ); ?>px;
- text_font_size['medium'] ) && '' == $settings->text_font_size['medium'] && isset( $settings->text_line_height['medium'] ) && '' != $settings->text_line_height['medium'] && '' == $settings->text_line_height_unit && '' == $settings->text_line_height_unit_medium ) { ?>
+ text_font_size['medium'] ) && '' === $settings->text_font_size['medium'] && isset( $settings->text_line_height['medium'] ) && '' !== $settings->text_line_height['medium'] && '' === $settings->text_line_height_unit && '' === $settings->text_line_height_unit_medium ) { ?>
line-height: text_line_height['medium'] ); ?>px;
- text_line_height_unit_medium ) && '' != $settings->text_line_height_unit_medium ) { ?>
+ text_line_height_unit_medium ) && '' !== $settings->text_line_height_unit_medium ) { ?>
line-height: text_line_height_unit_medium ); ?>em;
- text_line_height_unit_medium ) && '' == $settings->text_line_height_unit_medium && isset( $settings->text_line_height['medium'] ) && '' != $settings->text_line_height['medium'] ) { ?>
+ text_line_height_unit_medium ) && '' === $settings->text_line_height_unit_medium && isset( $settings->text_line_height['medium'] ) && '' !== $settings->text_line_height['medium'] ) { ?>
line-height: text_line_height['medium'] ); ?>px;
@@ -479,19 +479,19 @@
.fl-node- .uabb-ribbon-wrap .uabb-ribbon {
- text_font_size_unit_responsive ) && '' != $settings->text_font_size_unit_responsive ) { ?>
+ text_font_size_unit_responsive ) && '' !== $settings->text_font_size_unit_responsive ) { ?>
font-size: text_font_size_unit_responsive ); ?>px;
- text_font_size_unit_responsive && '' == $settings->text_font_size_unit_responsive && isset( $settings->text_font_size['small'] ) && '' != $settings->text_font_size['small'] ) { ?>
+ text_font_size_unit_responsive && '' === $settings->text_font_size_unit_responsive && isset( $settings->text_font_size['small'] ) && '' !== $settings->text_font_size['small'] ) { ?>
font-size: text_font_size['small'] ); ?>px;
- text_font_size['small'] ) && '' == $settings->text_font_size['small'] && isset( $settings->text_line_height['small'] ) && '' != $settings->text_line_height['small'] && '' == $settings->text_line_height_unit && '' == $settings->text_line_height_unit_medium && '' == $settings->text_line_height_unit_responsive ) { ?>
+ text_font_size['small'] ) && '' === $settings->text_font_size['small'] && isset( $settings->text_line_height['small'] ) && '' !== $settings->text_line_height['small'] && '' === $settings->text_line_height_unit && '' === $settings->text_line_height_unit_medium && '' === $settings->text_line_height_unit_responsive ) { ?>
line-height: text_line_height['small'] ); ?>px;
text_line_height_unit_responsive ) && '' != $settings->text_line_height_unit_responsive ) { ?>
line-height: text_line_height_unit_responsive ); ?>em;
- text_line_height_unit_responsive ) && '' == $settings->text_line_height_unit_responsive && isset( $settings->text_line_height['small'] ) && '' != $settings->text_line_height['small'] ) { ?>
+ text_line_height_unit_responsive ) && '' === $settings->text_line_height_unit_responsive && isset( $settings->text_line_height['small'] ) && '' !== $settings->text_line_height['small'] ) { ?>
line-height: text_line_height['small'] ); ?>px;
diff --git a/modules/ribbon/includes/frontend.php b/modules/ribbon/includes/frontend.php
index 3098cad8..e16629cf 100644
--- a/modules/ribbon/includes/frontend.php
+++ b/modules/ribbon/includes/frontend.php
@@ -11,7 +11,7 @@
?>
text_tag_selection, $allowed_tags ) ? $settings->text_tag_selection : 'h3';
?>
@@ -20,12 +20,12 @@
stitching ) {
+ if ( 'yes' === $settings->stitching ) {
?>
title ); ?>
stitching ) {
+ if ( 'yes' === $settings->stitching ) {
?>
diff --git a/modules/ribbon/ribbon.php b/modules/ribbon/ribbon.php
index bf53eefa..b89f406c 100644
--- a/modules/ribbon/ribbon.php
+++ b/modules/ribbon/ribbon.php
@@ -45,7 +45,7 @@ public function filter_settings( $settings, $helper ) {
$page_migrated = UABB_Lite_Compatibility::check_old_page_migration();
$stable_version_new_page = UABB_Lite_Compatibility::check_stable_version_new_page();
- if ( $version_bb_check && ( 'yes' == $page_migrated || 'yes' == $stable_version_new_page ) ) {
+ if ( $version_bb_check && ( 'yes' === $page_migrated || 'yes' === $stable_version_new_page ) ) {
if ( ! isset( $settings->font_typo ) || ! is_array( $settings->font_typo ) ) {
@@ -62,7 +62,7 @@ public function filter_settings( $settings, $helper ) {
}
if ( isset( $settings->text_font_family['weight'] ) ) {
- if ( 'regular' == $settings->text_font_family['weight'] ) {
+ if ( 'regular' === $settings->text_font_family['weight'] ) {
$settings->font_typo['font_weight'] = 'normal';
} else {
$settings->font_typo['font_weight'] = $settings->text_font_family['weight'];
@@ -117,7 +117,7 @@ public function filter_settings( $settings, $helper ) {
);
unset( $settings->text_line_height_unit_responsive );
}
- } elseif ( $version_bb_check && 'yes' != $page_migrated ) {
+ } elseif ( $version_bb_check && 'yes' !== $page_migrated ) {
if ( ! isset( $settings->font_typo ) || ! is_array( $settings->font_typo ) ) {
@@ -134,7 +134,7 @@ public function filter_settings( $settings, $helper ) {
}
if ( isset( $settings->text_font_family['weight'] ) ) {
- if ( 'regular' == $settings->text_font_family['weight'] ) {
+ if ( 'regular' === $settings->text_font_family['weight'] ) {
$settings->font_typo['font_weight'] = 'normal';
} else {
$settings->font_typo['font_weight'] = $settings->text_font_family['weight'];
@@ -163,7 +163,7 @@ public function filter_settings( $settings, $helper ) {
'unit' => 'px',
);
}
- if ( isset( $settings->text_line_height['desktop'] ) && isset( $settings->text_font_size['desktop'] ) && 0 != $settings->text_font_size['desktop'] && ! isset( $settings->font_typo['line_height'] ) ) {
+ if ( isset( $settings->text_line_height['desktop'] ) && isset( $settings->text_font_size['desktop'] ) && 0 !== $settings->text_font_size['desktop'] && ! isset( $settings->font_typo['line_height'] ) ) {
if ( is_numeric( $settings->text_line_height['desktop'] ) && is_numeric( $settings->text_font_size['desktop'] ) ) {
$settings->font_typo['line_height'] = array(
'length' => round( $settings->text_line_height['desktop'] / $settings->text_font_size['desktop'], 2 ),
@@ -171,7 +171,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->text_line_height['medium'] ) && isset( $settings->text_font_size['medium'] ) && 0 != $settings->text_font_size['medium'] && ! isset( $settings->font_typo_medium['line_height'] ) ) {
+ if ( isset( $settings->text_line_height['medium'] ) && isset( $settings->text_font_size['medium'] ) && 0 !== $settings->text_font_size['medium'] && ! isset( $settings->font_typo_medium['line_height'] ) ) {
if ( is_numeric( $settings->text_line_height['medium'] ) && is_numeric( $settings->text_font_size['medium'] ) ) {
$settings->font_typo_medium['line_height'] = array(
'length' => round( $settings->text_line_height['medium'] / $settings->text_font_size['medium'], 2 ),
@@ -179,7 +179,7 @@ public function filter_settings( $settings, $helper ) {
);
}
}
- if ( isset( $settings->text_line_height['small'] ) && isset( $settings->text_font_size['small'] ) && 0 != $settings->text_font_size['small'] && ! isset( $settings->font_typo_responsive['line_height'] ) ) {
+ if ( isset( $settings->text_line_height['small'] ) && isset( $settings->text_font_size['small'] ) && 0 !== $settings->text_font_size['small'] && ! isset( $settings->font_typo_responsive['line_height'] ) ) {
if ( is_numeric( $settings->text_line_height['small'] ) && is_numeric( $settings->text_font_size['small'] ) ) {
$settings->font_typo_responsive['line_height'] = array(
'length' => round( $settings->text_line_height['small'] / $settings->text_font_size['small'], 2 ),
@@ -218,7 +218,7 @@ public function filter_settings( $settings, $helper ) {
*/
public function get_icon( $icon = '' ) {
// check if $icon is referencing an included icon.
- if ( '' != $icon && file_exists( BB_ULTIMATE_ADDON_DIR . 'modules/ribbon/icon/' . $icon ) ) {
+ if ( '' !== $icon && file_exists( BB_ULTIMATE_ADDON_DIR . 'modules/ribbon/icon/' . $icon ) ) {
$path = BB_ULTIMATE_ADDON_DIR . 'modules/ribbon/icon/' . $icon;
}
diff --git a/modules/slide-box/includes/frontend.css.php b/modules/slide-box/includes/frontend.css.php
index c453d8c4..fcf3a2ff 100644
--- a/modules/slide-box/includes/frontend.css.php
+++ b/modules/slide-box/includes/frontend.css.php
@@ -47,20 +47,20 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-front {
front_padding_dimension_top ) && isset( $settings->front_padding_dimension_bottom ) && '' != $settings->front_padding_dimension_top && '' != $settings->front_padding_dimension_bottom && isset( $settings->front_padding_dimension_left ) && '' != $settings->front_padding_dimension_left && isset( $settings->front_padding_dimension_right ) && '' != $settings->front_padding_dimension_right ) {
+ if ( 'yes' === $converted || isset( $settings->front_padding_dimension_top ) && isset( $settings->front_padding_dimension_bottom ) && '' !== $settings->front_padding_dimension_top && '' !== $settings->front_padding_dimension_bottom && isset( $settings->front_padding_dimension_left ) && '' !== $settings->front_padding_dimension_left && isset( $settings->front_padding_dimension_right ) && '' !== $settings->front_padding_dimension_right ) {
if ( isset( $settings->front_padding_dimension_top ) ) {
- echo ( '' != $settings->front_padding_dimension_top ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top ) . 'px;' : 'padding-top: 25px;';
+ echo ( '' !== $settings->front_padding_dimension_top ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top ) . 'px;' : 'padding-top: 25px;';
}
if ( isset( $settings->front_padding_dimension_bottom ) ) {
- echo ( '' != $settings->front_padding_dimension_bottom ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom ) . 'px;' : 'padding-bottom: 25px;';
+ echo ( '' !== $settings->front_padding_dimension_bottom ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom ) . 'px;' : 'padding-bottom: 25px;';
}
if ( isset( $settings->front_padding_dimension_left ) ) {
- echo ( '' != $settings->front_padding_dimension_left ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left ) . 'px;' : 'padding-left: 25px;';
+ echo ( '' !== $settings->front_padding_dimension_left ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left ) . 'px;' : 'padding-left: 25px;';
}
if ( isset( $settings->front_padding_dimension_right ) ) {
- echo ( '' != $settings->front_padding_dimension_right ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right ) . 'px;' : 'padding-right: 25px;';
+ echo ( '' !== $settings->front_padding_dimension_right ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right ) . 'px;' : 'padding-right: 25px;';
}
- } elseif ( isset( $settings->front_padding ) && '' != $settings->front_padding && isset( $settings->front_padding_dimension_top ) && '' == $settings->front_padding_dimension_top && isset( $settings->front_padding_dimension_bottom ) && '' == $settings->front_padding_dimension_bottom && isset( $settings->front_padding_dimension_left ) && '' == $settings->front_padding_dimension_left && isset( $settings->front_padding_dimension_right ) && '' == $settings->front_padding_dimension_right ) {
+ } elseif ( isset( $settings->front_padding ) && '' !== $settings->front_padding && isset( $settings->front_padding_dimension_top ) && '' === $settings->front_padding_dimension_top && isset( $settings->front_padding_dimension_bottom ) && '' === $settings->front_padding_dimension_bottom && isset( $settings->front_padding_dimension_left ) && '' === $settings->front_padding_dimension_left && isset( $settings->front_padding_dimension_right ) && '' === $settings->front_padding_dimension_right ) {
echo esc_attr( $settings->front_padding );
?>
;
@@ -70,20 +70,20 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-down {
back_padding_dimension_top ) && '' != $settings->back_padding_dimension_top && isset( $settings->back_padding_dimension_bottom ) && '' != $settings->back_padding_dimension_bottom && isset( $settings->back_padding_dimension_left ) && '' != $settings->back_padding_dimension_left && isset( $settings->back_padding_dimension_right ) && '' != $settings->back_padding_dimension_right ) {
+ if ( 'yes' === $converted || isset( $settings->back_padding_dimension_top ) && '' !== $settings->back_padding_dimension_top && isset( $settings->back_padding_dimension_bottom ) && '' !== $settings->back_padding_dimension_bottom && isset( $settings->back_padding_dimension_left ) && '' !== $settings->back_padding_dimension_left && isset( $settings->back_padding_dimension_right ) && '' !== $settings->back_padding_dimension_right ) {
if ( isset( $settings->back_padding_dimension_top ) ) {
- echo ( '' != $settings->back_padding_dimension_top ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top ) . 'px;' : 'padding-top: 25px;';
+ echo ( '' !== $settings->back_padding_dimension_top ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top ) . 'px;' : 'padding-top: 25px;';
}
if ( isset( $settings->back_padding_dimension_bottom ) ) {
- echo ( '' != $settings->back_padding_dimension_bottom ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom ) . 'px;' : 'padding-bottom: 25px;';
+ echo ( '' !== $settings->back_padding_dimension_bottom ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom ) . 'px;' : 'padding-bottom: 25px;';
}
if ( isset( $settings->back_padding_dimension_left ) ) {
- echo ( '' != $settings->back_padding_dimension_left ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left ) . 'px;' : 'padding-left: 25px;';
+ echo ( '' !== $settings->back_padding_dimension_left ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left ) . 'px;' : 'padding-left: 25px;';
}
if ( isset( $settings->back_padding_dimension_right ) ) {
- echo ( '' != $settings->back_padding_dimension_right ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right ) . 'px;' : 'padding-right: 25px;';
+ echo ( '' !== $settings->back_padding_dimension_right ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right ) . 'px;' : 'padding-right: 25px;';
}
- } elseif ( isset( $settings->back_padding ) && '' != $settings->back_padding && isset( $settings->back_padding_dimension_top ) && '' == $settings->back_padding_dimension_top && isset( $settings->back_padding_dimension_bottom ) && '' == $settings->back_padding_dimension_bottom && isset( $settings->back_padding_dimension_left ) && '' == $settings->back_padding_dimension_left && isset( $settings->back_padding_dimension_right ) && '' == $settings->back_padding_dimension_right ) {
+ } elseif ( isset( $settings->back_padding ) && '' !== $settings->back_padding && isset( $settings->back_padding_dimension_top ) && '' === $settings->back_padding_dimension_top && isset( $settings->back_padding_dimension_bottom ) && '' === $settings->back_padding_dimension_bottom && isset( $settings->back_padding_dimension_left ) && '' === $settings->back_padding_dimension_left && isset( $settings->back_padding_dimension_right ) && '' === $settings->back_padding_dimension_right ) {
echo esc_attr( $settings->back_padding );
?>
;
@@ -201,18 +201,18 @@
?>
.fl-node- .uabb-icon-wrap .uabb-icon i {
-front_img_icon_position ) : ?>
+front_img_icon_position ) : ?>
width: auto;
-front_img_icon_position || 'right' == $settings->front_img_icon_position ) : ?>
+front_img_icon_position || 'right' === $settings->front_img_icon_position ) : ?>
direction: rtl;
}
-image_type ) { ?>
+image_type ) { ?>
/* Icon */
icon_hover_color ) {
+ if ( '' !== $settings->icon_hover_color ) {
?>
.fl-node- .uabb-slide_type ); ?>.open-slidedown .uabb-slide-box-section .uabb-imgicon-wrap .uabb-icon i,
.fl-node- .uabb-slide_type ); ?>.open-slidedown .uabb-slide-box-section .uabb-imgicon-wrap .uabb-icon i:before {
@@ -226,12 +226,12 @@
/* Render Button CSS */
cta_type ) {
- ( '' != $settings->button ) ? FLBuilder::render_module_css( 'uabb-button', $id, $settings->button ) : '';
+if ( 'button' === $settings->cta_type ) {
+ ( '' !== $settings->button ) ? FLBuilder::render_module_css( 'uabb-button', $id, $settings->button ) : '';
}
?>
-overlay_color ) { ?>
+overlay_color ) { ?>
.fl-node- .uabb-slide-box-overlay {
background: overlay_color ); ?>;
}
@@ -240,7 +240,7 @@
.fl-node- .fl-module-content .uabb-slide-dropdown .uabb-icon i,
.fl-node- .fl-module-content .uabb-slide-dropdown .uabb-icon i:before {
font-size: dropdown_icon_size ); ?>px;
- slide_type ) { ?>
+ slide_type ) { ?>
color: dropdown_icon_color ); ?>;
background: dropdown_icon_bg_color ); ?>;
border-radius: 100%;
@@ -251,7 +251,7 @@
width: 1.75em;
text-align: center;
slide_type ) {
+ } elseif ( 'style3' === $settings->slide_type ) {
?>
color: dropdown_plus_icon_color ); ?>;
.uabb-slide-box-overlay .uabb-icon i:before {
color: overlay_icon_color ); ?>;
font-size: overlay_icon_size ); ?>px;
- overlay_icon_bg_color ) && trim( $settings->overlay_icon_bg_color ) != '' ) : ?>
+ overlay_icon_bg_color ) && trim( $settings->overlay_icon_bg_color ) !== '' ) : ?>
background: overlay_icon_bg_color ); ?>;
border-radius: 100%;
-moz-border-radius: 100%;
@@ -277,8 +277,8 @@
.fl-node- .uabb-slide-box .uabb-slide-down {
text-align: back_alignment ); ?>;
- back_background_color ) ? 'background:' . esc_attr( $settings->back_background_color ) . ';' : ''; ?>
- set_min_height && ! empty( $settings->slide_min_height ) ) { ?>
+ back_background_color ) ? 'background:' . esc_attr( $settings->back_background_color ) . ';' : ''; ?>
+ set_min_height && ! empty( $settings->slide_min_height ) ) { ?>
min-height: slide_min_height ); ?>px;
justify-content : slide_vertical_align ); ?>;
@@ -287,11 +287,11 @@
/* Front Slide Vertical Alignment */
.fl-node- .uabb-slide-box .uabb-slide-front {
background: front_background_color ); ?>;
- front_img_icon_position ) { ?>
+ front_img_icon_position ) { ?>
text-align: front_alignment ); ?>;
set_min_height && ! empty( $settings->slide_min_height ) ) {
+ if ( 'default' !== $settings->set_min_height && ! empty( $settings->slide_min_height ) ) {
?>
min-height: slide_min_height ); ?>px;
justify-content : slide_vertical_align ); ?>;
@@ -301,21 +301,21 @@
}
/* Calculated Width Slidebox */
-front_img_icon_position && 'none' != $settings->image_type ) { ?>
+front_img_icon_position && 'none' !== $settings->image_type ) { ?>
image_type ) {
+ if ( 'photo' === $settings->image_type ) {
$extra_width = $settings->img_size;
- if ( 'custom' == $settings->image_style ) {
+ if ( 'custom' === $settings->image_style ) {
$extra_width = $extra_width + intval( $settings->img_bg_size ) * 2;
}
$extra_width = $extra_width + 15;
- } elseif ( 'icon' == $settings->image_type ) {
+ } elseif ( 'icon' === $settings->image_type ) {
$extra_width = $settings->icon_size + 15;
}
?>
- front_img_icon_position || 'right' == $settings->front_img_icon_position ) { ?>
+ front_img_icon_position || 'right' === $settings->front_img_icon_position ) { ?>
.fl-node- .uabb-slide-front-right-text {
width: calc( 100% - px );
@@ -327,7 +327,7 @@
vertical-align: front_align_items ); ?>;
}
- front_icon_border ) { ?>
+ front_icon_border ) { ?>
.fl-node- .uabb-slide-icon-border {
position: absolute;
height: 100%;
@@ -339,24 +339,24 @@
width: calc( 100% - front_icon_border_size ); ?>px );
}
.fl-node- .open-slidedown .uabb-slide-icon-border {
- front_icon_border_hover_color ) ? 'border-color: ' . esc_attr( $settings->front_icon_border_hover_color ) . ';' : ''; ?>
+ front_icon_border_hover_color ) ? 'border-color: ' . esc_attr( $settings->front_icon_border_hover_color ) . ';' : ''; ?>
}
.fl-node- .uabb-slide-icon-left .uabb-slide-icon-border,
.fl-node- .uabb-slide-photo-left .uabb-slide-icon-border {
border-right-style: solid;
- front_icon_border_color ) ? 'border-right-color: ' . esc_attr( $settings->front_icon_border_color ) . ';' : ''; ?>
+ front_icon_border_color ) ? 'border-right-color: ' . esc_attr( $settings->front_icon_border_color ) . ';' : ''; ?>
border-right-width: front_icon_border_size ); ?>px;
}
.fl-node- .uabb-slide-icon-right .uabb-slide-icon-border,
.fl-node- .uabb-slide-photo-right .uabb-slide-icon-border {
border-left-style: solid;
- front_icon_border_color ) ? 'border-left-color: ' . esc_attr( $settings->front_icon_border_color ) . ';' : ''; ?>
+ front_icon_border_color ) ? 'border-left-color: ' . esc_attr( $settings->front_icon_border_color ) . ';' : ''; ?>
border-left-width: front_icon_border_size ); ?>px;
}
.fl-node- .uabb-slide-icon-left .uabb-slide-front-right-text,
.fl-node- .uabb-slide-photo-left .uabb-slide-front-right-text {
- front_icon_border_size ) { ?>
+ front_icon_border_size ) { ?>
padding-left: front_icon_border_size + 15 ); ?>px;
padding-left: 15px;
@@ -370,7 +370,7 @@
.fl-node- .uabb-slide-icon-right .uabb-slide-front-right-img,
.fl-node- .uabb-slide-photo-right .uabb-slide-front-right-img {
- front_icon_border_size ) { ?>
+ front_icon_border_size ) { ?>
padding-left: front_icon_border_size + 15 ); ?>px
padding-left: 15px;
@@ -380,7 +380,7 @@
- front_img_icon_position || 'right-title' == $settings->front_img_icon_position ) { ?>
+ front_img_icon_position || 'right-title' === $settings->front_img_icon_position ) { ?>
.fl-node- .uabb-slide-front-right-text {
width: 100%;
@@ -393,7 +393,7 @@
slide_type ) {
+if ( 'style1' === $settings->slide_type ) {
?>
.fl-node- .uabb-slide-box-wrap .uabb-style1.open-slidedown .uabb-slide-front {
@@ -424,7 +424,7 @@
transform: translate(-50%,-50%);
}
- cta_type && '' != $settings->button && 'full' == $settings->button->width ) { ?>
+ cta_type && '' !== $settings->button && 'full' === $settings->button->width ) { ?>
.fl-node- .uabb-button-wrap {
width: 100%;
}
@@ -433,12 +433,12 @@
}
?>
-slide_type ) { ?>
+slide_type ) { ?>
.fl-node- .uabb-slide-box-wrap {
- dropdown_icon_size ) ? 'margin-bottom: ' . ( esc_attr( $settings->dropdown_icon_size * 1.75 ) / 2 ) . 'px;' : ''; ?>
+ dropdown_icon_size ) ? 'margin-bottom: ' . ( esc_attr( $settings->dropdown_icon_size * 1.75 ) / 2 ) . 'px;' : ''; ?>
}
.fl-node- .uabb-style2 .uabb-slide-front-right-text {
- dropdown_icon_size ) ? 'padding-bottom: ' . esc_attr( $settings->dropdown_icon_size * 0.75 ) . 'px;' : ''; ?>
+ dropdown_icon_size ) ? 'padding-bottom: ' . esc_attr( $settings->dropdown_icon_size * 0.75 ) . 'px;' : ''; ?>
}
.fl-node- .uabb-style2.open-slidedown .uabb-slide-box .uabb-slide-box-section-content {
@@ -455,19 +455,19 @@
background: focused_front_background_color ); ?>;
transition: all linear 300ms;
}
- dropdown_icon_align ) { ?>
+ dropdown_icon_align ) { ?>
.fl-node- .fl-module-content .uabb-style2 .uabb-slide-dropdown {
- dropdown_icon_align ) { ?>
+ dropdown_icon_align ) { ?>
left: 0;
transform: translate(0%,50%);
- dropdown_icon_align ) { ?>
+ dropdown_icon_align ) { ?>
left: 100%;
transform: translate(-100%,50%);
}
-slide_type ) { ?>
+slide_type ) { ?>
.fl-node- .uabb-style3 .uabb-slide-dropdown .uabb-icon i,
.fl-node- .uabb-style3 .uabb-slide-dropdown .uabb-icon i:before {
line-height: 1em;
@@ -477,7 +477,7 @@
}
.fl-node- .uabb-style3 .uabb-slide-front-right-text {
- dropdown_icon_size ) ? 'padding-bottom: ' . esc_attr( $settings->dropdown_icon_size + 10 ) . 'px;' : ''; ?>
+ dropdown_icon_size ) ? 'padding-bottom: ' . esc_attr( $settings->dropdown_icon_size + 10 ) . 'px;' : ''; ?>
}
.fl-node- .uabb-style3.open-slidedown .uabb-slide-box .uabb-slide-box-section-content {
@@ -496,36 +496,36 @@
}
.fl-node- .fl-module-content .uabb-style3 .uabb-slide-dropdown {
- justify-content: dropdown_icon_align ) ? 'flex-start' : ( ( 'right' == $settings->dropdown_icon_align ) ? 'flex-end' : '' ); ?>;
+ justify-content: dropdown_icon_align ) ? 'flex-start' : ( ( 'right' === $settings->dropdown_icon_align ) ? 'flex-end' : '' ); ?>;
}
.fl-node- .uabb-slide-box .uabb-slide-face-text-title {
front_title_color ) ? 'color: ' . esc_attr( $settings->front_title_color ) . ';' : '';
- echo ( '' != $settings->front_title_margin_top ) ? 'margin-top: ' . esc_attr( $settings->front_title_margin_top ) . 'px;' : '';
- echo ( '' != $settings->front_title_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->front_title_margin_bottom ) . 'px;' : 'margin-bottom: 15px;';
+ echo ( '' !== $settings->front_title_color ) ? 'color: ' . esc_attr( $settings->front_title_color ) . ';' : '';
+ echo ( '' !== $settings->front_title_margin_top ) ? 'margin-top: ' . esc_attr( $settings->front_title_margin_top ) . 'px;' : '';
+ echo ( '' !== $settings->front_title_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->front_title_margin_bottom ) . 'px;' : 'margin-bottom: 15px;';
?>
}
/* Font Front Slide Heading (Desktop). */
.fl-node- .uabb-slide-box .uabb-slide-face-text-title {
- front_title_font_family['family'] ) : ?>
+ front_title_font_family['family'] ) : ?>
front_title_font_family ); ?>
- front_title_font_size_unit ) && '' != $settings->front_title_font_size_unit ) { ?>
+ front_title_font_size_unit ) && '' !== $settings->front_title_font_size_unit ) { ?>
font-size: front_title_font_size_unit ); ?>px;
- front_title_font_size_unit ) && '' == $settings->front_title_font_size_unit && isset( $settings->front_title_font_size['desktop'] ) && '' != $settings->front_title_font_size['desktop'] ) { ?>
+ front_title_font_size_unit ) && '' === $settings->front_title_font_size_unit && isset( $settings->front_title_font_size['desktop'] ) && '' !== $settings->front_title_font_size['desktop'] ) { ?>
font-size: front_title_font_size['desktop'] ); ?>px;
- front_title_font_size['desktop'] ) && '' == $settings->front_title_font_size['desktop'] && isset( $settings->front_title_line_height['desktop'] ) && '' != $settings->front_title_line_height['desktop'] && '' == $settings->front_title_line_height_unit ) { ?>
+ front_title_font_size['desktop'] ) && '' === $settings->front_title_font_size['desktop'] && isset( $settings->front_title_line_height['desktop'] ) && '' !== $settings->front_title_line_height['desktop'] && '' === $settings->front_title_line_height_unit ) { ?>
line-height: front_title_line_height['desktop'] ); ?>px;
- front_title_line_height_unit ) && '' != $settings->front_title_line_height_unit ) { ?>
+ front_title_line_height_unit ) && '' !== $settings->front_title_line_height_unit ) { ?>
line-height: front_title_line_height_unit ); ?>em;
- front_title_line_height_unit ) && '' == $settings->front_title_line_height_unit && isset( $settings->front_title_line_height['desktop'] ) && '' != $settings->front_title_line_height['desktop'] ) { ?>
+ front_title_line_height_unit ) && '' === $settings->front_title_line_height_unit && isset( $settings->front_title_line_height['desktop'] ) && '' !== $settings->front_title_line_height['desktop'] ) { ?>
line-height: front_title_line_height['desktop'] ); ?>px;
}
@@ -543,31 +543,31 @@
}
?>
.fl-node- .uabb-slide-box .uabb-slide-box-section-content {
- front_desc_margin_top ) ? 'margin-top: ' . esc_attr( $settings->front_desc_margin_top ) . 'px;' : ''; ?>
- front_desc_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->front_desc_margin_bottom ) . 'px;' : ''; ?>
- front_desc_color ) ? 'color: ' . esc_attr( $settings->front_desc_color ) . ';' : ''; ?>
+ front_desc_margin_top ) ? 'margin-top: ' . esc_attr( $settings->front_desc_margin_top ) . 'px;' : ''; ?>
+ front_desc_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->front_desc_margin_bottom ) . 'px;' : ''; ?>
+ front_desc_color ) ? 'color: ' . esc_attr( $settings->front_desc_color ) . ';' : ''; ?>
}
/* Font Front Slide Description (Desktop) */
.fl-node- .uabb-slide-box .uabb-slide-box-section-content {
- front_desc_font_family['family'] ) : ?>
+ front_desc_font_family['family'] ) : ?>
front_desc_font_family ); ?>
- front_desc_font_size_unit ) && '' != $settings->front_desc_font_size_unit ) { ?>
+ front_desc_font_size_unit ) && '' !== $settings->front_desc_font_size_unit ) { ?>
font-size: front_desc_font_size_unit ); ?>px;
- front_desc_font_size_unit ) && '' == $settings->front_desc_font_size_unit && isset( $settings->front_desc_font_size['desktop'] ) && '' != $settings->front_desc_font_size['desktop'] ) { ?>
+ front_desc_font_size_unit ) && '' === $settings->front_desc_font_size_unit && isset( $settings->front_desc_font_size['desktop'] ) && '' !== $settings->front_desc_font_size['desktop'] ) { ?>
font-size: front_desc_font_size['desktop'] ); ?>px;
- front_desc_font_size['desktop'] ) && '' == $settings->front_desc_font_size['desktop'] && isset( $settings->front_desc_line_height['desktop'] ) && '' != $settings->front_desc_line_height['desktop'] && '' == $settings->front_desc_line_height_unit ) { ?>
+ front_desc_font_size['desktop'] ) && '' === $settings->front_desc_font_size['desktop'] && isset( $settings->front_desc_line_height['desktop'] ) && '' !== $settings->front_desc_line_height['desktop'] && '' === $settings->front_desc_line_height_unit ) { ?>
line-height: front_desc_line_height['desktop'] ); ?>px;
- front_desc_line_height_unit ) && '' != $settings->front_desc_line_height_unit ) { ?>
+ front_desc_line_height_unit ) && '' !== $settings->front_desc_line_height_unit ) { ?>
line-height: front_desc_line_height_unit ); ?>em;
- front_desc_line_height_unit ) && '' == $settings->front_desc_line_height_unit && isset( $settings->front_desc_line_height['desktop'] ) && '' != $settings->front_desc_line_height['desktop'] ) { ?>
+ front_desc_line_height_unit ) && '' === $settings->front_desc_line_height_unit && isset( $settings->front_desc_line_height['desktop'] ) && '' !== $settings->front_desc_line_height['desktop'] ) { ?>
line-height: front_desc_line_height['desktop'] ); ?>px;
}
@@ -587,30 +587,30 @@
/* Font Back Slide Heading (Desktop) */
.fl-node- .uabb-slide-box .uabb-slide-back-text-title {
back_title_color ) ? 'color: ' . esc_attr( $settings->back_title_color ) . ';' : '';
- echo ( '' != $settings->back_title_margin_top ) ? 'margin-top: ' . esc_attr( $settings->back_title_margin_top ) . 'px;' : '';
- echo ( '' != $settings->back_title_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->back_title_margin_bottom ) . 'px;' : '';
+ echo ( '' !== $settings->back_title_color ) ? 'color: ' . esc_attr( $settings->back_title_color ) . ';' : '';
+ echo ( '' !== $settings->back_title_margin_top ) ? 'margin-top: ' . esc_attr( $settings->back_title_margin_top ) . 'px;' : '';
+ echo ( '' !== $settings->back_title_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->back_title_margin_bottom ) . 'px;' : '';
?>
}
.fl-node- .uabb-slide-box .uabb-slide-back-text-title {
- back_title_font_family['family'] ) : ?>
+ back_title_font_family['family'] ) : ?>
back_title_font_family ); ?>
- back_title_font_size_unit ) && '' != $settings->back_title_font_size_unit ) { ?>
+ back_title_font_size_unit ) && '' !== $settings->back_title_font_size_unit ) { ?>
font-size: back_title_font_size_unit ); ?>px;
- back_title_font_size_unit ) && '' == $settings->back_title_font_size_unit && isset( $settings->back_title_font_size['desktop'] ) && '' != $settings->back_title_font_size['desktop'] ) { ?>
+ back_title_font_size_unit ) && '' === $settings->back_title_font_size_unit && isset( $settings->back_title_font_size['desktop'] ) && '' !== $settings->back_title_font_size['desktop'] ) { ?>
font-size: back_title_font_size['desktop'] ); ?>px;
- back_title_font_size['desktop'] ) && '' == $settings->back_title_font_size['desktop'] && isset( $settings->back_title_line_height['desktop'] ) && '' != $settings->back_title_line_height['desktop'] && '' == $settings->back_title_line_height_unit ) { ?>
+ back_title_font_size['desktop'] ) && '' === $settings->back_title_font_size['desktop'] && isset( $settings->back_title_line_height['desktop'] ) && '' !== $settings->back_title_line_height['desktop'] && '' === $settings->back_title_line_height_unit ) { ?>
line-height: back_title_line_height['desktop'] ); ?>px;
- back_title_line_height_unit ) && '' != $settings->back_title_line_height_unit ) { ?>
+ back_title_line_height_unit ) && '' !== $settings->back_title_line_height_unit ) { ?>
line-height: back_title_line_height_unit ); ?>em;
- back_title_line_height_unit ) && '' == $settings->back_title_line_height_unit && isset( $settings->back_title_line_height['desktop'] ) && '' != $settings->back_title_line_height['desktop'] ) { ?>
+ back_title_line_height_unit ) && '' === $settings->back_title_line_height_unit && isset( $settings->back_title_line_height['desktop'] ) && '' !== $settings->back_title_line_height['desktop'] ) { ?>
line-height: back_title_line_height['desktop'] ); ?>px;
}
@@ -629,30 +629,30 @@
?>
/* Font Back Slide Description (Desktop) */
.fl-node- .uabb-slide-box .uabb-slide-down-box-section-content {
- back_desc_margin_top ) ? 'margin-top: ' . esc_attr( $settings->back_desc_margin_top ) . 'px;' : ''; ?>
- back_desc_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->back_desc_margin_bottom ) . 'px;' : 'margin-bottom: 10px;'; ?>
- back_desc_color ) ? 'color: ' . esc_attr( $settings->back_desc_color ) . ';' : ''; ?>
+ back_desc_margin_top ) ? 'margin-top: ' . esc_attr( $settings->back_desc_margin_top ) . 'px;' : ''; ?>
+ back_desc_margin_bottom ) ? 'margin-bottom: ' . esc_attr( $settings->back_desc_margin_bottom ) . 'px;' : 'margin-bottom: 10px;'; ?>
+ back_desc_color ) ? 'color: ' . esc_attr( $settings->back_desc_color ) . ';' : ''; ?>
}
.fl-node- .uabb-slide-box .uabb-slide-down-box-section-content {
- back_desc_font_family['family'] ) : ?>
+ back_desc_font_family['family'] ) : ?>
back_desc_font_family ); ?>
- back_desc_font_size_unit ) && '' != $settings->back_desc_font_size_unit ) { ?>
+ back_desc_font_size_unit ) && '' !== $settings->back_desc_font_size_unit ) { ?>
font-size: back_desc_font_size_unit ); ?>px;
- back_desc_font_size_unit ) && '' == $settings->back_desc_font_size_unit && isset( $settings->back_desc_font_size['desktop'] ) && '' != $settings->back_desc_font_size['desktop'] ) { ?>
+ back_desc_font_size_unit ) && '' === $settings->back_desc_font_size_unit && isset( $settings->back_desc_font_size['desktop'] ) && '' !== $settings->back_desc_font_size['desktop'] ) { ?>
font-size: back_desc_font_size['desktop'] ); ?>px;
- back_desc_font_size['desktop'] ) && '' == $settings->back_desc_font_size['desktop'] && isset( $settings->back_desc_line_height['desktop'] ) && '' != $settings->back_desc_line_height['desktop'] && '' == $settings->back_desc_line_height_unit ) { ?>
+ back_desc_font_size['desktop'] ) && '' === $settings->back_desc_font_size['desktop'] && isset( $settings->back_desc_line_height['desktop'] ) && '' !== $settings->back_desc_line_height['desktop'] && '' === $settings->back_desc_line_height_unit ) { ?>
line-height: back_desc_line_height['desktop'] ); ?>px;
- back_desc_line_height_unit ) && '' != $settings->back_desc_line_height_unit ) { ?>
+ back_desc_line_height_unit ) && '' !== $settings->back_desc_line_height_unit ) { ?>
line-height: back_desc_line_height_unit ); ?>em;
- back_desc_line_height_unit ) && '' == $settings->back_desc_line_height_unit && isset( $settings->back_desc_line_height['desktop'] ) && '' != $settings->back_desc_line_height['desktop'] ) { ?>
+ back_desc_line_height_unit ) && '' === $settings->back_desc_line_height_unit && isset( $settings->back_desc_line_height['desktop'] ) && '' !== $settings->back_desc_line_height['desktop'] ) { ?>
line-height: back_desc_line_height['desktop'] ); ?>px;
}
@@ -681,23 +681,23 @@
/* Typography Options for Link Text. */
.fl-builder-content .fl-node- .uabb-callout-cta-link {
- link_font_family['family'] ) : ?>
+ link_font_family['family'] ) : ?>
link_font_family ); ?>
- link_font_size_unit ) && '' != $settings->link_font_size_unit ) { ?>
+ link_font_size_unit ) && '' !== $settings->link_font_size_unit ) { ?>
font-size: link_font_size_unit ); ?>px;
- link_font_size_unit ) && '' == $settings->link_font_size_unit && isset( $settings->link_font_size['desktop'] ) && '' != $settings->link_font_size['desktop'] ) { ?>
+ link_font_size_unit ) && '' === $settings->link_font_size_unit && isset( $settings->link_font_size['desktop'] ) && '' !== $settings->link_font_size['desktop'] ) { ?>
font-size: link_font_size['desktop'] ); ?>px;
- link_font_size['desktop'] ) && '' == $settings->link_font_size['desktop'] && isset( $settings->link_line_height['desktop'] ) && '' != $settings->link_line_height['desktop'] && '' == $settings->link_line_height_unit ) { ?>
+ link_font_size['desktop'] ) && '' === $settings->link_font_size['desktop'] && isset( $settings->link_line_height['desktop'] ) && '' !== $settings->link_line_height['desktop'] && '' === $settings->link_line_height_unit ) { ?>
line-height: link_line_height['desktop'] ); ?>px;
- link_line_height_unit ) && '' != $settings->link_line_height_unit ) { ?>
+ link_line_height_unit ) && '' !== $settings->link_line_height_unit ) { ?>
line-height: link_line_height_unit ); ?>em;
- link_line_height_unit ) && '' == $settings->link_line_height_unit && isset( $settings->link_line_height['desktop'] ) && '' != $settings->link_line_height['desktop'] ) { ?>
+ link_line_height_unit ) && '' === $settings->link_line_height_unit && isset( $settings->link_line_height['desktop'] ) && '' !== $settings->link_line_height['desktop'] ) { ?>
line-height: link_line_height['desktop'] ); ?>px;
}
@@ -720,16 +720,16 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-front {
front_padding_dimension_top_medium ) ) {
- echo ( '' != $settings->front_padding_dimension_top_medium ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_medium ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_top_medium ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_medium ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_bottom_medium ) ) {
- echo ( '' != $settings->front_padding_dimension_bottom_medium ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_medium ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_bottom_medium ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_medium ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_left_medium ) ) {
- echo ( '' != $settings->front_padding_dimension_left_medium ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_medium ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_left_medium ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_medium ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_right_medium ) ) {
- echo ( '' != $settings->front_padding_dimension_right_medium ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_medium ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_right_medium ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_medium ) . 'px;' : '';
}
?>
}
@@ -737,35 +737,35 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-down {
back_padding_dimension_top_medium ) ) {
- echo ( '' != $settings->back_padding_dimension_top_medium ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_medium ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_top_medium ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_medium ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_bottom_medium ) ) {
- echo ( '' != $settings->back_padding_dimension_bottom_medium ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_medium ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_bottom_medium ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_medium ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_left_medium ) ) {
- echo ( '' != $settings->back_padding_dimension_left_medium ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_medium ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_left_medium ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_medium ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_right_medium ) ) {
- echo ( '' != $settings->back_padding_dimension_right_medium ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_medium ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_right_medium ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_medium ) . 'px;' : '';
}
?>
}
.fl-node- .uabb-slide-box .uabb-slide-box-section-content {
- front_desc_font_size_unit_medium ) && '' != $settings->front_desc_font_size_unit_medium ) { ?>
+ front_desc_font_size_unit_medium ) && '' !== $settings->front_desc_font_size_unit_medium ) { ?>
font-size: front_desc_font_size_unit_medium ); ?>px;
- front_desc_font_size_unit_medium ) && '' == $settings->front_desc_font_size_unit_medium && isset( $settings->front_desc_font_size['medium'] ) && '' != $settings->front_desc_font_size['medium'] ) { ?>
+ front_desc_font_size_unit_medium ) && '' === $settings->front_desc_font_size_unit_medium && isset( $settings->front_desc_font_size['medium'] ) && '' !== $settings->front_desc_font_size['medium'] ) { ?>
font-size: front_desc_font_size['medium'] ); ?>px;
- front_desc_font_size['medium'] ) && '' == $settings->front_desc_font_size['medium'] && isset( $settings->front_desc_line_height['medium'] ) && '' != $settings->front_desc_line_height['medium'] && '' == $settings->front_desc_line_height_unit && '' == $settings->front_desc_line_height_unit_medium ) { ?>
+ front_desc_font_size['medium'] ) && '' === $settings->front_desc_font_size['medium'] && isset( $settings->front_desc_line_height['medium'] ) && '' !== $settings->front_desc_line_height['medium'] && '' === $settings->front_desc_line_height_unit && '' === $settings->front_desc_line_height_unit_medium ) { ?>
line-height: front_desc_line_height['medium'] ); ?>px;
- front_desc_line_height_unit_medium ) && '' != $settings->front_desc_line_height_unit_medium ) { ?>
+ front_desc_line_height_unit_medium ) && '' !== $settings->front_desc_line_height_unit_medium ) { ?>
line-height: front_desc_line_height_unit_medium ); ?>em;
- front_desc_line_height_unit_medium ) && '' == $settings->front_desc_line_height_unit_medium && isset( $settings->front_desc_line_height['medium'] ) && '' != $settings->front_desc_line_height['medium'] ) { ?>
+ front_desc_line_height_unit_medium ) && '' === $settings->front_desc_line_height_unit_medium && isset( $settings->front_desc_line_height['medium'] ) && '' !== $settings->front_desc_line_height['medium'] ) { ?>
line-height: front_desc_line_height['medium'] ); ?>px;
}
@@ -773,19 +773,19 @@
.fl-node- .uabb-slide-box .uabb-slide-face-text-title {
- front_title_font_size_unit_medium ) && '' != $settings->front_title_font_size_unit_medium ) { ?>
+ front_title_font_size_unit_medium ) && '' !== $settings->front_title_font_size_unit_medium ) { ?>
font-size: front_title_font_size_unit_medium ); ?>px;
- front_title_font_size_unit_medium ) && '' == $settings->front_title_font_size_unit_medium && isset( $settings->front_title_font_size['medium'] ) && '' != $settings->front_title_font_size['medium'] ) { ?>
+ front_title_font_size_unit_medium ) && '' === $settings->front_title_font_size_unit_medium && isset( $settings->front_title_font_size['medium'] ) && '' !== $settings->front_title_font_size['medium'] ) { ?>
font-size: front_title_font_size['medium'] ); ?>px;
- front_title_font_size['medium'] ) && '' == $settings->front_title_font_size['medium'] && isset( $settings->front_title_line_height['medium'] ) && '' != $settings->front_title_line_height['medium'] && '' == $settings->front_title_line_height_unit && '' == $settings->front_title_line_height_unit_medium ) { ?>
+ front_title_font_size['medium'] ) && '' === $settings->front_title_font_size['medium'] && isset( $settings->front_title_line_height['medium'] ) && '' !== $settings->front_title_line_height['medium'] && '' === $settings->front_title_line_height_unit && '' === $settings->front_title_line_height_unit_medium ) { ?>
line-height: front_title_line_height['medium'] ); ?>px;
- front_title_line_height_unit_medium ) && '' != $settings->front_title_line_height_unit_medium ) { ?>
+ front_title_line_height_unit_medium ) && '' !== $settings->front_title_line_height_unit_medium ) { ?>
line-height: front_title_line_height_unit_medium ); ?>em;
- front_title_line_height_unit_medium ) && '' == $settings->front_title_line_height_unit_medium && isset( $settings->front_title_line_height['medium'] ) && '' != $settings->front_title_line_height['medium'] ) { ?>
+ front_title_line_height_unit_medium ) && '' === $settings->front_title_line_height_unit_medium && isset( $settings->front_title_line_height['medium'] ) && '' !== $settings->front_title_line_height['medium'] ) { ?>
line-height: front_title_line_height['medium'] ); ?>px;
}
@@ -793,19 +793,19 @@
.fl-node- .uabb-slide-box .uabb-slide-down-box-section-content {
- back_desc_font_size_unit_medium ) && '' != $settings->back_desc_font_size_unit_medium ) { ?>
+ back_desc_font_size_unit_medium ) && '' !== $settings->back_desc_font_size_unit_medium ) { ?>
font-size: back_desc_font_size_unit_medium ); ?>px;
- back_desc_font_size_unit_medium ) && '' == $settings->back_desc_font_size_unit_medium && isset( $settings->back_desc_font_size['medium'] ) && '' != $settings->back_desc_font_size['medium'] ) { ?>
+ back_desc_font_size_unit_medium ) && '' === $settings->back_desc_font_size_unit_medium && isset( $settings->back_desc_font_size['medium'] ) && '' !== $settings->back_desc_font_size['medium'] ) { ?>
font-size: back_desc_font_size['medium'] ); ?>px;
- back_desc_font_size['medium'] ) && '' == $settings->back_desc_font_size['medium'] && isset( $settings->back_desc_line_height['medium'] ) && '' != $settings->back_desc_line_height['medium'] && '' == $settings->back_desc_line_height_unit && '' == $settings->back_desc_line_height_unit_medium ) { ?>
+ back_desc_font_size['medium'] ) && '' === $settings->back_desc_font_size['medium'] && isset( $settings->back_desc_line_height['medium'] ) && '' !== $settings->back_desc_line_height['medium'] && '' == $settings->back_desc_line_height_unit && '' == $settings->back_desc_line_height_unit_medium ) { ?>
line-height: back_desc_line_height['medium'] ); ?>px;
- back_desc_line_height_unit_medium ) && '' != $settings->back_desc_line_height_unit_medium ) { ?>
+ back_desc_line_height_unit_medium ) && '' !== $settings->back_desc_line_height_unit_medium ) { ?>
line-height: back_desc_line_height_unit_medium ); ?>em;
- back_desc_line_height_unit_medium ) && '' == $settings->back_desc_line_height_unit_medium && isset( $settings->back_desc_line_height['medium'] ) && '' != $settings->back_desc_line_height['medium'] ) { ?>
+ back_desc_line_height_unit_medium ) && '' === $settings->back_desc_line_height_unit_medium && isset( $settings->back_desc_line_height['medium'] ) && '' !== $settings->back_desc_line_height['medium'] ) { ?>
line-height: back_desc_line_height['medium'] ); ?>px;
}
@@ -813,38 +813,38 @@
.fl-node- .uabb-slide-box .uabb-slide-back-text-title {
- back_title_font_size_unit_medium ) && '' != $settings->back_title_font_size_unit_medium ) { ?>
+ back_title_font_size_unit_medium ) && '' !== $settings->back_title_font_size_unit_medium ) { ?>
font-size: back_title_font_size_unit_medium ); ?>px;
- back_title_font_size_unit_medium ) && '' == $settings->back_title_font_size_unit_medium && isset( $settings->back_title_font_size['medium'] ) && '' != $settings->back_title_font_size['medium'] ) { ?>
+ back_title_font_size_unit_medium ) && '' === $settings->back_title_font_size_unit_medium && isset( $settings->back_title_font_size['medium'] ) && '' != $settings->back_title_font_size['medium'] ) { ?>
font-size: back_title_font_size['medium'] ); ?>px;
- back_title_font_size['medium'] ) && '' == $settings->back_title_font_size['medium'] && isset( $settings->back_title_line_height['medium'] ) && '' != $settings->back_title_line_height['medium'] && '' == $settings->back_title_line_height_unit && '' == $settings->back_title_line_height_unit_medium ) { ?>
+ back_title_font_size['medium'] ) && '' === $settings->back_title_font_size['medium'] && isset( $settings->back_title_line_height['medium'] ) && '' != $settings->back_title_line_height['medium'] && '' == $settings->back_title_line_height_unit && '' == $settings->back_title_line_height_unit_medium ) { ?>
line-height: back_title_line_height['medium'] ); ?>px;
- back_title_line_height_unit_medium ) && '' != $settings->back_title_line_height_unit_medium ) { ?>
+ back_title_line_height_unit_medium ) && '' !== $settings->back_title_line_height_unit_medium ) { ?>
line-height: back_title_line_height_unit_medium ); ?>em;
- back_title_line_height_unit_medium ) && '' == $settings->back_title_line_height_unit_medium && isset( $settings->back_title_line_height['medium'] ) && '' != $settings->back_title_line_height['medium'] ) { ?>
+ back_title_line_height_unit_medium ) && '' === $settings->back_title_line_height_unit_medium && isset( $settings->back_title_line_height['medium'] ) && '' != $settings->back_title_line_height['medium'] ) { ?>
line-height: back_title_line_height['medium'] ); ?>px;
}
.fl-builder-content .fl-node- .uabb-callout-cta-link {
- link_font_size_unit_medium ) && '' != $settings->link_font_size_unit_medium ) { ?>
+ link_font_size_unit_medium ) && '' !== $settings->link_font_size_unit_medium ) { ?>
font-size: link_font_size_unit_medium ); ?>px;
- link_font_size_unit_medium ) && '' == $settings->link_font_size_unit_medium && isset( $settings->link_font_size['medium'] ) && '' != $settings->link_font_size['medium'] ) { ?>
+ link_font_size_unit_medium ) && '' === $settings->link_font_size_unit_medium && isset( $settings->link_font_size['medium'] ) && '' != $settings->link_font_size['medium'] ) { ?>
font-size: link_font_size['medium'] ); ?>px;
- link_font_size['medium'] ) && '' == $settings->link_font_size['medium'] && isset( $settings->link_line_height['medium'] ) && '' != $settings->link_line_height['medium'] && '' == $settings->link_line_height_unit && '' == $settings->link_line_height_unit_medium ) { ?>
+ link_font_size['medium'] ) && '' === $settings->link_font_size['medium'] && isset( $settings->link_line_height['medium'] ) && '' != $settings->link_line_height['medium'] && '' === $settings->link_line_height_unit && '' === $settings->link_line_height_unit_medium ) { ?>
line-height: link_line_height['medium'] ); ?>px;
- link_line_height_unit_medium ) && '' != $settings->link_line_height_unit_medium ) { ?>
+ link_line_height_unit_medium ) && '' !== $settings->link_line_height_unit_medium ) { ?>
line-height: link_line_height_unit_medium ); ?>em;
- link_line_height_unit_medium ) && '' == $settings->link_line_height_unit_medium && isset( $settings->link_line_height['medium'] ) && '' != $settings->link_line_height['medium'] ) { ?>
+ link_line_height_unit_medium ) && '' === $settings->link_line_height_unit_medium && isset( $settings->link_line_height['medium'] ) && '' != $settings->link_line_height['medium'] ) { ?>
line-height: link_line_height['medium'] ); ?>px;
}
@@ -854,16 +854,16 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-front {
front_padding_dimension_top_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_bottom_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_left_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_right_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_responsive ) . 'px;' : '';
}
?>
}
@@ -871,16 +871,16 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-down {
back_padding_dimension_top_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_bottom_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_left_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_right_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_responsive ) . 'px;' : '';
}
?>
}
@@ -888,16 +888,16 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-front {
front_padding_dimension_top_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->front_padding_dimension_top_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_bottom_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->front_padding_dimension_bottom_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_left_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->front_padding_dimension_left_responsive ) . 'px;' : '';
}
if ( isset( $settings->front_padding_dimension_right_responsive ) ) {
- echo ( '' != $settings->front_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->front_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->front_padding_dimension_right_responsive ) . 'px;' : '';
}
?>
}
@@ -905,24 +905,24 @@
.fl-node- .uabb-slide-box-wrap .uabb-slide-down {
back_padding_dimension_top_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_top_responsive ) ? 'padding-top:' . esc_attr( $settings->back_padding_dimension_top_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_bottom_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_bottom_responsive ) ? 'padding-bottom:' . esc_attr( $settings->back_padding_dimension_bottom_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_left_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_left_responsive ) ? 'padding-left:' . esc_attr( $settings->back_padding_dimension_left_responsive ) . 'px;' : '';
}
if ( isset( $settings->back_padding_dimension_right_responsive ) ) {
- echo ( '' != $settings->back_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_responsive ) . 'px;' : '';
+ echo ( '' !== $settings->back_padding_dimension_right_responsive ) ? 'padding-right:' . esc_attr( $settings->back_padding_dimension_right_responsive ) . 'px;' : '';
}
?>
}
.fl-node- .uabb-slide-box .uabb-slide-box-section-content {
- front_desc_font_size_unit_responsive ) && '' != $settings->front_desc_font_size_unit_responsive ) { ?>
+ front_desc_font_size_unit_responsive ) && '' !== $settings->front_desc_font_size_unit_responsive ) { ?>
font-size: front_desc_font_size_unit_responsive ); ?>px;
- front_desc_line_height_unit_responsive && '' != $settings->front_desc_font_size_unit_responsive ) { ?>
+ front_desc_line_height_unit_responsive && '' !== $settings->front_desc_font_size_unit_responsive ) { ?>
line-height: front_desc_font_size_unit_responsive ) + 2; ?>px;
front_desc_font_size_unit_responsive ) && '' == $settings->front_desc_font_size_unit_responsive && isset( $settings->line_height['small'] ) && '' != $settings->line_height['small'] ) { ?>
@@ -934,7 +934,7 @@
line-height: front_desc_line_height['small'] ); ?>px;
- front_desc_line_height_unit_responsive ) && '' != $settings->front_desc_line_height_unit_responsive ) { ?>
+ front_desc_line_height_unit_responsive ) && '' !== $settings->front_desc_line_height_unit_responsive ) { ?>
line-height: front_desc_line_height_unit_responsive ); ?>em;
front_desc_line_height_unit_responsive ) && '' == $settings->front_desc_line_height_unit_responsive && isset( $settings->front_desc_line_height['small'] ) && '' != $settings->front_desc_line_height['small'] ) { ?>
line-height: front_desc_line_height['small'] ); ?>px;
@@ -943,9 +943,9 @@
.fl-node- .uabb-slide-box .uabb-slide-face-text-title {
- front_title_font_size_unit_responsive ) && '' != $settings->front_title_font_size_unit_responsive ) { ?>
+ front_title_font_size_unit_responsive ) && '' !== $settings->front_title_font_size_unit_responsive ) { ?>
font-size: front_title_font_size_unit_responsive ); ?>px;
- front_title_line_height_unit_responsive && '' != $settings->front_title_font_size_unit_responsive ) { ?>
+ front_title_line_height_unit_responsive && '' !== $settings->front_title_font_size_unit_responsive ) { ?>
line-height: front_title_font_size_unit_responsive ) + 2; ?>px;
front_title_font_size_unit_responsive ) && '' == $settings->front_title_font_size_unit_responsive && isset( $settings->front_title_font_size['small'] ) && '' != $settings->front_title_font_size['small'] ) { ?>
@@ -957,7 +957,7 @@
line-height: front_title_line_height['small'] ); ?>px;
- front_title_line_height_unit_responsive ) && '' != $settings->front_title_line_height_unit_responsive ) { ?>
+ front_title_line_height_unit_responsive ) && '' !== $settings->front_title_line_height_unit_responsive ) { ?>
line-height: front_title_line_height_unit_responsive ); ?>em;
front_title_line_height_unit_responsive ) && '' == $settings->front_title_line_height_unit_responsive && isset( $settings->front_title_line_height['small'] ) && '' != $settings->front_title_line_height['small'] ) { ?>
line-height: front_title_line_height['small'] ); ?>px;
@@ -966,9 +966,9 @@
.fl-node- .uabb-slide-box .uabb-slide-down-box-section-content {
- back_desc_font_size_unit_responsive ) && '' != $settings->back_desc_font_size_unit_responsive ) { ?>
+ back_desc_font_size_unit_responsive ) && '' !== $settings->back_desc_font_size_unit_responsive ) { ?>
font-size: back_desc_font_size_unit_responsive ); ?>px;
- back_desc_line_height_unit_responsive && '' != $settings->back_desc_font_size_unit_responsive ) { ?>
+ back_desc_line_height_unit_responsive && '' !== $settings->back_desc_font_size_unit_responsive ) { ?>
line-height: back_desc_font_size_unit_responsive ) + 2; ?>px;
back_desc_font_size_unit_responsive ) && '' == $settings->back_desc_font_size_unit_responsive && isset( $settings->back_desc_font_size['small'] ) && '' != $settings->back_desc_font_size['small'] ) { ?>
@@ -980,7 +980,7 @@
line-height: back_desc_line_height['small'] ); ?>px;
- back_desc_line_height_unit_responsive ) && '' != $settings->back_desc_line_height_unit_responsive ) { ?>
+ back_desc_line_height_unit_responsive ) && '' !== $settings->back_desc_line_height_unit_responsive ) { ?>
line-height: back_desc_line_height_unit_responsive ); ?>em;
back_desc_line_height_unit_responsive ) && '' == $settings->back_desc_line_height_unit_responsive && isset( $settings->back_desc_line_height['small'] ) && '' != $settings->back_desc_line_height['small'] ) { ?>
line-height: back_desc_line_height['small'] ); ?>px;
@@ -989,9 +989,9 @@
.fl-node- .uabb-slide-box .uabb-slide-back-text-title {
- back_title_font_size_unit_responsive ) && '' != $settings->back_title_font_size_unit_responsive ) { ?>
+ back_title_font_size_unit_responsive ) && '' !== $settings->back_title_font_size_unit_responsive ) { ?>
font-size: back_title_font_size_unit_responsive ); ?>px;
- back_title_line_height_unit_responsive && '' != $settings->back_title_font_size_unit_responsive ) { ?>
+ back_title_line_height_unit_responsive && '' !== $settings->back_title_font_size_unit_responsive ) { ?>
line-height: back_title_font_size_unit_responsive ) + 2; ?>px;
back_title_font_size_unit_responsive ) && '' == $settings->back_title_font_size_unit_responsive && isset( $settings->back_title_font_size['small'] ) && '' != $settings->back_title_font_size['small'] ) { ?>
@@ -1003,7 +1003,7 @@
line-height: back_title_line_height['small'] ); ?>px;
- back_title_line_height_unit_responsive ) && '' != $settings->back_title_line_height_unit_responsive ) { ?>
+ back_title_line_height_unit_responsive ) && '' !== $settings->back_title_line_height_unit_responsive ) { ?>
line-height: back_title_line_height_unit_responsive ); ?>em;
back_title_line_height_unit_responsive ) && '' == $settings->back_title_line_height_unit_responsive && isset( $settings->back_title_line_height['small'] ) && '' != $settings->back_title_line_height['small'] ) { ?>
line-height: back_title_line_height['small'] ); ?>px;
@@ -1011,9 +1011,9 @@
}
.fl-builder-content .fl-node- .uabb-callout-cta-link {
- link_font_size_unit_responsive ) && '' != $settings->link_font_size_unit_responsive ) { ?>
+ link_font_size_unit_responsive ) && '' !== $settings->link_font_size_unit_responsive ) { ?>
font-size: link_font_size_unit_responsive ); ?>px;
- link_line_height_unit_responsive && '' != $settings->link_font_size_unit_responsive ) { ?>
+ link_line_height_unit_responsive && '' !== $settings->link_font_size_unit_responsive ) { ?>
line-height: link_font_size_unit_responsive ) + 2; ?>px;
link_font_size_unit_responsive ) && '' == $settings->link_font_size_unit_responsive && isset( $settings->link_font_size['small'] ) && '' != $settings->link_font_size['small'] ) { ?>
@@ -1025,7 +1025,7 @@
line-height: link_line_height['small'] ); ?>px;
- link_line_height_unit_responsive ) && '' != $settings->link_line_height_unit_responsive ) { ?>
+ link_line_height_unit_responsive ) && '' !== $settings->link_line_height_unit_responsive ) { ?>
line-height: link_line_height_unit_responsive ); ?>em;
link_line_height_unit_responsive ) && '' == $settings->link_line_height_unit_responsive && isset( $settings->link_line_height['small'] ) && '' != $settings->link_line_height['small'] ) { ?>
line-height: link_line_height['small'] ); ?>px;
diff --git a/modules/slide-box/includes/frontend.js.php b/modules/slide-box/includes/frontend.js.php
index b6cfaedb..a1eec1a9 100644
--- a/modules/slide-box/includes/frontend.js.php
+++ b/modules/slide-box/includes/frontend.js.php
@@ -18,7 +18,7 @@
else
var is_touch_device = true;
-slide_type ) { ?>
+slide_type ) { ?>
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
diff --git a/modules/slide-box/includes/frontend.php b/modules/slide-box/includes/frontend.php
index fe8e9eac..73f2c87c 100644
--- a/modules/slide-box/includes/frontend.php
+++ b/modules/slide-box/includes/frontend.php
@@ -38,11 +38,11 @@
< class="uabb-slide-face-text-title">title_front ); ?>>< class="uabb-slide-face-text-title">title_front ); ?>>
-