Your IP : 216.73.216.190


Current Path : /proc/self/root/proc/self/root/home/digilove/www/41423/
Upload File :
Current File : //proc/self/root/proc/self/root/home/digilove/www/41423/content_slider_item.tar

css/index.html000064400000000032152351653400007330 0ustar00<html><body></body></html>js/index.html000064400000000032152351653400007154 0ustar00<html><body></body></html>config.php000064400000002522152351653400006527 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
	class YT_Shortcode_content_slider_item_config {
	static function get_config() {
	        // content_slider
	        return array(
	        	'src' => array('type' => 'media',
					   'default' => '',
					   'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_MEDIA'),
					   'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_MEDIA_DESC'),
					   'child' => array(
					   		'caption' => array(
					   			'type' => 'bool',
					   			'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_CAPTION'),
					   			'default' => 'no',
					   			'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_CAPTION_DESC')
					   		),
					   ),
		   		),
				'link'  => array(
					'type' => 'text',
					'default' => '',
					'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_LINK'),
					'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_LINK_DESC')
				),	   
				'content' => array(
					'type' => 'textarea',
				   'default' => 'Add Content Here',
				   'name'  => 'Content',
				),		
	        );
	    }
	}

?>shortcode.php000064400000002135152351653400007254 0ustar00<?php
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
function content_slider_itemYTShortcode($atts,$content = null)
{
    extract(ytshortcode_atts(array(
        'class' => '',
        'src' =>'',
        'caption' => 'no',
        'link' => ''
    ),$atts));
    $image = ($src !='') ? '<img src='.JURI::base().$src.' alt='.uniqid("title_").rand().time().'>' : 'plugins/system/ytshortcodes/assets/images/URL_IMAGES.png';
    if($link != '')
    {
        $image = '<a href="'.$link.'" title="" target="brank">'.$image.'</a>';
    }
    if($caption == "yes")
    {
        return '<div class="yt-content-slide yt-content-wrap' . $class . '"> '.$image.' <div class="caption">'.parse_shortcode(str_replace(array("<br/>", "<br>", "<br />"), " ", $content)).'</div></div>';
    }
    else{
        return '<div class="yt-content-slide yt-clearfix yt-content-wrap' . $class . '"> '.$image.'</div>';
    }

}
?>