widgetName = JText::translate('VBO_W_ORPHDATES_TITLE'); $this->widgetDescr = JText::translate('VBO_W_ORPHDATES_DESCR'); $this->widgetId = basename(__FILE__, '.php'); /** * Define widget and icon and style name. * * @since 1.15.0 (J) - 1.5.0 (WP) */ $this->widgetIcon = ''; $this->widgetStyleName = 'red'; } public function render(VBOMultitaskData $data = null) { $vbo_auth_pricing = JFactory::getUser()->authorise('core.vbo.pricing', 'com_vikbooking'); if (!$vbo_auth_pricing) { return; } // check whether we are in the multitask panel $is_multitask = $this->isMultitaskRendering(); ?>