* @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\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('multiselect')->useScript('modal-content-select'); $input = Factory::getApplication()->getInput(); $field = $input->getCmd('field', ''); $listOrder = $this->escape($this->state->get('list.ordering', '')); $listDirn = $this->escape($this->state->get('list.direction', '')); $enabledStates = [0 => 'icon-check', 1 => 'icon-times']; $activatedStates = [0 => 'icon-check', 1 => 'icon-times']; $userRequired = (int) $input->get('required', 0, 'int'); ?>
 
$this]); ?> items)) : ?>
items as $item) : $attribs = 'data-content-select data-content-type="com_users.user"' . ' data-id="' . ((int) $item->id) . '"' . ' data-name="' . $this->escape($item->name) . '"' // @TODO: data-user-value, data-user-name, data-user-field is for backward compatibility, remove in Joomla 6 . ' data-user-value="' . ((int) $item->id) . '"' . ' data-user-name="' . $this->escape($item->name) . '"' . ' data-user-field="' . $this->escape($field) . '"'; ?>
, ,
> escape($item->name); ?> escape($item->username); ?> group_names, false); ?> id; ?>
pagination->getListFooter(); ?>