| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/class-customizer-theme-info-control.php.tar |
zerif-lite/inc/class/class-customizer-theme-info-control/class-customizer-theme-info-control.php 0000644 00000005270 15113442477 0037640 0 ustar 00 home/xbodynamge/namtation/wp-content/themes <?php
/**
* Zerif Lite Upsell Theme Info Class
*
* @package Zerif Lite
*/
if ( ! class_exists( 'Zerif_Control_Upsell_Theme_Info' ) ) :
/**
* Zerif_Control_Upsell_Theme_Info class.
*/
class Zerif_Control_Upsell_Theme_Info extends WP_Customize_Control {
/**
* Control type
*
* @var string control type
*/
public $type = 'themeisle-control-upsell';
/**
* Button text
*
* @var string button text
*/
public $button_text = '';
/**
* Button link
*
* @var string button url
*/
public $button_url = '#';
/**
* List of features
*
* @var array theme features / options
*/
public $options = array();
/**
* List of explanations
*
* @var array additional info
*/
public $explained_features = array();
/**
* Zerif_Control_Upsell_Theme_Info constructor.
*
* @param WP_Customize_Manager $manager the customize manager class.
* @param string $id id.
* @param array $args customizer manager parameters.
*/
public function __construct( WP_Customize_Manager $manager, $id, array $args ) {
$this->button_text;
$manager->register_control_type( 'Zerif_Control_Upsell_Theme_Info' );
parent::__construct( $manager, $id, $args );
}
/**
* Enqueue resources for the control
*/
public function enqueue() {
wp_enqueue_style( 'themeisle-upsell-style', get_template_directory_uri() . '/inc/class/class-customizer-theme-info-control/css/style.css', '1.0.0' );
}
/**
* Json conversion
*/
public function to_json() {
parent::to_json();
$this->json['button_text'] = $this->button_text;
$this->json['button_url'] = $this->button_url;
$this->json['options'] = $this->options;
$this->json['explained_features'] = $this->explained_features;
}
/**
* Control content
*/
public function content_template() {
?>
<div class="themeisle-upsell">
<# if ( data.options ) { #>
<ul class="themeisle-upsell-features">
<# for (option in data.options) { #>
<li><span class="upsell-pro-label"></span>{{ data.options[option] }}
</li>
<# } #>
</ul>
<# } #>
<# if ( data.button_text && data.button_url ) { #>
<a target="_blank" href="{{ data.button_url }}" class="button button-primary" target="_blank">{{
data.button_text }}</a>
<# } #>
<# if ( data.explained_features.length > 0 ) { #>
<hr />
<ul class="themeisle-upsell-feature-list">
<# for (requirement in data.explained_features) { #>
<li>* {{{ data.explained_features[requirement] }}}</li>
<# } #>
</ul>
<# } #>
</div>
<?php
}
}
endif;
zerif-lite/inc/class/class-customizer-theme-info-control/class-customizer-theme-info-control.php 0000604 00000005270 15113532173 0040520 0 ustar 00 home/xbodynamge/crosstraining/wp-content/themes <?php
/**
* Zerif Lite Upsell Theme Info Class
*
* @package Zerif Lite
*/
if ( ! class_exists( 'Zerif_Control_Upsell_Theme_Info' ) ) :
/**
* Zerif_Control_Upsell_Theme_Info class.
*/
class Zerif_Control_Upsell_Theme_Info extends WP_Customize_Control {
/**
* Control type
*
* @var string control type
*/
public $type = 'themeisle-control-upsell';
/**
* Button text
*
* @var string button text
*/
public $button_text = '';
/**
* Button link
*
* @var string button url
*/
public $button_url = '#';
/**
* List of features
*
* @var array theme features / options
*/
public $options = array();
/**
* List of explanations
*
* @var array additional info
*/
public $explained_features = array();
/**
* Zerif_Control_Upsell_Theme_Info constructor.
*
* @param WP_Customize_Manager $manager the customize manager class.
* @param string $id id.
* @param array $args customizer manager parameters.
*/
public function __construct( WP_Customize_Manager $manager, $id, array $args ) {
$this->button_text;
$manager->register_control_type( 'Zerif_Control_Upsell_Theme_Info' );
parent::__construct( $manager, $id, $args );
}
/**
* Enqueue resources for the control
*/
public function enqueue() {
wp_enqueue_style( 'themeisle-upsell-style', get_template_directory_uri() . '/inc/class/class-customizer-theme-info-control/css/style.css', '1.0.0' );
}
/**
* Json conversion
*/
public function to_json() {
parent::to_json();
$this->json['button_text'] = $this->button_text;
$this->json['button_url'] = $this->button_url;
$this->json['options'] = $this->options;
$this->json['explained_features'] = $this->explained_features;
}
/**
* Control content
*/
public function content_template() {
?>
<div class="themeisle-upsell">
<# if ( data.options ) { #>
<ul class="themeisle-upsell-features">
<# for (option in data.options) { #>
<li><span class="upsell-pro-label"></span>{{ data.options[option] }}
</li>
<# } #>
</ul>
<# } #>
<# if ( data.button_text && data.button_url ) { #>
<a target="_blank" href="{{ data.button_url }}" class="button button-primary" target="_blank">{{
data.button_text }}</a>
<# } #>
<# if ( data.explained_features.length > 0 ) { #>
<hr />
<ul class="themeisle-upsell-feature-list">
<# for (requirement in data.explained_features) { #>
<li>* {{{ data.explained_features[requirement] }}}</li>
<# } #>
</ul>
<# } #>
</div>
<?php
}
}
endif;
zerif-lite/inc/class/class-customizer-theme-info-control/class-customizer-theme-info-control.php 0000644 00000005270 15113532174 0040320 0 ustar 00 home/xbodynamge/lebauwcentre/wp-content/themes <?php
/**
* Zerif Lite Upsell Theme Info Class
*
* @package Zerif Lite
*/
if ( ! class_exists( 'Zerif_Control_Upsell_Theme_Info' ) ) :
/**
* Zerif_Control_Upsell_Theme_Info class.
*/
class Zerif_Control_Upsell_Theme_Info extends WP_Customize_Control {
/**
* Control type
*
* @var string control type
*/
public $type = 'themeisle-control-upsell';
/**
* Button text
*
* @var string button text
*/
public $button_text = '';
/**
* Button link
*
* @var string button url
*/
public $button_url = '#';
/**
* List of features
*
* @var array theme features / options
*/
public $options = array();
/**
* List of explanations
*
* @var array additional info
*/
public $explained_features = array();
/**
* Zerif_Control_Upsell_Theme_Info constructor.
*
* @param WP_Customize_Manager $manager the customize manager class.
* @param string $id id.
* @param array $args customizer manager parameters.
*/
public function __construct( WP_Customize_Manager $manager, $id, array $args ) {
$this->button_text;
$manager->register_control_type( 'Zerif_Control_Upsell_Theme_Info' );
parent::__construct( $manager, $id, $args );
}
/**
* Enqueue resources for the control
*/
public function enqueue() {
wp_enqueue_style( 'themeisle-upsell-style', get_template_directory_uri() . '/inc/class/class-customizer-theme-info-control/css/style.css', '1.0.0' );
}
/**
* Json conversion
*/
public function to_json() {
parent::to_json();
$this->json['button_text'] = $this->button_text;
$this->json['button_url'] = $this->button_url;
$this->json['options'] = $this->options;
$this->json['explained_features'] = $this->explained_features;
}
/**
* Control content
*/
public function content_template() {
?>
<div class="themeisle-upsell">
<# if ( data.options ) { #>
<ul class="themeisle-upsell-features">
<# for (option in data.options) { #>
<li><span class="upsell-pro-label"></span>{{ data.options[option] }}
</li>
<# } #>
</ul>
<# } #>
<# if ( data.button_text && data.button_url ) { #>
<a target="_blank" href="{{ data.button_url }}" class="button button-primary" target="_blank">{{
data.button_text }}</a>
<# } #>
<# if ( data.explained_features.length > 0 ) { #>
<hr />
<ul class="themeisle-upsell-feature-list">
<# for (requirement in data.explained_features) { #>
<li>* {{{ data.explained_features[requirement] }}}</li>
<# } #>
</ul>
<# } #>
</div>
<?php
}
}
endif;
zerif-lite/inc/class/class-customizer-theme-info-control/class-customizer-theme-info-control.php 0000644 00000005267 15113532202 0036462 0 ustar 00 home/xbodynamge/www/wp-content/themes <?php
/**
* Zerif Lite Upsell Theme Info Class
*
* @package Zerif Lite
*/
if ( ! class_exists( 'Zerif_Control_Upsell_Theme_Info' ) ) :
/**
* Zerif_Control_Upsell_Theme_Info class.
*/
class Zerif_Control_Upsell_Theme_Info extends WP_Customize_Control {
/**
* Control type
*
* @var string control type
*/
public $type = 'themeisle-control-upsell';
/**
* Button text
*
* @var string button text
*/
public $button_text = '';
/**
* Button link
*
* @var string button url
*/
public $button_url = '#';
/**
* List of features
*
* @var array theme features / options
*/
public $options = array();
/**
* List of explanations
*
* @var array additional info
*/
public $explained_features = array();
/**
* Zerif_Control_Upsell_Theme_Info constructor.
*
* @param WP_Customize_Manager $manager the customize manager class.
* @param string $id id.
* @param array $args customizer manager parameters.
*/
public function __construct( WP_Customize_Manager $manager, $id, array $args ) {
$this->button_text;
$manager->register_control_type( 'Zerif_Control_Upsell_Theme_Info' );
parent::__construct( $manager, $id, $args );
}
/**
* Enqueue resources for the control
*/
public function enqueue() {
wp_enqueue_style( 'themeisle-upsell-style', get_template_directory_uri() . '/inc/class/class-customizer-theme-info-control/css/style.css', '1.0.0' );
}
/**
* Json conversion
*/
public function to_json() {
parent::to_json();
$this->json['button_text'] = $this->button_text;
$this->json['button_url'] = $this->button_url;
$this->json['options'] = $this->options;
$this->json['explained_features'] = $this->explained_features;
}
/**
* Control content
*/
public function content_template() {
?>
<div class="themeisle-upsell">
<# if ( data.options ) { #>
<ul class="themeisle-upsell-features">
<# for (option in data.options) { #>
<li><span class="upsell-pro-label"></span>{{ data.options[option] }}
</li>
<# } #>
</ul>
<# } #>
<# if ( data.button_text && data.button_url ) { #>
<a target="_blank" href="{{ data.button_url }}" class="button button-primary" target="_blank">{{
data.button_text }}</a>
<# } #>
<# if ( data.explained_features.length > 0 ) { #>
<hr />
<ul class="themeisle-upsell-feature-list">
<# for (requirement in data.explained_features) { #>
<li>* {{{ data.explained_features[requirement] }}}</li>
<# } #>
</ul>
<# } #>
</div>
<?php
}
}
endif;
zerif-lite/inc/class/class-customizer-theme-info-control/class-customizer-theme-info-control.php 0000644 00000005270 15113617456 0036425 0 ustar 00 home/xbodynamge/dev/wp-content/themes <?php
/**
* Zerif Lite Upsell Theme Info Class
*
* @package Zerif Lite
*/
if ( ! class_exists( 'Zerif_Control_Upsell_Theme_Info' ) ) :
/**
* Zerif_Control_Upsell_Theme_Info class.
*/
class Zerif_Control_Upsell_Theme_Info extends WP_Customize_Control {
/**
* Control type
*
* @var string control type
*/
public $type = 'themeisle-control-upsell';
/**
* Button text
*
* @var string button text
*/
public $button_text = '';
/**
* Button link
*
* @var string button url
*/
public $button_url = '#';
/**
* List of features
*
* @var array theme features / options
*/
public $options = array();
/**
* List of explanations
*
* @var array additional info
*/
public $explained_features = array();
/**
* Zerif_Control_Upsell_Theme_Info constructor.
*
* @param WP_Customize_Manager $manager the customize manager class.
* @param string $id id.
* @param array $args customizer manager parameters.
*/
public function __construct( WP_Customize_Manager $manager, $id, array $args ) {
$this->button_text;
$manager->register_control_type( 'Zerif_Control_Upsell_Theme_Info' );
parent::__construct( $manager, $id, $args );
}
/**
* Enqueue resources for the control
*/
public function enqueue() {
wp_enqueue_style( 'themeisle-upsell-style', get_template_directory_uri() . '/inc/class/class-customizer-theme-info-control/css/style.css', '1.0.0' );
}
/**
* Json conversion
*/
public function to_json() {
parent::to_json();
$this->json['button_text'] = $this->button_text;
$this->json['button_url'] = $this->button_url;
$this->json['options'] = $this->options;
$this->json['explained_features'] = $this->explained_features;
}
/**
* Control content
*/
public function content_template() {
?>
<div class="themeisle-upsell">
<# if ( data.options ) { #>
<ul class="themeisle-upsell-features">
<# for (option in data.options) { #>
<li><span class="upsell-pro-label"></span>{{ data.options[option] }}
</li>
<# } #>
</ul>
<# } #>
<# if ( data.button_text && data.button_url ) { #>
<a target="_blank" href="{{ data.button_url }}" class="button button-primary" target="_blank">{{
data.button_text }}</a>
<# } #>
<# if ( data.explained_features.length > 0 ) { #>
<hr />
<ul class="themeisle-upsell-feature-list">
<# for (requirement in data.explained_features) { #>
<li>* {{{ data.explained_features[requirement] }}}</li>
<# } #>
</ul>
<# } #>
</div>
<?php
}
}
endif;