* @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\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Finder\Administrator\Helper\LanguageHelper; /** @var \Joomla\Component\Finder\Administrator\View\Index\HtmlView $this */ $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $lang = $this->getLanguage(); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('multiselect') ->useScript('table.columns') ->useScript('joomla.dialog-autocreate'); // Show warning that the content - finder plugin is disabled if ($this->finderPluginId) { $popupOptions = [ 'popupType' => 'iframe', 'textHeader' => Text::_('COM_FINDER_EDIT_PLUGIN_SETTINGS'), 'src' => Route::_('index.php?option=com_plugins&client_id=0&task=plugin.edit&extension_id=' . $this->finderPluginId . '&tmpl=component&layout=modal', false), ]; $link = HTMLHelper::_( 'link', '#', Text::_('COM_FINDER_CONTENT_PLUGIN'), [ 'class' => 'alert-link', 'data-joomla-dialog' => $this->escape(json_encode($popupOptions, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)), 'data-checkin-url' => Route::_('index.php?option=com_plugins&task=plugins.checkin&format=json&cid[]=' . $this->finderPluginId), 'data-close-on-message' => '', 'data-reload-on-close' => '', ], ); Factory::getApplication()->enqueueMessage(Text::sprintf('COM_FINDER_INDEX_PLUGIN_CONTENT_NOT_ENABLED_LINK', $link), 'warning'); } ?>
$this]); ?> items)) : ?>
getCurrentUser()->authorise('core.manage', 'com_finder'); ?> items as $i => $item) : ?>
, ,
link_id, false, 'cid', 'cb', $item->title); ?> published, $i, 'index.', $canChange, 'cb'); ?> escape($item->title); ?> escape($item->title); ?> t_title); echo $lang->hasKey($key) ? Text::_($key) : $item->t_title; ?> indexdate, Text::_('DATE_FORMAT_LC4')); ?> publish_start_date or (int) $item->publish_end_date or (int) $item->start_date or (int) $item->end_date) : ?> url) > 80) ? substr($item->url, 0, 70) . '...' : $item->url; ?>
pagination->getListFooter(); ?>