<?xml version="1.0" encoding="utf-8"?>
<extension version="1.6" type="module" method="upgrade" client="site">
    <name>Sendy</name>
    <version>1.1.0</version>
    <creationDate>2020/01/13</creationDate>
    <author>SourceCoast | www.sourcecoast.com</author>
    <authorEmail>support@sourcecoast.com</authorEmail>
    <authorUrl>http://www.sourcecoast.com</authorUrl>
    <copyright>Copyright (C) 2011-2014 SourceCoast. All rights reserved.</copyright>
    <license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
    <description>
        <![CDATA[<div style="border: 1px solid #6ba6d7; text-align: justify;"><div style="text-align:center; font-size: 18px; color: white; background:#6ba6d7; padding: 5px;">Sendy Subscription Module</div><div style="padding: 4px; background:white; font-size: 12px;">Sendy integration for Joomla.<br/>Use this module to add a "Newsletter Subscription" form on your site.<br/><br/><b>For more information, see:</b><ol><li><a href="https://www.sourcecoast.com/go/sendy" target="_BLANK">Sendy Documentation</a></li><li><a href="http://www.sourcecoast.com/sendy/" target="_BLANK">Sendy Integration Information</a></li></ol>If you use our free Sendy Integration for Joomla extension, please post a rating and a review at the Joomla! Extensions Directory: <a href="http://extensions.joomla.org/extensions/marketing/mailing-a-newsletter-bridges/26742" target="_blank">Sendy JED Listing</a></div></div>]]>
    </description>
    <files>
        <filename module="mod_sendy">mod_sendy.php</filename>
        <filename>helper.php</filename>
        <filename>mod_sendy.xml</filename>
        <filename>ajax/subscribe.php</filename>
        <filename>tmpl/subscribe.php</filename>
        <filename>tmpl/thanks.php</filename>
        <filename>tmpl/error.php</filename>
    </files>
    <config>
        <fields name="params">
            <fieldset name="sendy" label="COM_MODULES_BASIC_FIELDSET_LABEL" addfieldpath="/libraries/sendy/fields/">
                <field name="api_key" type="text" label="API key" description="Enter your API Key, available in Settings" />
                <field name="list_id" type="sendylists" label="List Id" description="Enter the List ID"/>
                <!--<field name="subscribed_view" type="list" label="Subscribed View" description="If a user has already subscribed, select the type of view to display.">
                        <option value="subscription_form">Subscription Form</option>
                        <option value="subscribed">Subscribed Notice</option>
                        <option value="hidden">Hidden</option>
                </field>-->
                <field name="introtext" type="textarea" rows="5" cols="40" label="Intro Text" filter="safehtml"
                       description="This is the text or HTML that is displayed above the social content." default=""/>
            </fieldset>
            <fieldset name="advanced">
                <field name="moduleclass_sfx" type="text" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
                       description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" default=""/>
                <!--<field name="showPoweredByLink" type="radio" label="Show 'Sendy' newsletter text"
                       description="Show 'Newsletters managed by Sendy' link" default="1">
                    <option value="0">Hide</option>
                    <option value="1">Show</option>
                </field>-->
            </fieldset>
        </fields>
    </config>
</extension>
