CoreFiles by mySites.guru
mod_syndicate.php28 lines, 678 bytes, from Joomla_3.4.1-Stable-Full_Package.zip
Raw History Compare with 3.4.0
md5
258283a6dd3bccb41b7ccd1f63e80935
sha1
f49e1e48852eb8b439b73720b7f57bec6f1ac6cd
sha256
aa1826b60253baf5d5fb20ac7afb98936f20b56c85d71ad20c4f11a8feb888f8
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2015 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'));

$text = htmlspecialchars($params->get('text'));

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

The same content is in 20 releases, Joomla 3.4.0-beta1 to 3.5.0-beta. See them all, or every version of this file.