<label class="setting msas-gallery-item msas-gallery-auto_height msas-toggle">
			<span><?php 
_e('Enable Auto Height?', MSWP_TEXT_DOMAIN);
?>
</span>
			<input type="checkbox" data-setting="auto_height" />
		</label>

		<label class="setting msas-gallery-item msas-gallery-skin msas-toggle">
			<span><?php 
_e('Slider Skin', MSWP_TEXT_DOMAIN);
?>
</span>
			<select data-setting="skin" >
			<?php 
$skins = msp_get_skins();
foreach ($skins as $skin) {
    printf('<option value="%s" >%s</option>', $skin['class'], $skin['label']);
}
?>
			</select>
		</label>

		<label class="setting msas-gallery-item msas-gallery-class msas-toggle">
			<span><?php 
_e('Extra css class', MSWP_TEXT_DOMAIN);
?>
</span>
			<input type="input" class="msas-textbox" data-setting="class" />
		</label>
 /**
  * Print required variable for master slider panel
  */
 public function add_panel_variables()
 {
     wp_localize_script('jquery', '__MSP_SKINS', msp_get_skins());
     global $mspdb;
     $slider_alias = '';
     // get and print slider id
     if (isset($_REQUEST['slider_id'])) {
         $slider_id = $_REQUEST['slider_id'];
     } else {
         $slider_id = 0;
         if (isset($_REQUEST['action']) && 'add' == $_REQUEST['action']) {
             $slider_id = $mspdb->add_slider(array('status' => 'draft'));
             wp_localize_script('jquery', '__MSP_SLIDER_ID', (string) $slider_id);
             $slider_alias = $mspdb->generate_slider_alias($slider_id);
             wp_localize_script('jquery', '__MSP_SLIDER_ALIAS', $slider_alias);
         }
     }
     // Get and print panel data
     if ($slider_id) {
         $slider_data = $mspdb->get_slider($slider_id);
         $slider_type = isset($slider_data['type']) ? $slider_data['type'] : 'custom';
         $slider_type = empty($slider_type) ? 'custom' : $slider_type;
         $msp_data = isset($slider_data['params']) ? $slider_data['params'] : NULL;
         $msp_data = empty($slider_data['params']) ? NULL : $slider_data['params'];
         $msp_preset_style = msp_get_option('preset_style', NULL);
         $msp_preset_effect = msp_get_option('preset_effect', NULL);
         $msp_buttons_style = msp_get_option('buttons_style', NULL);
         $msp_preset_style = empty($msp_preset_style) ? NULL : $msp_preset_style;
         $msp_preset_effect = empty($msp_preset_effect) ? NULL : $msp_preset_effect;
         $msp_buttons_style = empty($msp_buttons_style) ? NULL : $msp_buttons_style;
         if (empty($slider_alias)) {
             $slider_alias = isset($slider_data['alias']) && !empty($slider_data['alias']) ? $slider_data['alias'] : $mspdb->generate_slider_alias($slider_id);
             wp_localize_script('jquery', '__MSP_SLIDER_ALIAS', $slider_alias);
         }
         wp_localize_script('jquery', '__MSP_DATA', $msp_data);
         wp_localize_script('jquery', '__MSP_PRESET_STYLE', $msp_preset_style);
         wp_localize_script('jquery', '__MSP_PRESET_EFFECT', $msp_preset_effect);
         wp_localize_script('jquery', '__MSP_TYPE', $slider_type);
         wp_localize_script('jquery', '__MSP_PRESET_BUTTON', $msp_buttons_style);
     }
     // print essential variables (types, taxs, terms, template tags) for post slider in admin panel
     // since version 1.7
     if (isset($slider_type) && 'post' == $slider_type) {
         $defined_tags = msp_get_general_post_template_tags();
         $tags = array();
         foreach ($defined_tags as $defined_tag) {
             $tag_type = '_general' == $defined_tag['type'] ? 'general' : $defined_tag['type'];
             $tags[$tag_type][] = array('name' => $defined_tag['name'], 'label' => $defined_tag['label']);
         }
         // -- get post types, taxes and terms --
         $PS = msp_get_post_slider_class();
         $terms = $PS->get_tax_term_dictionary();
         // -------------------------------------
         //
         $js_data = array('types_taxs_terms' => $terms, 'content_tags' => $tags);
         wp_localize_script('jquery', '__MSP_POST', apply_filters('masterslider_post_slider_init_data', $js_data));
     }
     // print essential variables (types, taxs, terms, template tags) for woocommerce sliders in admin panel
     // since version 1.8
     if (isset($slider_type) && 'wc-product' == $slider_type) {
         // if woocommerce is installed and actived
         if (msp_is_plugin_active('woocommerce/woocommerce.php')) {
             // -- template tags --------------------
             $defined_tags = msp_get_general_post_template_tags();
             $woocomm_tags = msp_get_woocommerce_template_tags();
             $defined_tags = array_merge($defined_tags, $woocomm_tags);
             $tags = array();
             foreach ($defined_tags as $defined_tag) {
                 $tag_type = '_general' == $defined_tag['type'] ? 'general' : $defined_tag['type'];
                 $tags[$tag_type][] = array('name' => $defined_tag['name'], 'label' => $defined_tag['label']);
             }
             // -- get post types, taxes and terms --
             $WCS = msp_get_wc_slider_class();
             $terms = $WCS->get_tax_term_dictionary();
             // -------------------------------------
             $js_data = array('types_taxs_terms' => $terms, 'content_tags' => $tags);
             // if woocommerce is not activated
         } else {
             $js_data = null;
             $wc_installation_url = admin_url('plugin-install.php?tab=plugin-information&plugin=woocommerce&TB_iframe=true&width=600&height=550');
             wp_localize_script('jquery', '__WC_INSTALL_URL', $wc_installation_url);
         }
         wp_localize_script('jquery', '__MSP_POST', apply_filters('masterslider_wc_product_slider_init_data', $js_data));
     }
     // define panel directory path
     wp_localize_script('jquery', '__MSP_PATH', MSWP_AVERTA_ADMIN_URL . '/views/slider-panel/');
     $slider_panel_default_setting = array('width' => 1000, 'height' => 500, 'autoCrop' => false, 'autoplay' => false, 'layout' => 'boxed', 'autoHeight' => false, 'transition' => 'basic', 'speed' => 20, 'className' => '', 'start' => 1, 'space' => 0, 'grabCursor' => true, 'swipe' => true, 'wheel' => false, 'mouse' => true, 'loop' => false, 'shuffle' => false, 'preload' => '-1', 'overPause' => true, 'endPause' => false, 'hideLayers' => false, 'dir' => 'h', 'parallaxMode' => 'swipe', 'centerControls' => true, 'instantShowLayers' => false, 'skin' => 'ms-skin-default', 'duration' => 3, 'slideFillMode' => 'fill', 'sliderVideoFillMode' => 'fill', 'slideVideoLoop' => true, 'slideVideoMute' => true, 'slideVideoAutopause' => false, 'layerContent' => 'Lorem Ipsum');
     wp_localize_script('jquery', '__MSP_DEF_OPTIONS', apply_filters('masterslider_panel_default_setting', $slider_panel_default_setting));
     do_action('masterslider_admin_add_panel_variables', $slider_type);
 }