Your IP : 216.73.216.50


Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2411250/root/tmp/
Upload File :
Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2411250/root/tmp/php3495vc

config.php000064400000003731152434131600006525 0ustar00<?php 

/**
* @package   Shortcode Ultimate
* @author    BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );

class Su_Shortcode_switcher_item_config extends Su_Data {

    function __construct() {
        parent::__construct();
    }
    static function get_config() {

        return array(
            'name'  => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SWITCHER_ITEM'),
            'type'  => 'wrap',
            'group' => 'box',
            'atts'  => array(
                'title' => array(
                    'default' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DEFAULT'),
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_DESC')
                ),
                'icon' => array(
                    'type'    => 'icon',
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ICON'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ICON_DESC')
                ),
                'scroll_reveal' => array(
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')
                ),
                'class' => array(
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC')
                )
            ),
            'content' => 'switcher item content',
            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SWITCHER_ITEM_DESC'),
            'icon'    => 'list-alt'
        );
    }

}
index.html000064400000000032152434131650006540 0ustar00<html><body></body></html>shortcode.php000064400000003173152434131650007257 0ustar00<?php 

/**
* @package   Shortcode Ultimate
* @author    BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );

class Su_Shortcode_switcher_item extends Su_Shortcodes {

    function __construct() {
        parent::__construct();
    }   
    public static function switcher_item($atts = null, $content = null) {
        $atts = su_shortcode_atts(array(
            'title'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SWITCHER_ITEM_TITLE'),
            'icon'     => '',
            'padding'  => '50px 20px',
            'margin'   => '30px 0 0 0',
            'class'    => ''
        ), $atts, 'switcher_item');

        if ($atts['icon']) {
            $atts['icon'] = su_get_icon($atts['icon']);
        }
        else {
            $atts['icon'] = '<i class="fa noicon"></i>';
        }

        $x = Su_Shortcode_switcher::$switcher_item_count;

        Su_Shortcode_switcher::$switcher[$x] = array(
            'title'            => $atts['title'],
            'icon'             => $atts['icon'],
            'padding'          => $atts['padding'],
            'margin'           => $atts['margin'],
            'content'          => su_do_shortcode($content),
            'class'            => $atts['class']
        );

        Su_Shortcode_switcher::$switcher_item_count++;

        if (@$_REQUEST["action"] == 'su_generator_preview') {
            return su_alert_box(JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SWITCH_NOT_PREVIEW'), 'warning');
        }
    }
}