示例#1
0
 public function __construct($widgetId, $widgetInstanceId, $pageId)
 {
     $this->configs = array(array('name' => 'date', 'type' => 'datetime', 'displaytext' => 'Enter the date to countdown to', 'default' => '', 'global' => 0), array('name' => 'format', 'type' => 'select', 'options' => 'days|hours|minutes|seconds', 'displaytext' => 'Enter the format of countdown', 'default' => 'days', 'global' => 0), array('name' => 'event', 'type' => 'text', 'displaytext' => 'Enter the Event', 'default' => 'event', 'global' => 0), array('name' => 'global_disable', 'type' => 'bool', 'displaytext' => 'Disable all countdowns in the website', 'default' => '0', 'global' => 1));
     parent::__construct($widgetId, $widgetInstanceId, $pageId, $this->configs);
 }
示例#2
0
 public function __construct($widgetId, $widgetInstanceId, $pageId)
 {
     $this->configs = array(array('name' => 'type', 'type' => 'select', 'options' => 'Facebook Page|Site|Each Page', 'displaytext' => 'Connect to', 'default' => 'Facebook Page', 'global' => 0), array('name' => 'show_face', 'type' => 'select', 'options' => 'Yes|No', 'displaytext' => 'Display the profile pic of people', 'default' => 'yes', 'global' => 0), array('name' => 'color', 'type' => 'select', 'options' => 'Light|Dark', 'displaytext' => 'Color Scheme', 'default' => 'Light', 'global' => 0), array('name' => 'width', 'type' => 'integer', 'displaytext' => 'Width', 'default' => '450', 'global' => 0), array('name' => 'height', 'type' => 'integer', 'displaytext' => 'Height', 'default' => '80', 'global' => 0), array('name' => 'layout', 'type' => 'select', 'options' => 'standard|button_count|box_count', 'displaytext' => 'Layout', 'default' => 'standard', 'global' => 0), array('name' => 'noinput1', 'type' => 'noinput', 'displaytext' => '<b>Below is the list of options for connecting to a Facebook Page. It is recommended to set the width as 300px and height as 556px</b>', 'global' => 0), array('name' => 'pageurl', 'type' => 'text', 'displaytext' => 'Specify the Facebook pagename', 'default' => '', 'global' => 0), array('name' => 'stream', 'type' => 'select', 'options' => 'Yes|No', 'displaytext' => 'Show Page stream', 'default' => 'Yes', 'global' => 0), array('name' => 'header', 'type' => 'select', 'options' => 'Yes|No', 'displaytext' => 'Show Facebook header', 'default' => 'Yes', 'global' => 0), array('name' => 'makeunique', 'type' => 'bool', 'displaytext' => 'Make the IDs unique automatically by appending a unique number ?', 'default' => '1', 'global' => 0), array('name' => 'divclass', 'type' => 'text', 'displaytext' => 'DIV Class', 'default' => 'fb_', 'global' => 0), array('name' => 'divid', 'type' => 'text', 'displaytext' => 'DIV ID', 'default' => 'fb_', 'global' => 0), array('name' => 'global_disable', 'type' => 'bool', 'displaytext' => 'Disable News', 'default' => '0', 'global' => 1));
     parent::__construct($widgetId, $widgetInstanceId, $pageId, $this->configs);
 }
