| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 // @version $Id: default.php 15183 2010-03-04 23:15:59Z ian $ 3 defined('_JEXEC') or die('Restricted access'); 4 ?> 5 6 <form action="index.php" method="post" class="search<?php echo $params->get('moduleclass_sfx'); ?>"> 7 <label for="mod_search_searchword"> 8 <?php echo JText::_('search') ?> 9 </label> 10 <?php 11 $output = '<input name="searchword" id="mod_search_searchword" maxlength="20" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if(this.value==\'\') this.value=\''.$text.'\';" onfocus="if(this.value==\''.$text.'\') this.value=\'\';" />'; 12 13 if ($button) : 14 if ($imagebutton) : 15 $button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'"/>'; 16 else : 17 $button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'"/>'; 18 endif; 19 endif; 20 21 switch ($button_pos) : 22 case 'top' : 23 $button = $button.'<br />'; 24 $output = $button.$output; 25 break; 26 27 case 'bottom' : 28 $button = '<br />'.$button; 29 $output = $output.$button; 30 break; 31 32 case 'right' : 33 $output = $output.$button; 34 break; 35 36 case 'left' : 37 default : 38 $output = $button.$output; 39 break; 40 endswitch; 41 42 echo $output; 43 ?> 44 <input type="hidden" name="option" value="com_search" /> 45 <input type="hidden" name="task" value="search" /> 46 <input type="hidden" name="Itemid" value="<?php echo $mitemid; ?>" /> 47 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |