| Current Path : /home/g/i/t/giteleslfp/www/administrator/components/com_slideshowck/views/about/ |
| Current File : /home/g/i/t/giteleslfp/www/administrator/components/com_slideshowck/views/about/view.html.php |
<?php
/**
* @name Slideshow CK
* @package com_slideshowck
* @copyright Copyright (C) 2019. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
*/
// No direct access
defined('_JEXEC') or die;
use \Slideshowck\CKView;
use \Slideshowck\CKFof;
class SlideshowckViewAbout extends CKView {
function display($tpl = 'default') {
$user = JFactory::getUser();
$authorised = ($user->authorise('core.edit', 'com_slideshowck') || (count($user->getAuthorisedCategories('com_slideshowck', 'core.edit'))));
if ($authorised !== true)
{
throw new Exception(JText::_('JERROR_ALERTNOAUTHOR'), 403);
return false;
}
JToolBarHelper::title(JText::_('Slideshow CK'));
parent::display($tpl);
}
}