<?xml version="1.0" encoding="iso-8859-1"?>
<mosinstall type="module">
	<name>SearchCloud (and Lists)</name>
	<author>Pietro Gallo</author>
	<creationDate>August 2007</creationDate>
	<copyright>(C) 2007 by Pietro Gallo. All rights reserved.</copyright>
	<license>http://www.gnu.org/copyleft/gpl.html</license>
	<authorEmail>pietro.gallo@gmail.com</authorEmail>
	<authorUrl>joomla.pietrogallo.it</authorUrl>
	<version>2.1.4</version>
	<description>This module generates a cloud or a list of search strings.<![CDATA[
	<p><u>IMPORTANT: 'Log Search Strings' must be set to 'Yes' in Joomla 'Global Configuration', 'Statistics'</u><br /><br />
	Using the <b>Blacklist</b> and the <b>Whitelist</b>, you can exclude or include specific search strings.</p>

	<p><b>Blacklist and Whitelist Usage</b>:<br />
	Separate Search Strings with commas (no spaces after commas) e.g.: 'neither this string,nor this string'.</p><br />
	]]></description>
	<files>
		<filename module="mod_searchcloud">mod_searchcloud.php</filename>
	</files>
	<params>
		<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />
		<param name="format" type="radio" default="cloud" label="Format" description="Format of outcome.">
			<option value="cloud">Cloud</option>
			<option value="o_list">Ordered List</option>
			<option value="u_list">Unordered List</option>
		</param>
		<param name="limit" type="text" default="10" label="Count" description="The number of search strings (excluding whitelist) to display (default 10)." />
		<param name="font_size" type="radio" default="custom" label="Font Size" description="If 'Joomla! Default' is chosen, the following two font size fields and 'Line Height' field below will not have effect and the default font size of your current template will be applied.">
			<option value="custom">Custom</option>
			<option value="j_default">Joomla! Default</option>
		</param>
		<param name="max_size" type="text" default="30" label="Maximum Font Size" description="Maximum font size in pixels (default 30)." />
		<param name="min_size" type="text" default="10" label="Minimum Font Size" description="Minimum font size in pixels (default 10)." />
		<param name="weights" type="radio" default="1" label="Weighting Style" description="Decide whether you want the font size to represent actual weights or to decrease at a constant rate.">
			<option value="1">Actual Weights</option>
			<option value="0">Linear Decrease</option>
		</param>
		<param name="sort_alpha" type="radio" default="1" label="Sorting" description="Decide whether you want to sort the cloud alphabetically or by number of searches (descending).">
			<option value="1">Alphabetically</option>
			<option value="0">Searches</option>
		</param>
		<param name="searchphrase" type="list" default="any" label="Search Phrase" description="Search Phrase option for search url.">
			<option value="any">Any words</option>
			<option value="all">All words</option>
			<option value="exact">Exact phrase</option>
		</param>
		<param name="ordering" type="list" default="newest" label="Ordering" description="Ordering option for search url.">
			<option value="newest">Newest first</option>
			<option value="oldest">Oldest first</option>
			<option value="popular">Most popular</option>
			<option value="alpha">Alphabetical</option>
			<option value="category">Section/Category</option>
		</param>
		<param name="spacer" type="text" default="" label="Spacer" description="Item that separates one search string from the other (default is the white space)." />
		<param name="line_height" type="radio" default="fixed" label="Line Height" description="Height of lines. Test what looks best with your template or configuration. If you chose Font Size to be 'Joomla! Default', line height will be 'Dynamic'.">
			<option value="fixed">Max font size</option>
			<option value="dynamic">Dynamic</option>
		</param>
		<param name="alignment" type="list" default="justify" label="Alignment" description="Alignment of words in the cloud.">
			<option value="justify">Justify</option>
			<option value="center">Center</option>
			<option value="left">Left</option>
			<option value="right">Right</option>
		</param>
		<param name="single_words" type="radio" default="1" label="Single words" description="Decide whether you want to include or not strings composed by single words.">
			<option value="1">Include</option>
			<option value="0">Exclude</option>
		</param>
		<param name="blacklist" type="textarea" cols="50" rows="4" default="" label="Search String Blacklist" description="Enter search strings you don't want to see separated by commas (no spaces after commas). % Can be used as wildcard" />
		<param name="whitelist" type="textarea" cols="50" rows="4" default="" label="Search String Whitelist" description="Enter search strings you want to see separated by commas (no spaces after commas). If sorting is by searches, Strings appear at the end of the list with the minimum font size. If sorting is aphabetical, strings take an average font size." />
		<param name="w_items" type="text" default="" label="Number of Whitelist Items" description="Number of Whitelist Items to display randomly (empty field will list all, 0 will list none)." />
		<param name="w_size" type="list" default="rand" label="Size of Whitelist Items" description="Font Size of Whitelist Items">
			<option value="rand">Random</option>
			<option value="ave">Average</option>
			<option value="max">Max</option>
			<option value="min">Min</option>
		</param>
	</params>
</mosinstall>
