/**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'job_manager widget_recent_jobs';
     $this->widget_description = __('Display a list of the most recent jobs on your site.', 'wp-job-manager');
     $this->widget_id = 'widget_recent_jobs';
     $this->widget_name = __('Recent Job Listings', 'wp-job-manager');
     $this->settings = array('title' => array('type' => 'text', 'std' => __('Recent Jobs', 'wp-job-manager'), 'label' => __('Title', 'wp-job-manager')), 'number' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 10, 'label' => __('Number of jobs to show', 'wp-job-manager')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     global $wp_post_types;
     $this->widget_cssclass = 'job_manager widget_recent_jobs';
     $this->widget_description = __('Display a list of recent listings on your site, optionally matching a keyword and location.', 'wp-job-manager');
     $this->widget_id = 'widget_recent_jobs';
     $this->widget_name = sprintf(__('Recent %s', 'wp-job-manager'), $wp_post_types['job_listing']->labels->name);
     $this->settings = array('title' => array('type' => 'text', 'std' => sprintf(__('Recent %s', 'wp-job-manager'), $wp_post_types['job_listing']->labels->name), 'label' => __('Title', 'wp-job-manager')), 'keyword' => array('type' => 'text', 'std' => '', 'label' => __('Keyword', 'wp-job-manager')), 'location' => array('type' => 'text', 'std' => '', 'label' => __('Location', 'wp-job-manager')), 'number' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 10, 'label' => __('Number of listings to show', 'wp-job-manager')));
     parent::__construct();
 }