X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/layouts/joomla/toolbar
home
/
notabjze
/
narcev.com
/
layouts
/
joomla
/
toolbar
/
ðŸ“
..
📄
base.php
(406 B)
📄
basic.php
(2.57 KB)
📄
batch.php
(1.05 KB)
📄
containerclose.php
(268 B)
📄
containeropen.php
(676 B)
📄
dropdown.php
(1.96 KB)
📄
iconclass.php
(385 B)
📄
link.php
(1019 B)
📄
popup.php
(1.34 KB)
📄
separator.php
(826 B)
📄
standard.php
(2.13 KB)
📄
title.php
(576 B)
📄
versions.php
(1.72 KB)
Editing: versions.php
<?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @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' => '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" aria-hidden="true">' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>' ) ); ?> <joomla-toolbar-button id="toolbar-versions"> <button class="btn btn-primary" type="button" data-bs-target="#versionsModal" data-bs-toggle="modal"> <span class="icon-code-branch" aria-hidden="true"></span> <?php echo $title; ?> </button> </joomla-toolbar-button>
Upload File
Create Folder