CoreFiles by mySites.guru
mod_syndicate.php27 lines, 730 bytes, from Joomla_3.6.0-Stable-Full_Package.zip
Raw History Compare with 3.5.1
md5
031beb39649c8095d489093b0cc00fb5
sha1
7ddfbc89880f5a429098cfbc1ab77bd40c28bb89
sha256
638b7c5891b61091a9ca48f60d38ef49fb545f6b5e69a2a6dfde86c19e7b45e5
<?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
require_once __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 10 releases, Joomla 3.6.0-alpha to 3.6.2. See them all, or every version of this file.