SMFPT - Suporte e Manutenção de Fórum em Português

SMF 1.1.x (Móbulos Manual) => SMF 1.1.x Módulos Manual => Media => Tópico iniciado por: candidosa2 em 19 de Fevereiro de 2011, 22:25

Título: Vidivodo Video
Enviado por: candidosa2 em 19 de Fevereiro de 2011, 22:25
Source - Subs.php

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

Código: [Seleccione]
array(
'tag' => 'vidivodo',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<embed src="http://www.vidivodo.com/VideoPlayerShare.swf?lang=tr&vidID=$1.flv" type="application/x-shockwave-flash" wmode="transparent" width="425" height="343"></embed>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),



post.template.php

Código: [Seleccione]
'ftp' => array('code' => 'ftp', 'before' => '[ftp=', 'after' => ']', 'after' => '[/ftp]', 'description' => $txt[434]),
Código: [Seleccione]
'vidivodo' => array('code' => 'vidivodo', 'before' => '[vidivodo=425,343]', 'after' => '[/vidivodo]', 'description' => Vidivodo),