/**
  * constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     /* Widget variable settings. */
     $this->widget_cssclass = 'wpcm-widget widget-fixtures';
     $this->widget_description = __('Display upcoming fixtures.', 'wp-club-manager');
     $this->widget_id = 'wpcm_fixtures';
     $this->widget_name = __('WPCM Fixtures', 'wp-club-manager');
     $this->settings = array('title' => array('type' => 'text', 'std' => __('Fixtures', 'wp-club-manager'), 'label' => __('Title', 'wp-club-manager')), 'limit' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 3, 'label' => __('Limit', 'wp-club-manager')), 'comp' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_comp', 'std' => 'All', 'label' => __('Competition', 'wp-club-manager')), 'season' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_season', 'std' => 'All', 'label' => __('Season', 'wp-club-manager')), 'team' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_team', 'std' => 'All', 'label' => __('Team', 'wp-club-manager')), 'venue' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_venue', 'std' => 'All', 'label' => __('Venue', 'wp-club-manager')), 'display_options' => array('type' => 'section_heading', 'label' => __('Display Options', 'wp-club-manager'), 'std' => ''), 'show_date' => array('type' => 'checkbox', 'std' => 1, 'label' => __('Date', 'wp-club-manager')), 'show_time' => array('type' => 'checkbox', 'std' => 1, 'label' => __('Kick Off', 'wp-club-manager')), 'show_comp' => array('type' => 'checkbox', 'std' => 1, 'label' => __('Competition', 'wp-club-manager')), 'show_team' => array('type' => 'checkbox', 'std' => 0, 'label' => __('Team', 'wp-club-manager')), 'link_options' => array('type' => 'section_heading', 'label' => __('Link Options', 'wp-club-manager'), 'std' => ''), 'linktext' => array('type' => 'text', 'std' => __('View all standings', 'wp-club-manager'), 'label' => __('Link text', 'wp-club-manager')), 'linkpage' => array('type' => 'pages_select', 'label' => __('Link page', 'wp-club-manager'), 'std' => 'None'));
     parent::__construct();
 }
 /**
  * constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     /* Widget variable settings. */
     $this->widget_cssclass = 'wpcm-widget widget-sponsors';
     $this->widget_description = __('Display a sponsors logo.', 'wp-club-manager');
     $this->widget_idbase = 'wpcm-sponsors-widget';
     $this->widget_name = __('WPCM Sponsors', 'wp-club-manager');
     $this->settings = array('title' => array('type' => 'text', 'std' => __('Sponsors', 'wp-club-manager'), 'label' => __('Title', 'wp-club-manager')), 'id' => array('type' => 'posts_select', 'post_type' => 'wpcm_sponsor', 'std' => 'None', 'label' => __('Choose a sponsor', 'wp-club-manager'), 'orderby' => 'post_date', 'order' => 'DESC', 'limit' => -1));
     parent::__construct();
 }
 /**
  * constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     /* Widget variable settings. */
     $this->widget_cssclass = 'wpcm-widget widget-standings';
     $this->widget_description = __('Display your clubs league standings.', 'wp-club-manager');
     $this->widget_idbase = 'wpcm-standings-widget';
     $this->widget_name = __('WPCM Standings', 'wp-club-manager');
     $this->settings = array('title' => array('type' => 'text', 'std' => __('Standings', 'wp-club-manager'), 'label' => __('Title', 'wp-club-manager')), 'limit' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 7, 'label' => __('Limit', 'wp-club-manager')), 'comp' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_comp', 'std' => 'All', 'label' => __('Competition', 'wp-club-manager')), 'season' => array('type' => 'tax_select', 'taxonomy' => 'wpcm_season', 'std' => 'All', 'label' => __('Season', 'wp-club-manager')), 'orderby' => array('type' => 'text', 'std' => __('pts', 'wp-club-manager'), 'label' => __('Orderby', 'wp-club-manager')), 'order' => array('type' => 'text', 'std' => __('DESC', 'wp-club-manager'), 'label' => __('Order', 'wp-club-manager')), 'display_options' => array('type' => 'section_heading', 'label' => __('Display Options', 'wp-club-manager'), 'std' => ''), 'thumb' => array('type' => 'checkbox', 'std' => 0, 'label' => __('Show club badge', 'wp-club-manager')), 'linkclub' => array('type' => 'checkbox', 'std' => 0, 'label' => __('Link to club pages', 'wp-club-manager')), 'stats' => array('type' => 'text', 'std' => 'p,w,d,l,f,a,gd,pts', 'label' => __('Statistics', 'wp-club-manager')), 'link_options' => array('type' => 'section_heading', 'label' => __('Link Options', 'wp-club-manager'), 'std' => ''), 'linktext' => array('type' => 'text', 'std' => __('View all standings', 'wp-club-manager'), 'label' => __('Link text', 'wp-club-manager')), 'linkpage' => array('type' => 'pages_select', 'label' => __('Link page', 'wp-club-manager'), 'std' => 'None'));
     parent::__construct();
 }
 /**
  * constructor
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     /* Widget variable settings. */
     $this->widget_cssclass = 'wpcm-widget widget-players';
     $this->widget_description = __('Display a table of players details.', 'wp-club-manager');
     $this->widget_idbase = 'wpcm-players-widget';
     $this->widget_name = __('WPCM Players', 'wp-club-manager');
     $this->settings = array();
     /* Widget settings. */
     $widget_ops = array('classname' => $this->widget_cssclass, 'description' => $this->widget_description);
     parent::__construct();
 }