CoreFiles by mySites.guru
default.php46 lines, 1,502 bytes, from Joomla_1.5.7-Stable-Full_Package.zip
Raw History Compare with 1.5.6
md5
93648ef133bb078994e9390c6998c95a
sha1
25357209fae636bdc11ec8fc1bda8fd51858ed2b
sha256
62e62b2ab8d265e60e2932f1b062bf908a6723ed7e8c52a5eb72be729c1cacb5
<?php
// @version $Id: default.php 10871 2008-08-30 07:30:33Z willebil $
defined('_JEXEC') or die('Restricted access');
?>

<form action="index.php"  method="post" class="search<?php echo $params->get('moduleclass_sfx'); ?>">
	<label for="mod_search_searchword">
		<?php echo JText::_('search') ?>
	</label>
	<?php
		    $output = '<input name="searchword" id="mod_search_searchword" maxlength="20" alt="'.$button_text.'" 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) :
			        $button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'"/>';
			    else :
			        $button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'"/>';
			    endif;
			endif;

			switch ($button_pos) :
			    case 'top' :
				    $button = $button.'<br />';
				    $output = $button.$output;
				    break;

			    case 'bottom' :
				    $button = '<br />'.$button;
				    $output = $output.$button;
				    break;

			    case 'right' :
				    $output = $output.$button;
				    break;

			    case 'left' :
			    default :
				    $output = $button.$output;
				    break;
			endswitch;

			echo $output;
    ?>
	<input type="hidden" name="option" value="com_search" />
	<input type="hidden" name="task"   value="search" />
</form>

No other release has this exact content. See every version of this file.