/Sources/
Subs.phpPesquisar
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),
Adicionar
array(
'tag' => 'natgeo',
'type' => 'unparsed_content',
'content' => '<object width="400" height="334"><param name="movie" value="http://video.nationalgeographic.com/video/player/flash/syndicatedVideoPlayer.swf?vid=$1" ><param name="allowScriptAccess" value="never" /><embed src="http://video.nationalgeographic.com/video/player/flash/syndicatedVideoPlayer.swf?vid=$1" type="application/x-shockwave-flash" wmode="transparent" allowFullScreen="true" allowScriptAccess="never" width="400" height="334"><noembed><a href="http://video.nationalgeographic.com/video/player/flash/syndicatedVideoPlayer.swf?vid=$1">http://video.nationalgeographic.com/video/player/flash/syndicatedVideoPlayer.swf?vid=$1</a></noembed></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';
global $context;
if (preg_match(\'~([a-z0-9]{1,15})~i\'.($context[\'utf8\'] ? \'u\' : \'\'), $data[0], $matches))
$data[0] = $matches[1];
else
$tag[\'content\'] = \'$1\';
'),
'block_level' => true,
'disabled_content' => '$1'
),
./Themes/
Post.template.phpPesquisar
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
Adicionar
'natgeo' => array('code' => 'natgeo', 'before' => '[natgeo]', 'after' => '[/natgeo]', 'description' => $txt['natgeo']),
/Themes/default/languages/
Modifications.portuguese_pt.php ou
Modifications.portuguese_brazilian.php?>
Adicionar antes
$txt['natgeo'] = 'National Geographic Video';
A Imagem no anexo colocar
/Themes/teuthemes/images/bbc