芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.8/components/com_redirect/tmpl/links/emptystate.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; $displayData = [ 'textPrefix' => 'COM_REDIRECT', 'formURL' => 'index.php?option=com_redirect&view=links', 'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Redirects:_Links', 'icon' => 'icon-map-signs redirect', ]; $user = Factory::getApplication()->getIdentity(); if ($user->authorise('core.create', 'com_redirect')) { $displayData['createURL'] = 'index.php?option=com_redirect&task=link.add'; } if ($user->authorise('core.create', 'com_redirect') && $user->authorise('core.edit', 'com_redirect') && $user->authorise('core.edit.state', 'com_redirect')) { $displayData['formAppend'] = HTMLHelper::_( 'bootstrap.renderModal', 'collapseModal', [ 'title' => Text::_('COM_REDIRECT_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ], $this->loadTemplate('batch_body') ); } ?> redirectPluginId) : ?> redirectPluginId . '&tmpl=component&layout=modal'); ?> redirectPluginId . 'Modal', array( 'url' => $link, 'title' => Text::_('COM_REDIRECT_EDIT_PLUGIN_SETTINGS'), 'height' => '400px', 'width' => '800px', 'bodyHeight' => '70', 'modalWidth' => '80', 'closeButton' => false, 'backdrop' => 'static', 'keyboard' => false, 'footer' => '
' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '
' . '
' . Text::_('JSAVE') . '
' . '
' . Text::_('JAPPLY') . '
' ) ); ?>