Autor Tópico: TrTube  (Lida 5332 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
TrTube
« em: 13 de Outubro de 2007, 08:55 »

Subs.php

Código: [Seleccione]
array(
'tag' => 'green',
'before' => '<span style="color: green;">',
'after' => '</span>',
),

Código: [Seleccione]
array(
'tag' => 'trtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.trtube.com/flvplayer_3_7.swf?" ></param><embed src="http://www.trtube.com/flvplayer_3_7.swf?" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'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

Código: [Seleccione]
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
Código: [Seleccione]
'trtube' => array('code' => 'trtube', 'before' => '[trtube=425,350]', 'after' => '[/trtube]', 'description' => $txt['trtube']),

Modifications.portuguese.php

Código: [Seleccione]
?>
Código: [Seleccione]
$txt['trtube'] = 'TrTube';