function load_feature($enabled = false) { if (!$this->enabled) { parent::load_feature(); return ''; } $output = $this->load_style(); parent::load_feature(true); echo $output; }
function load_feature($enabled = false) { if (!$this->enabled) { parent::load_feature(); return ''; } $classes = array(1 => 'featured-panel-1 ms-1', 2 => 'featured-panel-1 ms-6', 3 => 'featured-panel-2 ms-2', 4 => 'featured-panel-2 ms-7', 5 => 'featured-panel-1 ms-3', 6 => 'featured-panel-1 ms-8', 7 => 'featured-panel-2 ms-4', 8 => 'featured-panel-2 ms-9', 9 => 'featured-panel-2 ms-5', 10 => 'featured-panel-2 ms-10', 11 => 'featured-panel-2 ms-10'); $output = ' <div class="full-width featured-panel featured-panel-style-2 ' . $classes[$this->style] . '"> <div class="row cf"><div class="fixed-width">' . stripslashes($this->load_style()) . ' </div></div> </div>'; parent::load_feature(true); echo $output; }
function load_feature($enabled = false) { if (!$this->oldFeatures) { // not needed at all for new feature areas //op_page_set_saved_settings($this->config, array()); } else { if (!$this->enabled) { parent::load_feature(); return ''; } $output = $this->load_style(); parent::load_feature(true); echo $output; } }
function load_feature($enabled = false) { $output = $this->load_style(); parent::load_feature(true); echo $output; }