Ejemplo n.º 1
0
 public function __construct()
 {
     $this->widget_cssclass = 'cupid-text-widget';
     $this->widget_description = __("List Category", 'cupid');
     $this->widget_id = 'cupid_text_widget';
     $this->widget_name = __('cupid: Text Widget', 'cupid');
     $this->settings = array('title' => array('type' => 'text', 'std' => '', 'label' => __('Title', 'cupid')), 'content' => array('type' => 'text-area', 'std' => '', 'label' => __('Content', 'cupid')));
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $this->widget_cssclass = 'cupid-calsses-popular-widget';
     $this->widget_description = __("Popular Classes", 'cupid');
     $this->widget_id = 'widget_cupid_classes_popular';
     $this->widget_name = __('cupid: Popular Classes', 'cupid');
     $this->settings = array('title' => array('type' => 'text', 'std' => __('Popular Classes', 'cupid'), 'label' => __('Title', 'cupid')), 'number' => array('type' => 'text', 'std' => __('3', 'cupid'), 'label' => __('Number Classes Display', 'cupid')));
     parent::__construct();
 }