<?php /** * @package Sven.Bluege * @subpackage com_eventgallery * * @copyright Copyright (C) 2005 - 2019 Sven Bluege All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @noinspection PhpUndefinedClassInspection */ class EventgalleryViewCache extends EventgalleryLibraryCommonView { protected $folders; function display($tpl = null) { $this->folders = $this->get('Folders'); $this->addToolbar(); parent::display($tpl); } protected function addToolbar() { JFactory::getApplication()->input->set('hidemainmenu', true); JToolbarHelper::title( JText::_('COM_EVENTGALLERY_SUBMENU_CLEAR_CACHE') ); JToolbarHelper::cancel( 'cache.cancel', 'Close' ); } }