* @copyright Copyright (c) 2013, Nicolas GUILLAUME * @link http://themesandco.com/customizr * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ if ( ! class_exists( 'TC_controls' ) ) : class TC_controls extends WP_Customize_Control { public $type; public $link; public $title; public $label; public $buttontext; public $settings; public $hr_after; public $notice; //number vars public $step; public $min; public function render_content() { switch ( $this -> type) { case 'hr': echo '
'; break; case 'title' : ?> title)) : ?>

title); ?>

notice)) : ?> notice ) ?> link ).'" target="_blank">'.$this -> buttontext.''; if ( $this -> hr_after == true) echo '
'; break; case 'select': if ( empty( $this->choices ) ) return; ?> title)) : ?>

title); ?>

notice)) : ?> notice ) ?> id && empty( $sliders ) ) { echo '
'; echo '

'.__("You haven't create any slider yet. Go to the media library, edit your images and add them to your sliders.", "customizr" ).'
'.__( 'Create a slider' , 'customizr' ).'

'; } break; case 'number': ?>
link(); checked( $this->value() ); ?> /> notice)) : ?> notice ) ?>
type ); break; }//end switch }//end function }//end of class endif;