|
Server : Apache System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 User : urbanovitalinoad ( 1001) PHP Version : 7.3.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/urbanovitalinoad/public_html/enel/templates/shaper_helix3/features/ |
Upload File : |
<?php
/**
* @package Helix3 Framework
* @author JoomShaper http://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2015 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
//no direct accees
defined ('_JEXEC') or die('resticted aceess');
class Helix3FeatureFooter {
private $helix3;
public function __construct($helix3){
$this->helix3 = $helix3;
$this->position = $this->helix3->getParam('copyright_position');
$this->load_pos = $this->helix3->getParam('copyright_load_pos');
}
public function renderFeature() {
if($this->helix3->getParam('enabled_copyright')) {
$output = '';
//Copyright
if( $this->helix3->getParam('copyright') ) {
$output .= '<span class="sp-copyright">' . str_ireplace('{year}',date('Y'), $this->helix3->getParam('copyright')) . '</span>';
}
return $output;
}
}
}