Mod Nome: Icon Google PageRank
Criado por: JBlaze
Compatível com: 1.1.x
Configuração e Tradução Manual: SmfPt
/Sources/ModSettings.php
// This is like debugging sorta.
array('check', 'timeLoadPageEnable'),
array('check', 'disableHostnameLookup'),
'',
// Google PageRank icon
$txt['admin_page_rank'],
array('check', 'pagerank_enabled'),
array('large_text', 'pagerank_code'),
'',
/Themes/default/languages/Modifications.teuidioma.php
?>
// Google PageRank icon by JBlaze translate candidosa2
$txt['admin_page_rank'] = 'Google PageRank MOD by JBlaze™<br/>Go to <a href="http://www.prchecker.info/check_page_rank.php">prchecker.info</a>para obter o seu personalizado Google PageRank icon.';
$txt['pagerank_code'] = 'Coloque o código HTML a partir de www.prchecker.info here';
$txt['pagerank_enabled'] = 'Activar Google PageRank icon?';
// End Google PageRank Icon by JBlaze
/Themes/default/index.template.php
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
', theme_copyright(), '
<br/>';
// Google PageRank
if ( !empty($modSettings['pagerank_enabled']) )
echo ' <div style="margin-top: 0.4em;">' , $modSettings['pagerank_code'], '</div>';
// End Google PageRank
echo '