| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/wuectly/www/03cbe/mod_syndicate.php.tar |
home/wuectly/www/modules/mod_syndicate/mod_syndicate.php 0000604 00000001361 15245536174 0017652 0 ustar 00 <?php
/**
* @package Joomla.Site
* @subpackage mod_syndicate
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the syndicate functions only once
JLoader::register('ModSyndicateHelper', __DIR__ . '/helper.php');
$params->def('format', 'rss');
$link = ModSyndicateHelper::getLink($params);
if ($link === null)
{
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'));