CoreFiles by mySites.guru
mod_syndicate.php29 lines, 810 bytes, from Joomla_1.6.2-Stable-Full_Package.zip
Raw History Compare with 1.6.1
md5
3e1a341b3a346b93de918df8bf15401e
sha1
4ba52598caf70972b70938eb8e392e08ed29d1ff
sha256
90b8cdf6720a6d9dfea61e5949b1eca3bad6814c15452ce916bc2e5ab7aa583a
<?php
/**
 * @version		$Id: mod_syndicate.php 20806 2011-02-21 19:44:59Z dextercowley $
 * @package		Joomla.Site
 * @subpackage	mod_syndicate
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$params->def('text', 'Feed Entries');
$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 12 releases, Joomla 1.6.1 to 1.7.5. See them all, or every version of this file.