<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    Mage
 * @package     Mage_Cms
 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
-->
<widgets>
    <cms_page_link type="cms/widget_page_link" translate="name description" module="cms">
        <name>CMS Page Link</name>
        <description>Link to a CMS Page</description>
        <is_email_compatible>1</is_email_compatible>
        <parameters>
            <page_id type="complex" translate="label">
                <visible>1</visible>
                <required>1</required>
                <label>CMS Page</label>
                <type>label</type>
                <helper_block>
                    <type>adminhtml/cms_page_widget_chooser</type>
                    <data>
                        <button translate="open">
                            <open>Select Page...</open>
                        </button>
                    </data>
                </helper_block>
                <sort_order>10</sort_order>
            </page_id>
            <anchor_text translate="label description">
                <visible>1</visible>
                <label>Anchor Custom Text</label>
                <description>If empty, the Page Title will be used</description>
                <type>text</type>
            </anchor_text>
            <title translate="label">
                <visible>1</visible>
                <label>Anchor Custom Title</label>
                <type>text</type>
            </title>
            <template translate="label">
                <label>Template</label>
                <visible>1</visible>
                <type>select</type>
                <value>cms/widget/link/link_block.phtml</value>
                <values>
                    <default translate="label">
                        <value>cms/widget/link/link_block.phtml</value>
                        <label>CMS Page Link Block Template</label>
                    </default>
                    <link_inline translate="label">
                        <value>cms/widget/link/link_inline.phtml</value>
                        <label>CMS Page Link Inline Template</label>
                    </link_inline>
                </values>
            </template>
        </parameters>
    </cms_page_link>
    <cms_static_block type="cms/widget_block" translate="name description" module="cms">
        <name>CMS Static Block</name>
        <description>Contents of a Static Block</description>
        <parameters>
            <block_id type="complex" translate="label">
                <visible>1</visible>
                <required>1</required>
                <label>Block</label>
                <type>label</type>
                <helper_block>
                    <type>adminhtml/cms_block_widget_chooser</type>
                    <data>
                        <button translate="open">
                            <open>Select Block...</open>
                        </button>
                    </data>
                </helper_block>
                <sort_order>20</sort_order>
            </block_id>
            <template translate="label">
                <label>Template</label>
                <visible>1</visible>
                <type>select</type>
                <value>cms/widget/static_block/default.phtml</value>
                <values>
                    <default translate="label">
                        <value>cms/widget/static_block/default.phtml</value>
                        <label>CMS Static Block Default Template</label>
                    </default>
                </values>
                <sort_order>10</sort_order>
            </template>
        </parameters>
    </cms_static_block>
</widgets>
