CoreFiles by mySites.guru
mod_syndicate.php28 lines, 678 bytes, from Joomla_3.1.4-Stable-Full_Package.zip
Raw History Compare with 3.1.1
md5
028b1dbc02ba3676c36d3aabdd31a051
sha1
d249910ca3b0153d5fbba21b7630f0e1bc94683f
sha256
3de1e67a2d6b79f05f8b3c78464709418a588f54d45a53321e8e2ab692e99890
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2013 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 7 releases, Joomla 3.1.0 to 3.2.1. See them all, or every version of this file.