Your IP : 216.73.217.80


Current Path : /home/jlgagfroyt/www/AAOLD/modules/mod_socialsharebuttons/
Upload File :
Current File : /home/jlgagfroyt/www/AAOLD/modules/mod_socialsharebuttons/mod_socialsharebuttons.php

<?php
/**
 * @package		Module Social Share Buttons
 * @version		1.2.3
 * @author		E-max
 * @copyright	Copyright (C) 2008 - 2017 - E-max. All rights reserved.
 * @license		http://www.gnu.org/copyleft/gpl.html GNU/GPL
 **/

// no direct access
defined( "_JEXEC" ) or die( "Restricted access" );

// Include the syndicate functions only once
JLoader::register('SocialShareButtonsHelper', dirname(__FILE__).DIRECTORY_SEPARATOR.'helper.php');

$doc = JFactory::getDocument();

$style = JURI::base() . "modules/mod_socialsharebuttons/style/style.css";
$doc->addStyleSheet($style);

$url    = JURI::getInstance();
$url    = $url->toString();

$title  = $doc->getTitle();

$title  = htmlentities($title, ENT_QUOTES, "UTF-8");

require(JModuleHelper::getLayoutPath('mod_socialsharebuttons'));