CoreFiles by mySites.guru
mod_footer.php35 lines, 1,152 bytes, from Joomla_1.5.2-Stable-Full_Package.zip
Raw History Compare with 1.5.1
md5
1e1307ee13b573a0fc5987a31949030a
sha1
4a6ed1e1984eb75548e468793258fee4ce0a2ef2
sha256
9ec0d944929288d1eb730b4f6aa5d26d7276a5593b164ded304976cc95d94a0a
<?php
/**
* @version		$Id: mod_footer.php 10079 2008-02-28 13:39:08Z ircmaxell $
* @package		Joomla
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

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

global $mainframe;

$date =& JFactory::getDate();
$cur_year	= $date->toFormat('%Y');
$csite_name	= $mainframe->getCfg('sitename');

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

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

require(JModuleHelper::getLayoutPath('mod_footer'));

The same content is in 2 releases, Joomla 1.5.2 to 1.5.3. See them all, or every version of this file.