CoreFiles by mySites.guru
mod_syndicate.php28 lines, 678 bytes, from Joomla_3.0.3-Stable-Full_Package.zip
Raw History Compare with 3.0.2
md5
b25da5317509d5724ef1e4d619d11ad8
sha1
a25c02b80806e83b3f9a44052e1fed077b9f2150
sha256
1242a07366df9df05869f40e3cd266f158957e6bbce668bbbc4be555b7621b42
<?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 2 releases, Joomla 3.0.3 to 3.0.4. See them all, or every version of this file.