Your IP : 216.73.216.190


Current Path : /proc/1908984/root/proc/2603263/cwd/
Upload File :
Current File : //proc/1908984/root/proc/2603263/cwd/blockquote.tar

css/blockquote.css000064400000000632152351632400010220 0ustar00.yt-boxquote {
  font-family: "Segoe UI";
  font-size: 118%;
  font-style: italic;
  line-height: 23px;
  clear: both;
  padding: 0 0 0 15px;
}
.yt-boxquote.pull-left {
  margin-right: 20px;
  clear: none;
}
.yt-boxquote.pull-right {
  margin-left: 20px;
  text-align: right;
  clear: none;
}
.yt-boxquote small {
  font-size: 11.4px;
}
.yt-boxquote small cite {
  font-style: italic;
}
css/index.html000064400000000032152351632400007325 0ustar00<html><body></body></html>js/index.html000064400000000032152351632400007151 0ustar00<html><body></body></html>config.php000064400000003740152351632400006527 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_blockquote_config {
static function get_config() {
        // accordion
        return array(
			'yt_title' => array(
				'default' => 'SOMEONE_FAMOUS_TITLE',
				'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE'),
				'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TITLE_DESC'),
			),
			'align' => array('type' => 'select',
				'default' => 'left',
				'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN'),
				'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN_DESC'),
				'values' => array(
					'left'=>'Left',
					'right' => 'Right',
					'none' =>'None'	
				),
				'child'  => array(
                    'width' => array('type' => 'slider',
						'default' => 100,
						'min' => 0,
						'max' => 100,
						'step' => 1,
						'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH'),
						'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH_%_DESC'),
						),
		        )
			),
		   'color' => array('type'=>'color',
				'default' => '#f00',
				'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR'),
				'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COLOR_DESC'),
				'child' => array(
					'border' => array(
						'type' => 'color',
						'default' => '#ccc',
						'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BLOCKQUOTE_BORDER_COLOR'),
						'desc' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BLOCKQUOTE_BORDER_COLOR_DESC'),
					),
				),
			),
		   	'content' => array('type' => 'textarea',
							'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum, maiores esse temporibus accusantium quas soluta quis sed rerum. Sapiente, culpa fugit sit est laboriosam odit.',
							'name' => 'Content',
							),
				   );
	}
}
?>shortcode.php000064400000002064152351632400007252 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 blockquoteYTShortcode($atts, $content = null){
	extract(ytshortcode_atts(array(
		"yt_title"  => '',
		"align"  => 'none',
		'border' =>'#666',
		'color'  =>'#fff',
		'width'  =>'auto',
	), $atts));
	$css = '';
	JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/shortcodes/blockquote/css/blockquote.css");
	$source_yt_title = (($yt_title != '') ? "<small>".$yt_title. "</small>" : '');
	$id = uniqid('blockquote_').rand().time(); 
	
	$css .= ".yt-boxquote.".$id."{width:".$width."%;border-color:".$border.";color:".$color."}";
	$doc = JFactory::getDocument();
	$doc->addStyleDeclaration($css);
	return '<blockquote class="yt-clearfix yt-boxquote pull-'. $align.' '.$id.'">' . parse_shortcode(str_replace(array("<br/>", "<br>", "<br />"), " ", $content)) . $source_yt_title. '</blockquote>';
}
?>