* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; Session::checkToken('get') or die(Text::_('JINVALID_TOKEN')); $hash = $this->state->get('sha1_hash'); $formUrl = 'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&item_id=' . $this->state->get('item_id') . '&' . Session::getFormToken() . '=1'; Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION', true); Text::script('COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS', true); Text::script('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('multiselect') ->useScript('com_contenthistory.admin-history-modal'); ?>
toolbar->render(); ?>
items as $item) : ?>
version_id, false, 'cid', 'cb', $item->save_date); ?> save_date, Text::_('DATE_FORMAT_LC6')); ?> sha1_hash == $hash) : ?> version_note); ?> keep_forever) : ?> editor); ?> character_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')); ?>
pagination->getListFooter(); ?>