Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/zenit/modules/mod_footer/ |
Upload File : |
<?php
/**
* @package Joomla.Site
* @subpackage mod_footer
*
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\String\StringHelper;
$date = Factory::getDate();
$cur_year = HTMLHelper::_('date', $date, 'Y');
$csite_name = $app->get('sitename');
if (is_int(StringHelper::strpos(Text::_('MOD_FOOTER_LINE1'), '%date%')))
{
$line1 = str_replace('%date%', $cur_year, Text::_('MOD_FOOTER_LINE1'));
}
else
{
$line1 = Text::_('MOD_FOOTER_LINE1');
}
if (is_int(StringHelper::strpos($line1, '%sitename%')))
{
$lineone = str_replace('%sitename%', $csite_name, $line1);
}
else
{
$lineone = $line1;
}
require ModuleHelper::getLayoutPath('mod_footer', $params->get('layout', 'default'));