芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/beyondbrightenterprise.com/modules/mod_finder/tmpl/default.php
* @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\Module\Finder\Site\Helper\FinderHelper; // Load the smart search component language file. $lang = $app->getLanguage(); $lang->load('com_finder', JPATH_SITE); $input = '
'; $showLabel = $params->get('show_label', 1); $labelClass = (!$showLabel ? 'visually-hidden ' : '') . 'finder'; $label = '
' . $params->get('alt_label', Text::_('JSEARCH_FILTER_SUBMIT')) . '
'; $output = ''; if ($params->get('show_button', 0)) { $output .= $label; $output .= '
'; $output .= $input; $output .= '
' . Text::_('JSEARCH_FILTER_SUBMIT') . '
'; $output .= '
'; } else { $output .= $label; $output .= $input; } Text::script('MOD_FINDER_SEARCH_VALUE', true); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $app->getDocument()->getWebAssetManager(); $wa->getRegistry()->addExtensionRegistryFile('com_finder'); /* * This segment of code sets up the autocompleter. */ if ($params->get('show_autosuggest', 1)) { $wa->usePreset('awesomplete'); $app->getDocument()->addScriptOptions('finder-search', array('url' => Route::_('index.php?option=com_finder&task=suggestions.suggest&format=json&tmpl=component'))); } $wa->useScript('com_finder.finder'); ?>
get('show_advanced', 0); ?>
get('set_itemid', 0)); ?>