29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-29 16:43:42 +00:00

Fix a bad named param in mod_search

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@19456 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Christophe Demko 2010-11-12 22:38:12 +00:00
parent b492be963a
commit 87c19b7f33

View File

@ -13,7 +13,7 @@ defined('_JEXEC') or die;
<form action="<?php echo JRoute::_('index.php');?>" method="post">
<div class="search<?php echo $params->get('moduleclass_sfx') ?>">
<?php
$output = '<label for="mod_search_searchword">'.($params->get('label') ? $params->get('label') : JText::_('MOD_SEARCH_LABEL_TEXT')).'</label><input name="searchword" id="mod_search_searchword" maxlength="'.$maxlength.'" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if (this.value==\'\') this.value=\''.$text.'\';" onfocus="if (this.value==\''.$text.'\') this.value=\'\';" />';
$output = '<label for="mod_search_searchword">'.$label.'</label><input name="searchword" id="mod_search_searchword" maxlength="'.$maxlength.'" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if (this.value==\'\') this.value=\''.$text.'\';" onfocus="if (this.value==\''.$text.'\') this.value=\'\';" />';
if ($button) :
if ($imagebutton) :