File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_sliderck/views/menus/view.html.php
Back
<?php /** * @name Slider CK * @package com_sliderck * @copyright Copyright (C) 2016. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); jimport('joomla.application.component.view'); /** * View class for a list of Maximenuck. */ class SliderckViewMenus extends JViewLegacy { protected $items; protected $pagination; protected $state; /** * Display the view */ public function display($tpl = null) { $input = JFactory::getApplication()->input; $user = JFactory::getUser(); $authorised = ($user->authorise('core.create', 'com_sliderck') || (count($user->getAuthorisedCategories('com_sliderck', 'core.create')))); if ($authorised !== true) { JError::raiseError(403, JText::_('JERROR_ALERTNOAUTHOR')); return false; } // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseWarning(500, implode("\n", $errors)); return false; } // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } // $this->state = $this->get('State'); $this->menus = $this->get('Menus'); $this->items = $this->get('Items'); // $this->pagination = $this->get('Pagination'); parent::display($tpl); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings