<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5.0">
  <name>mod_virtuemart_search</name>
  <creationDate>January 29 2021</creationDate>
  <author>The VirtueMart Development Team</author>
  <authorUrl>https://virtuemart.net</authorUrl>
  <copyright>Copyright (C) 2004 - 2021 Virtuemart Team. All rights reserved.</copyright>
  <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
  <version>3.8.8</version>
  <description>MOD_VIRTUEMART_SEARCH_DESC</description>
  <files>
  	<filename module="mod_virtuemart_search">mod_virtuemart_search.php</filename>
  	<filename>tmpl/default.php</filename>
  	<folder>language</folder>
  </files>
  <config>
    <fields name="params">
      <fieldset name="basic">
        <field
          name="width"
          type="text"
          default="20"
          label="MOD_VIRTUEMART_SEARCH_BOX_WIDTH"
          description="MOD_VIRTUEMART_SEARCH_BOX_WIDTH_DESC"
        />
        <field
          name="text"
          type="text"
          default=""
          label="MOD_VIRTUEMART_SEARCH_TEXT"
          description="MOD_VIRTUEMART_SEARCH_TEXT_DESC"
        />
        <field
          name="@spacer"
          type="spacer"
          default=""
          label=""
          description=""
        />
        <field
          name="filter_category"
          type="radio"
          default="0"
          label="MOD_VIRTUEMART_SEARCH_FILTER_CATEGORY"
          description="MOD_VIRTUEMART_SEARCH_FILTER_CATEGORY_DESC"
          >
          <option value="0">No</option>
          <option value="1">Yes</option>
        </field>
        <field
          name="button"
          type="radio"
          default="0"
          label="MOD_VIRTUEMART_SEARCH_BUTTON"
          description="MOD_VIRTUEMART_SEARCH_BUTTON_DESC"
          >
          <option value="0">No</option>
          <option value="1">Yes</option>
        </field>
        <field
          name="button_pos"
          type="list"
          default="right"
          label="MOD_VIRTUEMART_SEARCH_BUTTON_POS"
          description="MOD_VIRTUEMART_SEARCH_BUTTON_POS_DESC"
          >
          <option value="right">MOD_VIRTUEMART_SEARCH_FIELD_VALUE_RIGHT</option>
          <option value="left">MOD_VIRTUEMART_SEARCH_FIELD_VALUE_LEFT </option>
          <option value="top">MOD_VIRTUEMART_SEARCH_FIELD_VALUE_TOP</option>
          <option value="bottom">MOD_VIRTUEMART_SEARCH_FIELD_VALUE_BOTTOM</option>
        </field>
        <field
          name="imagebutton"
          type="radio"
          default="0"
          label="MOD_VIRTUEMART_SEARCH_BUTTON_AS_IMG"
          description="MOD_VIRTUEMART_SEARCH_BUTTON_AS_IMG_DESC"
          >
          <option value="0">No</option>
          <option value="1">Yes</option>
        </field>
        <field
          name="image_button_file"
          type="media"
          default=""
          label="MOD_VIRTUEMART_SEARCH_BUTTON_IMG"
          description="MOD_VIRTUEMART_SEARCH_BUTTON_IMG_DESC"
        />
        <field
          name="button_text"
          type="text" default=""
          label="MOD_VIRTUEMART_SEARCH_BUTTON_TXT"
          description="MOD_VIRTUEMART_SEARCH_BUTTON_TXT_DESC"
        />
        <field
          name="set_itemid"
          type="text"
          label="MOD_VIRTUEMART_SETITEMID_LABEL"
          description="MOD_VIRTUEMART_SETITEMID_DESC"
        />
      </fieldset>
      <fieldset name="advanced">
				<field
					name="layout"
					type="modulelayout"
					label="JFIELD_ALT_LAYOUT_LABEL"
					description="JFIELD_ALT_MODULE_LAYOUT_DESC"
        />      
        <field
          name="moduleclass_sfx"
          type="text" default=""
          label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
          description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
        />
        <field
          name="cache"
          type="list"
          default="1"
          label="COM_MODULES_FIELD_CACHING_LABEL"
          description="COM_MODULES_FIELD_CACHING_DESC"
          >
          <option value="1">JGLOBAL_USE_GLOBAL</option>
          <option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
        </field>
        <field
          name="cache_time"
          type="text"
          default="900"
          label="Cache Time"
          description="The time before the module is recached"
        />
      </fieldset>
    </fields>
  </config>
  <updateservers>
    <!-- Note: No spaces or linebreaks allowed between the server tags -->
    <server type="extension" name="VirtueMart3 mod_virtuemart_search Update Site"><![CDATA[http://virtuemart.net/releases/vm3/mod_virtuemart_search_update.xml]]></server>
  </updateservers>
</extension>