public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     $settings = array(array('name' => 'yopress_gallery_clean_link', 'type' => 'dropdown', 'label' => 'Image link leads to ...', 'default' => $this->defaultSettings['yopress_gallery_clean_link'], 'htmlOptions' => array()));
     foreach ($settings as $setting) {
         YoPressBase::instance()->registerAdminSettings($this->config['tab'], $this->config['section'], $this->config['priority'], 0, $setting);
     }
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     $settings = array(array('name' => 'yopress_colorbox_transition', 'type' => 'dropdown', 'label' => 'Transition effect', 'default' => $this->defaultSettings['yopress_colorbox_transition'], 'htmlOptions' => array()), array('name' => 'yopress_colorbox_speed', 'type' => 'input', 'label' => 'Animation speed (ms)', 'default' => $this->defaultSettings['yopress_colorbox_speed'], 'htmlOptions' => array()), array('name' => 'yopress_colorbox_slideshow', 'type' => 'checkbox', 'label' => 'Enable Slideshow', 'default' => $this->defaultSettings['yopress_colorbox_slideshow'], 'htmlOptions' => array()));
     foreach ($settings as $setting) {
         YoPressBase::instance()->registerAdminSettings($this->config['tab'], $this->config['section'], $this->config['priority'], 0, $setting);
     }
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     $settings = array(array('name' => 'yopress_fancybox_open_effect', 'type' => 'dropdown', 'label' => 'Open effect', 'default' => $this->defaultSettings['yopress_fancybox_open_effect'], 'htmlOptions' => array()), array('name' => 'yopress_fancybox_close_effect', 'type' => 'dropdown', 'label' => 'Close effect', 'default' => $this->defaultSettings['yopress_fancybox_close_effect'], 'htmlOptions' => array()));
     foreach ($settings as $setting) {
         YoPressBase::instance()->registerAdminSettings($this->config['tab'], $this->config['section'], $this->config['priority'], 0, $setting);
     }
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     $settings = array('name' => 'dynamic_sidebar_count', 'type' => 'input', 'label' => 'number of sidebars', 'default' => $this->defaultSettings['dynamic_sidebar_count'], 'htmlOptions' => array());
     YoPressBase::instance()->registerAdminSettings('Sidebars', 'General', 'Some excerpt settings', 0, $settings);
     //		$numberOfSidebars = get_option('dynamic_sidebar_count');
     //		if($numberOfSidebars == null || $numberOfSidebars == '') $numberOf = $this->defaultSettings['dynamic_sidebar_count'];
     //		for($i = 1; $i <= $numberOfSidebars; $i++){
     //			$settings = array(
     //				'name'=>'dynamic_sidebar_no_'.$i,
     //				'type' => 'input',
     //				'label' => 'number of sidebars',
     //				'default' => '',
     //				'htmlOptions' => array(
     //
     //				)
     //			);
     //
     //			YoPressBase::instance()->registerAdminSettings('Sidebars','Sidebars','Some excerpt settings', 0, $settings);
     //		}
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     YoPressBase::instance()->registerAdminPage('General', 'general-settings', 1);
     YoPressBase::instance()->registerAdminPageSettings('general-settings', array($this, 'settings'), __t('Twitter Feed Settings'), __t('Description'), 4);
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     $settings = array(array('name' => 'yopress_flex_slider_number_of_slides', 'type' => 'input', 'label' => 'Number of slides displayed in slider', 'default' => $this->defaultSettings['yopress_flex_slider_number_of_slides'], 'htmlOptions' => array()), array('name' => 'yopress_flex_slider_display_category', 'type' => 'categorySelect', 'label' => 'Category which will be displayed in slider', 'default' => '', 'htmlOptions' => array()));
     foreach ($settings as $setting) {
         YoPressBase::instance()->registerAdminSettings($this->config['tab'], $this->config['section'], $this->config['priority'], 0, $setting);
     }
 }
 public function registerAdminSettings()
 {
     parent::registerAdminSettings();
     //YoPressBase::instance()->registerAdminPage(__t('Slider settings'), 'slider-settings',2);
     //YoPressBase::instance()->registerAdminPageSettings('slider-settings', array($this, 'settings'), __t('Slider'), __t('Description'), 4);
 }