<?php

if (!defined('ABSPATH')) {
    die;
} // Cannot access pages directly.
// ===============================================================================================
// -----------------------------------------------------------------------------------------------
// SHORTCODE GENERATOR OPTIONS
// -----------------------------------------------------------------------------------------------
// ===============================================================================================
$options = array();

// -----------------------------------------
// Basic Shortcode Examples                -
// -----------------------------------------



$options[] = array(
    'title' => 'OnEvent Shortode List',
    'shortcodes' => array(
        // FAQ: shortcode
        array(
            'name' => 'xs_faqgroup',
            'title' => 'FAQ Shortcode',
            'view' => 'clone',
            'clone_id' => 'xs_accordion',
            'clone_title' => 'Add New',
            'clone_fields' => array(
                array(
                    'id' => 'title',
                    'type' => 'text',
                    'title' => 'Accordian Title',
                ),
                array(
                    'id' => 'collapse',
                    'type' => 'select',
                    'title' => 'collapse',
                    'options' => array(
                        'closed' => 'closed',
                        'open' => 'open',
                    )
                ),
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Accordian Content',
                ),
            )
        ),
        // FAQ: END shortcode
        // 
        // Recent Blog  begin: shortcode
        array(
            'name' => 'xs_blog',
            'title' => ' Recent Blog',
            'fields' => array(
                array(
                    'id' => 'count',
                    'type' => 'select',
                    'title' => 'Recent Blog Post ',
                    'options' => array(
                        '3' => '3',
                        '6' => '6',
                        '9' => '9',
                    ),
                ),
            ),
        ),
        // Recent Blog end: shortcode
        //Partner begin: shortcode
        array(
            'name' => 'xs_sponsor',
            'title' => 'Partner',
            'fields' => array(
                array(
                    'type' => 'content',
                    'content' => 'Just click to "Insert Shortcode, this is adding a single shortcode',
                ),
            ),
        ),
        //Partner end: shortcode
        //Schdule begin: shortcode
        array(
            'name' => 'xs_main_tab',
            'title' => 'Schedule',
            'fields' => array(
                array(
                    'type' => 'content',
                    'content' => 'Just click to "Insert Shortcode, this is adding a single shortcode',
                ),
            ),
        ),
        //Schdule end: shortcode
        //Schdule begin: shortcode
        array(
            'name' => 'xs_speakers',
            'title' => 'Speaker',
            'fields' => array(
                array(
                    'type' => 'content',
                    'content' => 'Just click to "Insert Shortcode, this is adding a single shortcode',
                ),
            ),
        ),
        //Schdule end: shortcode
        //Venue begin: shortcode
        array(
            'name' => 'xs_location',
            'title' => 'Venue',
            'fields' => array(
                array(
                    'type' => 'content',
                    'content' => 'Just click to "Insert Shortcode, this is adding a single shortcode',
                ),
            ),
        ),
        //Venue end: shortcode
        // begin: shortcode
        array(
            'name' => 'xs_pricing',
            'title' => 'Pricing Table',
            'fields' => array(
                array(
                    'id' => 'table_group',
                    'type' => 'text',
                    'title' => 'Table Group',
                    'default' => 'pricing group1',
                ),
            ),
        ),
    //Partner end: shortcode
    ),
);





// -----------------------------------------
// Extra Shortcode                 -
// -----------------------------------------

$options[] = array(
    'title' => 'Theme  Default Shortcodes',
    'shortcodes' => array(
        // begin: shortcode
        array(
            'name' => 'xs_full_width',
            'title' => 'Full Width Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        array(
            'name' => 'xs_one_sixth',
            'title' => 'One Sixth Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        array(
            'name' => 'xs_one_half',
            'title' => 'One Half Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        array(
            'name' => 'xs_one_third',
            'title' => 'One Third Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        array(
            'name' => 'xs_one_fourth',
            'title' => 'One Fourth Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        array(
            'name' => 'xs_two_third',
            'title' => 'Two Third Column',
            'fields' => array(
                // shortcode option field
                array(
                    'id' => 'class',
                    'type' => 'text',
                    'title' => 'Optional Class',
                ),
                // shortcode content
                array(
                    'id' => 'content',
                    'type' => 'textarea',
                    'title' => 'Content',
                    'help' => 'Add you content here.',
                )
            ),
        ),
        // end: shortcode
        // begin: shortcode
        array(
            'name' => 'xs_button',
            'title' => 'Button',
            'fields' => array(
                array(
                    'id' => 'link',
                    'type' => 'text',
                    'title' => 'Link',
                    'help' => 'Add a link with http://.',
                ),
                array(
                    'id' => 'postion',
                    'type' => 'select',
                    'title' => 'Button Postion',
                    'options' => array(
                        'left' => 'left',
                        'center' => 'center',
                        'right' => 'right',
                    ),
                ),
                array(
                    'id' => 'content',
                    'type' => 'text',
                    'title' => 'Button Text',
                ),
            ),
        ),
    // end: shortcode
    ),
);




CSFramework_Shortcode_Manager::instance($options);
