Subs.php
Pesquisar
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
Adicionar
array(
'tag' => 'swf',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="$1" width="600" height="500">',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';
$pattern = \'/http:\/\/.+v=(.+)(&.+)*/i\';
if (preg_match($pattern, $data[0], $matches))
$data[0] = $matches[1];'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
Post.template.php
Pesquisar
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
Adicionar
'swf' => array('code' => 'swf', 'before' => '[swf=600,500]', 'after' => '[/swf]', 'description' => $txt['swf']),
Modifications.portuguese_pt.php
Pesquisar
?>
Adicionar
$txt['swf'] = 'Swf ';
Teu temaz=>images=>bbc que esta no anexo