CoreFiles by mySites.guru
mod_search.php32 lines, 1,293 bytes, from Joomla_1.5.0-Stable-Full_Package.zip
Raw History Compare with 1.0.15
md5
2285fe094ee46daedf3c2deaa7d94e46
sha1
e654fd54d65fb7d59b0497024f1948a3076d5536
sha256
7eb9970e0c8e8aee7d3acfa5e9f0d1096cf0b223fa0b71045cd96fe6b908097a
<?php
/**
* @version		$Id: mod_search.php 9764 2007-12-30 07:48:11Z ircmaxell $
* @package		Joomla
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once( dirname(__FILE__).DS.'helper.php' );

$button			 = $params->get('button', '');
$imagebutton	 = $params->get('imagebutton', '');
$button_pos		 = $params->get('button_pos', 'left');
$button_text	 = $params->get('button_text', JText::_('Search'));
$width			 = intval($params->get('width', 20));
$text			 = $params->get('text', JText::_('search...'));
$set_Itemid		 = intval($params->get('set_itemid', 0));
$moduleclass_sfx = $params->get('moduleclass_sfx', '');

if ($imagebutton) {
    $img = modSearchHelper::getSearchImage( $button_text );
}
require(JModuleHelper::getLayoutPath('mod_search'));

The same content is in 4 releases, Joomla 1.5.0 to 1.5.3. See them all, or every version of this file.