芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.7/components/com_associations/tmpl/associations/modal.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; use Joomla\Component\Associations\Administrator\Helper\AssociationsHelper; $app = Factory::getApplication(); if ($app->isClient('site')) { Session::checkToken('get') or die(Text::_('JINVALID_TOKEN')); } HTMLHelper::_('behavior.multiselect'); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_associations.admin-associations-modal'); $function = $app->input->getCmd('function', 'jSelectAssociation'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canManageCheckin = Factory::getUser()->authorise('core.manage', 'com_checkin'); $iconStates = array( -2 => 'icon-trash', 0 => 'icon-times', 1 => 'icon-check', 2 => 'icon-folder', ); $this->document->addScriptOptions('associations-modal', ['func' => $function]); ?>
$this)); ?> items)) : ?>
,
,
typeSupports['state'])) : ?>
typeFields['menutype'])) : ?>
typeSupports['acl'])) : ?>
items as $i => $item) : $canEdit = AssociationsHelper::allowEdit($this->extensionName, $this->typeName, $item->id); $canCheckin = $canManageCheckin || AssociationsHelper::canCheckinItem($this->extensionName, $this->typeName, $item->id); $isCheckout = AssociationsHelper::isCheckoutItem($this->extensionName, $this->typeName, $item->id); ?>
typeSupports['state'])) : ?>
level)) : ?> $item->level)); ?>
escape($item->title); ?>
editor, $item->checked_out_time, 'associations.'); ?>
escape($item->title); ?>
escape($item->title); ?>
typeFields['alias'])) : ?>
escape($item->alias)); ?>
typeFields['catid'])) : ?>
escape($item->category_title); ?>
association) : ?> extensionName, $this->typeName, (int) $item->id, $item->language, false, false); ?>
typeFields['menutype'])) : ?>
escape($item->menutype_title); ?>
typeSupports['acl'])) : ?>
escape($item->access_level); ?>
id; ?>
pagination->getListFooter(); ?>