* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Date\Date; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Privacy\Administrator\View\Consents\HtmlView $this */ /** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('table.columns') ->useScript('multiselect'); $user = Factory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $now = Factory::getDate(); $stateIcons = array(-1 => 'delete', 0 => 'archive', 1 => 'publish'); $stateMsgs = array( -1 => Text::_('COM_PRIVACY_CONSENTS_STATE_INVALIDATED'), 0 => Text::_('COM_PRIVACY_CONSENTS_STATE_OBSOLETE'), 1 => Text::_('COM_PRIVACY_CONSENTS_STATE_VALID') ); ?>
$this)); ?> items)) : ?>
items as $i => $item) : ?>
, ,
id, false, 'cid', 'cb', $item->username); ?> state]; ?>"> username; ?> name; ?> user_id; ?> subject); ?> body; ?> created), null, $now); ?>
created, Text::_('DATE_FORMAT_LC6')); ?>
id; ?>