Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier modules/mod_finder/tmpl/default.php

Espaces de nommage

 Joomla\Site
 

Variables

 $lang = JFactory::getLanguage()
 
 $suffix = $params->get('moduleclass_sfx')
 
 $output
 
 $showLabel = $params->get('show_label', 1)
 
 $labelClass = (!$showLabel ? 'element-invisible ' : '') . 'finder' . $suffix
 
 $label = '<label for="mod-finder-searchword' . $module->id . '" class="' . $labelClass . '">' . $params->get('alt_label', JText::_('JSEARCH_FILTER_SUBMIT')) . '</label>'
 
 $script
 
 $show_advanced = $params->get('show_advanced', 0)
 
 elseif ( $show_advanced==1)
 
 endif
 

Documentation des variables

◆ $label

$label = '<label for="mod-finder-searchword' . $module->id . '" class="' . $labelClass . '">' . $params->get('alt_label', JText::_('JSEARCH_FILTER_SUBMIT')) . '</label>'

◆ $labelClass

$labelClass = (!$showLabel ? 'element-invisible ' : '') . 'finder' . $suffix

◆ $lang

$lang = JFactory::getLanguage()

◆ $output

$output
Valeur initiale :
= '<input type="text" name="q" id="mod-finder-searchword' . $module->id . '" class="search-query input-medium" size="'
. $params->get('field_size', 20) . '" value="' . htmlspecialchars(JFactory::getApplication()->input->get('q', '', 'string'), ENT_COMPAT, 'UTF-8') . '"'
. ' placeholder="' . JText::_('MOD_FINDER_SEARCH_VALUE') . '"/>'
else ENT_COMPAT
Definition: components/com_newsfeeds/views/category/tmpl/default_items.php:20
$params
Definition: administrator/components/com_banners/views/clients/tmpl/default.php:30
htmlspecialchars(json_encode( $options))
Definition: plugins/editors/codemirror/layouts/editors/codemirror/element.php:34
$module
Definition: templates/beez3/error.php:111

◆ $script

if ( $params->get( 'show_autosuggest', 1)) $script

◆ $show_advanced

$show_advanced = $params->get('show_advanced', 0)

◆ $showLabel

$showLabel = $params->get('show_label', 1)

◆ $suffix

◆ elseif

elseif($show_advanced==1)

◆ endif

endif