Your IP : 216.73.216.11


Current Path : /home/digilove/public_html/41423/
Upload File :
Current File : //home/digilove/public_html/41423/document.tar

css/document.css000064400000000634152351622060007671 0ustar00
.yt-responsive-media-yes {

	position: relative;

	padding-bottom: 56.25%;

	height: 0;

	overflow: hidden;

}

.yt-responsive-media-yes iframe,

.yt-responsive-media-yes object,

.yt-responsive-media-yes embed {

	position: absolute;

	top: 0;

	left: 0;

	width: 100%;

	height: 100%;

}

.yt-document { margin: 0 0 1.5em 0 }

.yt-document iframe { border: none !important }
css/index.html000064400000000032152351622060007326 0ustar00<html><body></body></html>js/index.html000064400000000032152351622060007152 0ustar00<html><body></body></html>config.php000064400000003740152351622060006530 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_document_config {
	static function get_config() {
	        // document
	        return array(
	        	'url' => array(
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_URL'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOCUMENT_URL_DESC')
                ),
                'width' => array(
                    'type'    => 'slider',
                    'min'     => 200,
                    'max'     => 1600,
                    'step'    => 20,
                    'default' => 600,
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOCUMENT_WIDTH_DESC'),
                    'child'   => array(
                        'height' => array(
                            'type'    => 'slider',
                            'min'     => 200,
                            'max'     => 1600,
                            'step'    => 20,
                            'default' => 600,
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HEIGHT'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOCUMENT_HEIGHT_DESC')
                        ),
                         'responsive' => array(
		                    'type'    => 'bool',
		                    'default' => 'yes',
		                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RESPONSIVE'),
		                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RESPONSIVE_DESC')
		                ),
                    )
                ),
               
	        );
	    }
	}

?>shortcode.php000064400000002111152351622060007244 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 documentYTShortcode($atts = null, $content = null) {
        $atts = ytshortcode_atts(array(
            'url'        => '',
            'file'       => null,
            'width'      => 600,
            'height'     => 600,
            'responsive' => 'yes',
            'class'      => ''
                ), $atts, 'yt_document');
        if ($atts['file'] !== null)
            $atts['url'] = $atts['file'];
        JHtml::stylesheet(JUri::base()."plugins/system/ytshortcodes/shortcodes/document/css/document.css",'text/css');
        return '<div class="yt-document yt-responsive-media-' . $atts['responsive'] . '"><iframe src="http://docs.google.com/viewer?embedded=true&amp;url=' . yt_image_media($atts['url']) . '" width="' . $atts['width'] . '" height="' . $atts['height'] . '" class="yt-document"></iframe></div>';
    }
?>