<?xml version="1.0" encoding="utf-8"?>
<install version="1.5.0" type="module" method="upgrade">
    <name>Rapid Contact</name>
    <author>Christopher Mavros</author>
    <creationDate>May 2010</creationDate>
    <copyright>Copyright (C) 2010 Christopher Mavros. All rights reserved.</copyright>
    <license>GNU General Public License</license>
    <authorEmail>mavrosxristoforos@gmail.com</authorEmail>
    <authorUrl>http://www.mavrosxristoforos.com/</authorUrl>
    <version>1.1</version>
    <description>Rapid Contact. Lightweight, fast and easy, configuring a contact form, was never a pleasure before.</description>
    <files>
        <filename module="mod_rapid_contact">mod_rapid_contact.php</filename>
    </files>
    <params>
        <param name="dummy1"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;Email Parameters&lt;/strong&gt;</option>      
        </param>   
        <param name="email_recipient"
        type="text"
        default="email@email.com"
        label="Email Recipient"        
        description="The recipient of the contact mail." />         
        <param name="from_name"
        type="text"
        default="Rapid Contact"
        label="Mail From Name"
        description="The name of the message's sender" />
        <param name="from_email"
        type="text"
        default="rapid_contact@yoursite.com"
        label="Mail From Email"
        description="The email of the message's sender" />          

        <param name="@spacer" type="spacer" default="" label="" description=""/>
        <param name="dummy2"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;Text Parameters&lt;/strong&gt;</option>      
        </param>  
        <param name="email_label"
        type="text"
        default="Email:"
        label="Email Label"
        description="The label next to the email input." />        
        <param name="subject_label"
        type="text"
        default="Subject:"
        label="Subject Label"
        description="The label next to the subject input." />
        <param name="message_label"
        type="text"
        default="Message:"
        label="Message Label"
        description="The label next to the message text area." />  
        <param name="button_text"
        type="text"
        default="Send Message"
        label="Button Text"
        description="The text on the send button" /> 
        <param name="page_text"
        type="text"
        default="Thank you for your contact."
        label="Thank you text"
        description="The text displayed to the user when he sends a message" /> 
        <param name="error_text"
        type="text"
        default="Your message could not be sent. Please try again."
        label="Error page text"
        description="The text displayed to the user when the message fails to be sent" />           
        <param name="no_email"
        type="text"
        default="Please write your email"
        label="No Email Error Message"
        description="The error message when the user does not write an email" />
        <param name="invalid_email"
        type="text"
        default="Please write a valid email"
        label="Invalid Email Error Message"
        description="The error message when the user writes an invalid email" />
        <param name="pre_text"
        type="text"
        default=""
        label="Small Intro Text"
        description="A small text shown before (above) the message form. HTML is welcome!" />        
        
        <param name="@spacer" type="spacer" default="" label="" description=""/>
        <param name="dummy3"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;Size and Color Parameters&lt;/strong&gt;</option>      
        </param>  
        <param name="thank_text_color"
        type="text"
        default="#FF0000"
        label="Text Color"
        description="The color of the Thank you text." />  
        <param name="error_text_color"
        type="text"
        default="#FF0000"
        label="Error Text Color"
        description="The color of the Error text." />          
        <param name="email_width"
        type="text"
        default="15"
        label="Email Width"
        description="Width in letters of the email input" />         
        <param name="subject_width"
        type="text"
        default="15"
        label="Subject Width"
        description="Width in letters of the subject input" />
        <param name="message_width"
        type="text"
        default="12"
        label="Message Width"
        description="Width in columns of the message textarea" />        
        <param name="button_width"
        type="text"
        default="100"
        label="Button Width"
        description="Width in percent of the send button" />     
        
        <param name="@spacer" type="spacer" default="" label="" description=""/>
        <param name="dummy4"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;URL Parameters&lt;/strong&gt;</option>      
        </param>    
        <param name="exact_url"
        type="radio"
        default="1"
        label="Exact URL"
        description="This is an advanced option about the url retrieval way. If your site is http and your server/host supports https this should be No.">
            <option value="0">No</option>
            <option value="1">Yes</option>
        </param>     
        <param name="disable_https"
        type="radio"
        default="0"
        label="Disable HTTPS"
        description="This is an advanced option about the url retrieval way. Please enable it if Rapid Contact posts in https and your site is http.">
            <option value="0">No</option>
            <option value="1">Yes</option>
        </param>       
        <param name="fixed_url"
        type="radio"
        default="0"
        label="Fixed URL"
        description="A simple solution to people that want to use Rapid Contact in an exact page. Change this to Yes and write the URL of Rapid Contact in the Fixed URL Address parameter">
            <option value="0">No</option>
            <option value="1">Yes</option>        
        </param>        
        <param name="fixed_url_address"
        type="text"
        default=""
        label="Fixed URL Address"
        description="If fixed url is true, this address is used for Rapid Contact to post itself."/>   
        
        <param name="@spacer" type="spacer" default="" label="" description=""/>
        <param name="dummy5"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;Anti-spam Parameters&lt;/strong&gt;</option>      
        </param>     
        <param name="enable_anti_spam"
        type="radio"
        default="1"
        label="Enable Anti-spam"
        description="Enable this to use the anti-spam question for anti-spam control">
            <option value="0">No</option>
            <option value="1">Yes</option>
        </param>          
        <param name="anti_spam_q"
               type="text"
               default="How many eyes has a typical person?"
               label="Anti-Spam Question"
               description="A small text question, preventing you from every automated spam" />
        <param name="anti_spam_a"
               type="text"
               default="2"
               label="Anti-Spam Answer"
               description="The correct answer to the anti-spam question" />    
        <param name="anti_spam_position"
        type="radio"
        default="0"
        label="Anti-Spam Position"
        description="The anti-spam position, relative to the Rapid Contact form.">
            <option value="0">Before</option>
            <option value="1">After</option>        
        </param>                   
               
        <param name="@spacer" type="spacer" default="" label="" description=""/>
        <param name="dummy8"
        type="radio"
        default="0"
        label="Parameter Group"
        description="This is a dummy parameter, used to group other parameters.">
            <option value="0">&lt;strong&gt;Module Class Suffix Parameter&lt;/strong&gt;</option>      
        </param>   
        <param name="moduleclass_sfx"
        type="text"
        default=""
        label="Module Class Suffix"
        description="If you want to apply a custom style, change this class suffix." />                  
    </params>
</install>