/**
* Sticky Header - Customizer.
*
* @package Astra Addon
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) {
/**
* Customizer Initialization
*
* @since 1.0.0
*/
class Astra_Ext_Transparent_Header_Loader {
/**
* Member Variable
*
* @var instance
*/
private static $instance;
/**
* Initiator
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*/
public function __construct() {
add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) );
add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) );
add_action( 'customize_register', array( $this, 'customize_register' ), 2 );
}
/**
* Set Options Default Values
*
* @param array $defaults Astra options default value array.
* @return array
*/
public function theme_defaults( $defaults ) {
// Header - Transparent.
$defaults['transparent-header-logo'] = '';
$defaults['transparent-header-retina-logo'] = '';
$defaults['different-transparent-logo'] = 0;
$defaults['different-transparent-retina-logo'] = 0;
$defaults['transparent-header-logo-width'] = array(
'desktop' => 150,
'tablet' => 120,
'mobile' => 100,
);
$defaults['transparent-header-enable'] = 0;
$defaults['transparent-header-disable-archive'] = 1;
$defaults['transparent-header-disable-latest-posts-index'] = 1;
$defaults['transparent-header-on-devices'] = 'both';
$defaults['transparent-header-main-sep'] = '';
$defaults['transparent-header-main-sep-color'] = '';
/**
* Transparent Header
*/
$defaults['transparent-header-bg-color'] = '';
$defaults['transparent-header-color-site-title'] = '';
$defaults['transparent-header-color-h-site-title'] = '';
$defaults['transparent-menu-bg-color'] = '';
$defaults['transparent-menu-color'] = '';
$defaults['transparent-menu-h-color'] = '';
$defaults['transparent-submenu-bg-color'] = '';
$defaults['transparent-submenu-color'] = '';
$defaults['transparent-submenu-h-color'] = '';
/**
* Transparent Header Responsive Colors
*/
$defaults['transparent-header-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-h-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-text-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
return $defaults;
}
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
public function customize_register( $wp_customize ) {
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
/**
* Register Panel & Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php';
/**
* Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php';
// Check Transparent Header is activated.
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php';
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
}
/**
* Customizer Preview
*/
public function preview_scripts() {
/**
* Load unminified if SCRIPT_DEBUG is true.
*/
/* Directory and Extension */
$dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified';
$file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true );
// Localize variables for further JS.
wp_localize_script(
'astra-transparent-header-customizer-preview-js',
'AstraBuilderTransparentData',
array(
'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active,
'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(),
)
);
}
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
Astra_Ext_Transparent_Header_Loader::get_instance();
s CONWAY, Plaintiff and you will Respondent, v. The BUGHOUSE, INC., a ca company, and you may Dan Budnick, also known as Daniel Elizabeth. Budnick, Accused and you will Appellant.

It attract was regarding a judgment where respondent is actually approved payments owed so you’re able to the woman after the appellant’s deal violation.
Offender and you can appellant Dan Budnick, and plaintiff’s assignor, Dalton Adams for every single previously had 1 / 2 of accused Bughouse, Inc. a friends which brought in and you will marketed s and you may Budnick inserted for the a composed contract for which Adams transferred his ownership demand for Bughouse, Inc. so you can Budnick. He consequently provided to pay Adams $40,100000 (and therefore sum try borrowed of the Budnick regarding a lender and loan secured from the Adams) in cash immediately, $step one,000 monthly so you can Adams for the rest of his lifetime and $500 four weeks so you’re able to Adams’ partner, plaintiff Conway, is to she endure Adams. Adams together with accessible to avoid engaging in any business competitive with Bughouse, Inc., and also to build vacation toward Orient on Budnick’s demand. Budnick individually guaranteed this new repayments to help you Adams.
During the s. Defendants contend one since one go out, Adams is no further appointment their obligations in offer. Particularly, it is said which he was harming Bughouse, Inc. because of the unsatisfactory China companies out-of doing business with Bughouse, Inc. by failing to put sales having China services.
From inside the s and his wife, Conway entered towards a marital possessions settlement and this so long as it manage separate equally the newest payments owed because of the defendants in bargain. To your s tasked their kept attract in order to Conway. One another Adams and you can Conway you live at the present time.
Toward June twenty-four, 1976, Conway charged defendants for the installments owed underneath the deal. Defendants asserted due to the fact affirmative protections Adams’ violation of your own covenant not in order to participate and the law away from restrictions around point 337 out of this new Password of Civil Procedure.
On the August sixteen, 1977, Legal Rittenband supplied a partial summary wisdom in the Conway’s favor. Specifically, he unearthed that the agreement is actually a payment deal, and that due to the fact statute out of limits manage begin to run simply regarding the big date out-of commission of each fees, Conway is permitted get well the fresh monthly installments due contained in this four many years of the commencement of your action. The rest products were set aside to own demo.
At trial, finished November 17, 1978, Legal Robert An excellent. Wenke discover, inter alia, you to Adams hadn’t involved with competition having defendants, hence Conway is due every money due out of ount from $98,.
Brand new legitimacy of one’s covenant not to compete is actually question inasmuch just like the zero restriction from condition otherwise town was specified for the the deal because recommended within the areas 16601 and you can 16602 of one’s Team and you may Procedures Password. (Swenson v. Document, step three Cal.three-dimensional 389, 395, 90 Cal.Rptr. 580, 475 P.2d 852 (1970).) Yet not, putting aside new dubious profile of your own covenant 1 i manage not discover the expected proof of generous competition. (Swenson v. File, step three Cal.three dimensional 389, 395, ninety Cal.Rptr. 580, 475 P.2d 852, supra ; get a hold of Monogram Marketplaces, Inc. v. SAR Marketplaces, Inc. (1976) 64 Cal.Software.three-dimensional 692, 702, 134 Cal.Rptr. 714.) In fact, we discover nice evidence of zero competition. Despite the so-called competition, i along with remember that the new gross sales regarding Bughouse, Inc. improved out of $283,100 within the 1970 so you’re able to $321,one hundred thousand in 1972.
Defendants issue the latest findings made by the judge below, you to Adams failed to breach the covenant not to compete. If you’re Adams’ choices following day of agreement will get when you look at the area was in fact puzzling 2 he may n’t have started extremely collaborative defendants haven’t revealed that Adams indeed involved with people battle which have Bughouse. Defendants recognize one Adams neither started their own providers nor aided a competitor.
]]>