CoreFiles by mySites.guru
mod_footer.php37 lines, 1,177 bytes, from Joomla_1.5.1-Stable-Full_Package.zip
Raw History Compare with 1.5.0
md5
ee6d0ebcbcda1d158e882385f6e7d63f
sha1
3a5b3f8bbf5cb844c079efe66a29f5633549169c
sha256
64f4cfcda5e927057213fc8d1a7f2d969e4bdd22a8a34419e187c96852986587
<?php
/**
* @version		$Id: mod_footer.php 9764 2007-12-30 07:48:11Z 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;

jimport('joomla.utilities.date');

$date = new JDate();
$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.0 to 1.5.1. See them all, or every version of this file.