| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/voscatalogues/templates/yootheme/html/mod_search/ |
Upload File : |
<?php
namespace YOOtheme;
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
$view = app(View::class);
echo $view('~theme/templates/search', [
'position' => $module->position,
'tag' => $module->attrs,
'attrs' => [
'id' => "search-{$module->id}",
'action' => Route::_('index.php'),
'method' => 'post',
'role' => 'search'
],
'fields' => [
[
'tag' => 'input',
'name' => 'searchword',
'value' => $app->input->getCmd('option') === 'com_search' ? urldecode($app->input->getString('searchword', '')) : false,
'placeholder' => $params->get('text', Text::_('TPL_YOOTHEME_SEARCH')),
'minlength' => '3',
'aria-label' => Text::_('TPL_YOOTHEME_SEARCH')
],
['tag' => 'input', 'type' => 'hidden', 'name' => 'task', 'value' => 'search'],
['tag' => 'input', 'type' => 'hidden', 'name' => 'option', 'value' => 'com_search'],
['tag' => 'input', 'type' => 'hidden', 'name' => 'Itemid', 'value' => $mitemid],
],
]);