Autor Tópico: uzman tv  (Lida 7166 vezes)

0 Membros e 2 Visitantes estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
uzman tv
« em: 20 de Fevereiro de 2011, 07:36 »


subs.php

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

Código: [Seleccione]
array(
                                 'tag' => 'uzmantv',
            'type' => 'unparsed_commas_content',
            'test' => '\d+,\d+\]',
            'content' => '<object width="$2" height="$3"><param name="movie"

value="http://www.uzmantv.com/getswf/$1" ></param><embed src="http://www.uzmantv.com/getswf/$1" 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]
'uzmantv' => array('code' => 'uzmantv', 'before' => '[uzmantv=425,350]', 'after' => '[/uzmantv]', 'description' => $txt['uzmantv']),

Modifications.portuguese_pt.php

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