0byt3m1n1-V2
Path:
/
home
/
academiac
/
www
/
modules
/
mod_virtuemart_search
/
[
Home
]
File: mod_virtuemart_search.php
<?php defined ('_JEXEC') or die('Direct Access to ' . basename (__FILE__) . ' is not allowed.'); /** * @version $Id: mod_virtuemart_search.php 6555 2012-10-17 15:49:43Z alatak $ * @package VirtueMart * @subpackage modules * * @copyright (C) 2011 Patrick Kohl * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * VirtueMart is Free Software. * VirtueMart comes with absolute no warranty. * * www.virtuemart.net */ if (!class_exists ('VmConfig')) { require(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart' . DS . 'helpers' . DS . 'config.php'); } VmConfig::loadConfig (); VmConfig::loadJLang ('mod_virtuemart_search', true); // Load the virtuemart main parse code $button = $params->get ('button', 0); $imagebutton = $params->get ('imagebutton', 0); $button_pos = $params->get ('button_pos', 'left'); $button_text = $params->get ('button_text', JText::_ ('MOD_VIRTUEMART_SEARCH_GO')); $width = intval ($params->get ('width', 20)); $maxlength = $width > 20 ? $width : 20; $text = $params->get ('text', JText::_ ('MOD_VIRTUEMART_SEARCH_TEXT_TXT')); $set_Itemid = intval ($params->get ('set_itemid', 0)); $moduleclass_sfx = $params->get ('moduleclass_sfx', ''); if ($params->get ('filter_category', 0)) { $category_id = JRequest::getInt ('virtuemart_category_id', 0); } else { $category_id = 0; } require(JModuleHelper::getLayoutPath ('mod_virtuemart_search')); ?>
©
2018.