示例#3
0
 public function __construct($widgetId, $widgetInstanceId, $pageId)
 {
     $this->configs = array(array('name' => 'news', 'type' => 'textarea', 'displaytext' => 'News (Specify the link like News[link]) (Use | to separate two events items)', 'default' => 'News 1 : Google[http://www.google.com] | News 2 | News 3 | News 4', 'global' => 0), array('name' => 'jsenable', 'type' => 'select', 'options' => 'yes|no', 'displaytext' => 'Enable Javascript (Ticker)?', 'default' => 'yes', 'global' => 0), array('name' => 'number', 'type' => 'integer', 'displaytext' => 'Number of news items in one block (if js enabled)', 'default' => '3', 'global' => 0), array('name' => 'noinput1', 'type' => 'noinput', 'displaytext' => '<b>Below is the list of advanced options. If you don\'t know how to configure them, please leave them as it is.</b>', 'global' => 0), array('name' => 'makeunique', 'type' => 'bool', 'displaytext' => 'Make the IDs unique automatically by appending a unique number ?', 'default' => '1', 'global' => 0), array('name' => 'divclass', 'type' => 'text', 'displaytext' => 'DIV Class', 'default' => '', 'global' => 0), array('name' => 'divid', 'type' => 'text', 'displaytext' => 'DIV ID', 'default' => 'news_', 'global' => 0), array('name' => 'ulclass', 'type' => 'text', 'displaytext' => 'UL Class', 'default' => '', 'global' => 0), array('name' => 'ulid', 'type' => 'text', 'displaytext' => 'UL ID', 'default' => '', 'global' => 0), array('name' => 'global_disable', 'type' => 'bool', 'displaytext' => 'Disable News', 'default' => '0', 'global' => 1), array('name' => 'global_jsenable', 'type' => 'select', 'options' => 'yes|no', 'displaytext' => 'Enable Javascript (Ticker)?', 'default' => 'yes', 'global' => 1));
     parent::__construct($widgetId, $widgetInstanceId, $pageId, $this->configs);
 }
示例#4
0
 public function __construct($widgetId, $widgetInstanceId, $pageId)
 {
     $this->configs = array(array('name' => 'time_format', 'type' => 'select', 'options' => '12 Hour|24 Hour', 'displaytext' => 'Time display format', 'default' => '12 Hour', 'global' => 0), array('name' => 'display_text', 'type' => 'text', 'displaytext' => 'Display text with the time ( [%s] will be substituted with time )', 'default' => 'Server time : [%s].', 'global' => 0), array('name' => 'global_disable', 'type' => 'bool', 'displaytext' => 'Disable all clocks in the website', 'default' => '0', 'global' => 1));
     parent::__construct($widgetId, $widgetInstanceId, $pageId, $this->configs);
 }
示例#5
0
 public function __construct($widgetId, $widgetInstanceId, $pageId)
 {
     $this->configs = array(array('name' => 'images', 'type' => 'textarea', 'displaytext' => 'Image (Specify the images like image_text [image_link]) (Use | to separate two images)', 'default' => 'Image_text [http://pragyan.org/home/a.jpg] | [http://pragyan.org/home/b.jpg]', 'global' => 0), array('name' => 'slidertype', 'type' => 'select', 'options' => 'None|Advanced Slider', 'displaytext' => 'Select the slider type', 'default' => 'None', 'global' => 0), array('name' => 'width', 'type' => 'text', 'displaytext' => 'Image Width', 'default' => '', 'global' => 0), array('name' => 'height', 'type' => 'text', 'displaytext' => 'Image Height', 'default' => '', 'global' => 0), array('name' => 'speed', 'type' => 'text', 'displaytext' => 'Speed of the slider', 'default' => '3000', 'global' => 0), array('name' => 'effect', 'type' => 'select', 'options' => 'random|swirl|rain|straight', 'displaytext' => 'Select the effect', 'default' => 'random', 'global' => 0), array('name' => 'noinput1', 'type' => 'noinput', 'displaytext' => '<b>Below is the list of advanced options for Advance Slider. If you are not using it, please leave them as it is.</b>', 'global' => 0), array('name' => 'makeunique', 'type' => 'bool', 'displaytext' => 'Make the IDs unique automatically by appending a unique number ?', 'default' => '1', 'global' => 0), array('name' => 'divclass', 'type' => 'text', 'displaytext' => 'DIV Class', 'default' => '', 'global' => 0), array('name' => 'divid', 'type' => 'text', 'displaytext' => 'DIV ID', 'default' => 'slider_', 'global' => 0), array('name' => 'ulclass', 'type' => 'text', 'displaytext' => 'UL Class', 'default' => '', 'global' => 0), array('name' => 'ulid', 'type' => 'text', 'displaytext' => 'UL ID', 'default' => '', 'global' => 0), array('name' => 'global_disable', 'type' => 'bool', 'displaytext' => 'Disable Slider', 'default' => '0', 'global' => 1), array('name' => 'global_jsenable', 'type' => 'select', 'options' => 'yes|no', 'displaytext' => 'Enable Javascript?', 'default' => 'yes', 'global' => 1));
     parent::__construct($widgetId, $widgetInstanceId, $pageId, $this->configs);
 }