Autor Tópico: Custom Copyright ( personalizado direitos do autor )  (Lida 5285 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Custom Copyright ( personalizado direitos do autor )
« em: 25 de Julho de 2009, 13:13 »
Nome:Custom Copyright
Arquivo:custom_copyright_1.1.zip Mod em En
Autor do Mod:ccbtimewiz
Download em En - http://custom.simplemachines.org/mods/index.php?mod=1317
Versao: disponível  1.1.8,1.1.10, 2.0 Beta 4

Testado com tema default Funciona 100%

./Themes/teutema/index.template.php

Pesquisar
Código: [Seleccione]
', theme_copyright(), '
Substituir por
Código: [Seleccione]
', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
', theme_copyright(), '


./Themes/default/Settings.template.php

Pesquisar
Código: [Seleccione]
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),

Alterar por
Código: [Seleccione]
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),


./Themes/{teutema}/css/index.css
Pesquisar
Código: [Seleccione]
#footerarea ul li.copywrite
{
display: block;
line-height: 0;
font-size: small;
padding: 1em;
}

Trocar por
Código: [Seleccione]
#footerarea ul li.copywrite
{
display: block;
line-height: 1;
font-size: small;
padding: 1em;
}


./Themes/default/languages/Modifications.portuguese_pt (ou portuguese_pt-utf8).php

Pesquisar
Código: [Seleccione]
?>

Adicionar
Código: [Seleccione]
$txt['custom_copyright_desc'] = 'Isto será exibido na parte inferior.';
$txt['custom_copyright'] = 'Digite o autor personalizado:';