4 * @subpackage mod_search
5 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
6 * @license GNU General Public License version 2 or later; see LICENSE.txt
10 defined('_JEXEC') or die;
12 <form action="<?php echo JRoute::_('index.php');?>" class="art-search" method="post">
13 <div class="search<?php echo $moduleclass_sfx ?>">
15 $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=\'\';" />';
18 $button = '<input type="image" value="'.$button_text.'" class="button art-search-button '.$moduleclass_sfx.'" src="'.$img.'" onclick="this.form.searchword.focus();"/>';
20 $button = '<input type="submit" value="'.$button_text.'" class="button art-search-button '.$moduleclass_sfx.'" onclick="this.form.searchword.focus();"/>';
24 switch ($button_pos) :
26 $button = $button.'<br />';
27 $output = $button.$output;
31 $button = '<br />'.$button;
32 $output = $output.$button;
36 $output = $output.$button;
41 $output = $button.$output;
47 <input type="hidden" name="task" value="search" />
48 <input type="hidden" name="option" value="com_search" />
49 <input type="hidden" name="Itemid" value="<?php echo $mitemid; ?>" />