Autor Tópico: Justify BBCode  (Lida 3395 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
Justify BBCode
« em: 20 de Janeiro de 2008, 02:07 »

sourcedir/Subs.php

Pesquisar por
Código: [Seleccione]
array(
'tag' => 'li',
'before' => '<li>',
'after' => '</li>',

depois colocar
Código: [Seleccione]
array(
'tag' => 'justify',
'before' => '<div align="justify">',
'after' => '</div>',
'block_level' => true,
),



$themedir/Post.template.php

Pesquisar por
Código: [Seleccione]
'left' => array('code' => 'left',
Colocar
Código: [Seleccione]
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),

$themedir/languages/Modifications.english.php

Código: [Seleccione]
$txt['justify'] = 'Justify';

$themedir/languages/Modifications.portuguese.php

Código: [Seleccione]
$txt['justify'] = 'Justify';
Nao esqueca de colocar a imagem no $temadir/images/bbc

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Justify BBCode
« Responder #1 em: 04 de Janeiro de 2009, 16:20 »
$sourcedir/Subs.php

Pesquisar
Código: [Seleccione]
array(
'tag' => 'li',
'before' => '<li>',
'after' => '</li>',

Adicionar
Código: [Seleccione]
array(
'tag' => 'justify',
'before' => '<div align="justify">',
'after' => '</div>',
'block_level' => true,
),

$themedir/Post.template.php

Pesquisar
Código: [Seleccione]
'left' => array('code' => 'left',
Adicionar
Código: [Seleccione]
'justify' => array('code' => 'justify', 'before' => '[justify]', 'after' => '[/justify]', 'description' => $txt['justify']),
$themedir/languages/Modifications.portuguese_pt.php
Adicionar
Código: [Seleccione]
$txt['justify'] = 'Justify';

$themedir/languages/Modifications.portuguese_pt-utf8.php
Adicionar
Código: [Seleccione]
$txt['justify'] = 'Justify';