addToolBar(); VikBookingLoader::import('update.license'); $hidead = VikRequest::getInt('hidead', 0, 'request'); if ($hidead > 0) { VikBookingLicense::setVcmAd(false); } $lic_key = VikBookingLicense::getKey(); $lic_date = VikBookingLicense::getExpirationDate(); $is_pro = VikBookingLicense::isPro(); if ($is_pro > 0) { $tpl = 'pro'; } $this->lic_key = $lic_key; $this->lic_date = $lic_date; $this->is_pro = $is_pro; // Display the template parent::display($tpl); } /** * Sets the toolbar */ protected function addToolBar() { JToolBarHelper::title(JText::translate('VBMAINGOTOPROTITLE'), 'vikbooking'); } }