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:08
-
Mod Link: http://custom.simplemachines.org/mods/index.php?mod=940
sources/Subs.php
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),
array(
'tag' => 'stage6',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" height="272" width="640" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><embed type="video/divx" src="http://video.stage6.com/$1/.divx" pluginspage="http://go.divx.com/plugin/download/" showpostplaybackad="false" custommode="Stage6" autoplay="false" width="$2" height="$3" /></object>
</a> ',
'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
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
'stage6' => array('code' => 'stage6', 'before' => '[stage6=425,350]', 'after' => '[/stage6]', 'description' => $txt['stage6']),
/languages/Modifications.teuidioma.php
?>
$txt['stage6'] = 'stage6 insert Number';
http://stage6.divx.com/Beat-Paradise-Reloaded/video/1861570/TobyMac-GONE-1920x1080
[stage6=425,350]1583495[/stage6]