CoreFiles by mySites.guru
mod_syndicate.php27 lines, 758 bytes, from Joomla_3.6.3-Stable-Full_Package.zip
Raw History Compare with 3.6.2
md5
4e14e769ac93fb988f95431bf9cc1203
sha1
e644ba7828be65f18ea02c921a914247c6da7c8d
sha256
6ed9ff1e6697aafa9c8400c38cf1f6c2bdad24c68b901fc1745ead85f21011a7
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the syndicate functions only once
JLoader::register('ModSyndicateHelper', __DIR__ . '/helper.php');

$params->def('format', 'rss');

$link = ModSyndicateHelper::getLink($params);

if (is_null($link))
{
	return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
$text            = htmlspecialchars($params->get('text'), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_syndicate', $params->get('layout', 'default'));

The same content is in 6 releases, Joomla 3.6.3-rc1 to 3.6.5. See them all, or every version of this file.