Esempio n. 1
0
 function __construct()
 {
     $widget_ops = array('classname' => 'xtreme_grid_text', 'description' => __('Arbitrary text or HTML Grid Widget', XF_TEXTDOMAIN));
     $control_ops = array('width' => 360, 'height' => 350);
     parent::__construct(__FILE__, 'xtreme-grid-text', __('Xtreme Grid Text', XF_TEXTDOMAIN), $widget_ops, $control_ops);
     $this->classes = xtreme_get_grids();
     $this->subcolumns = array("2-20-80", "2-25-75", "2-38-62", "2-40-60", "2-50-50", "2-60-40", "2-62-38", "2-75-25", "2-80-20", "3-20-40-40", "3-20-20-60", "3-20-60-20", "3-25-25-50", "3-25-50-25", "3-33-33-33", "3-40-20-40", "3-40-20-40", "3-40-40-20", "3-50-25-25", "3-60-20-20", "4-20-20-20-40", "4-20-20-40-20", "4-20-40-20-20", "4-25-25-25-25", "4-40-20-20-20", "5-20-20-20-20-20");
 }
Esempio n. 2
0
 public function __construct()
 {
     $widget_ops = array('classname' => 'xtreme_column_posts', 'description' => __('This Widget will display your posts of selected categories in x columns and x rows.', XF_TEXTDOMAIN));
     parent::__construct(__FILE__, 'xtreme-column-posts', __('Xtreme Column Posts', XF_TEXTDOMAIN), $widget_ops);
     $this->classes = xtreme_get_grids();
     /* @since 09/26/2013 */
     $args = apply_filters('xtreme-widget-column-posts-types', array('public' => TRUE, 'show_in_nav_menus' => TRUE));
     $this->post_types = get_post_types($args, 'objects', 'and');
 }
 function __construct()
 {
     $widget_ops = array('classname' => 'xtreme_equalize_grid_posts', 'description' => __('This widget will display your posts in x columns and x rows. The boxes have always the equal height.', XF_TEXTDOMAIN));
     parent::__construct(__FILE__, 'xtreme-equalize-grid-posts', __('Xtreme Equal Heights Posts', XF_TEXTDOMAIN), $widget_ops);
     $this->classes = xtreme_get_grids();
 }
 function __construct()
 {
     $widget_ops = array('classname' => 'xtreme_equalize_pages', 'description' => __('This widget will display your pages in x columns.', XF_TEXTDOMAIN));
     parent::__construct(__FILE__, 'xtreme-equalize-pages', __('Xtreme Equal Heights Pages', XF_TEXTDOMAIN), $widget_ops);
     $this->classes = xtreme_get_grids();
 }