sources/Subs.php
Pesquisar
array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),
Adicionar
array(
'tag' => 'wiki',
'type' => 'unparsed_content',
'content' => '<a href="http://'.$txt['lang'].'.wikipedia.org/wiki/$1" target="_blank" style="border-bottom:1px dashed #FF0000;text-decoration:none" class="wiki_link">$1</a><sup><span style="font-size:7pt;color:red;" class="wiki_sup">'.$txt['wiki'].'</span></sup>',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = strtr($data, array(\'<br />\' => \'\'));
'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_content' => '$1',
),
array(
'tag' => 'wiki',
'type' => 'unparsed_equals',
'before' => '<a href="http://'.$txt['lang'].'.wikipedia.org/wiki/$1" target="_blank" style="border-bottom:1px dashed #FF0000;text-decoration:none" class="wiki_link">',
'after' => '</a><sup><span style="font-size:7pt;color:red;" class="wiki_sup">'.$txt['wiki'].'</span></sup>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_before' => '',
'disabled_after' => '$1',
),
Post.template.php
Pesquisar
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
Adicionar
'wiki' => array('code' => 'wiki', 'before' => '[wiki]', 'after' => '[/wiki]', 'description' => $txt['wikipedia']),
Modifications.portuguese_pt.php
Pesquisar
?>
Adicionar
$txt['lang'] = 'pt';
$txt['wiki'] = 'wiki';
$txt['wikipedia'] = 'Wikipedia';
Imagem no anexo images/bbc