Файловый менеджер - Редактировать - /home/lmsyaran/public_html/administrator/components/com_rsticketspro/views/staffs/view.html.php
Назад
<?php /** * @package RSTickets! Pro * * @copyright (c) 2010 - 2016 RSJoomla! * @link https://www.rsjoomla.com * @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html */ defined('_JEXEC') or die('Restricted access'); class RsticketsproViewStaffs extends JViewLegacy { protected $items; protected $pagination; protected $state; public function display($tpl = null) { $this->addToolbar(); $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); $this->filterForm = $this->get('FilterForm'); $this->activeFilters = $this->get('ActiveFilters'); parent::display($tpl); } protected function addToolbar() { // set title JToolbarHelper::title('RSTickets! Pro', 'rsticketspro'); RSTicketsProToolbarHelper::addToolbar('staffs'); $user = JFactory::getUser(); if ($user->authorise('staff.create', 'com_rsticketspro')) { JToolbarHelper::addNew('staff.add'); } if ($user->authorise('staff.edit', 'com_rsticketspro')) { JToolbarHelper::editList('staff.edit'); } if ($user->authorise('staff.delete', 'com_rsticketspro')) { JToolbarHelper::deleteList('RST_CONFIRM_DELETE', 'staffs.delete'); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка