CoreFiles by mySites.guru
mod_footer.php33 lines, 921 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
febc41ad384803e36427efc4a5529a55
sha1
ca04534dfbd915f48ec3c808fb5923a91cb8c3c9
sha256
9ee99caf33a5c20273aca1b7771afc31de90bf4af39f3d82c0f615743cab2020
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_footer
 * @copyright	Copyright (C) 2005 - 2014 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;

$app		= JFactory::getApplication();
$date		= JFactory::getDate();
$cur_year	= $date->format('Y');
$csite_name	= $app->getCfg('sitename');

if (is_int(JString::strpos(JText :: _('MOD_FOOTER_LINE1'), '%date%'))) {
	$line1 = str_replace('%date%', $cur_year, JText :: _('MOD_FOOTER_LINE1'));
}
else {
	$line1 = JText :: _('MOD_FOOTER_LINE1');
}

if (is_int(JString::strpos($line1, '%sitename%'))) {
	$lineone = str_replace('%sitename%', $csite_name, $line1);
}
else {
	$lineone = $line1;
}

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

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

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.