芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/ixilyucatan.gob.mx/layouts/joomla/toolbar/versions.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\Session\Session; extract($displayData, EXTR_OVERWRITE); /** * Layout variables * ----------------- * @var string $id * @var string $itemId * @var string $typeId * @var string $typeAlias * @var string $title */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getDocument()->getWebAssetManager(); $wa->getRegistry()->addExtensionRegistryFile('com_contenthistory'); $wa->useScript('core') ->useScript('webcomponent.toolbar-button') ->useScript('com_contenthistory.admin-history-versions'); echo HTMLHelper::_( 'bootstrap.renderModal', 'versionsModal', array( 'url' => 'index.php?' . http_build_query( [ 'option' => 'com_contenthistory', 'view' => 'history', 'layout' => 'modal', 'tmpl' => 'component', 'item_id' => $itemId, Session::getFormToken() => 1 ] ), 'title' => $title, 'height' => '100%', 'width' => '100%', 'modalWidth' => '80', 'bodyHeight' => '60', 'footer' => '
' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '
' ) ); ?>