Kod: Zaznacz cały
/**
* seo_end() : The last touch function
* Note : This mod is going to help your site a lot in Search Engines
* We request that you keep this copyright notice as specified in the licence.
* If You really cannot put this link, you should at least provide us with one visible
* (can be small but visible) link on your home page or your forum Index using this code for example :
* <a href="http://www.phpbb-seo.com/" title="Search Engine Optimization">phpBB SEO</a>
*/
function seo_end($return = false) {
global $user, $config;
if (empty($this->seo_opt['copyrights']['title'])) {
$this->seo_opt['copyrights']['title'] = strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization';
}
if (empty($this->seo_opt['copyrights']['txt'])) {
$this->seo_opt['copyrights']['txt'] = 'phpBB SEO';
}
if ($this->seo_opt['copyrights']['img']) {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="' . $this->seo_opt['copyrights']['txt'] . '"/></a>';
} else {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '">' . $this->seo_opt['copyrights']['txt'] . '</a>';
}
if ($return) {
return $output;
} else {
$user->lang['TRANSLATION_INFO'] .= $output;
}
return;
}