SMF 1.1.x (Móbulos Manual) > Media

PDF

(1/1)

candidosa2:
Sources/Subs.php
Pesquisar

--- Código: ---array(
            'tag' => 'pre',
            'before' => '<pre>',
            'after' => '</pre>',
         ),
--- Fim de Código ---

Adiccionar


--- Código: ---// PDF [pdf]example.pdf[/pdf]
         array(
            'tag' => 'pdf',
            'type' => 'unparsed_content',
            'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<object type="application/pdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" data="$1" width="800" height="600"><param name="src" value="$1"><embed src="$1" width="500" height="400" /><noembed><a href="$1" target="_blank">$1</a></noembed></object>' : '<embed type="application/pdf" src="$1" width="500" height="400" /><noembed><a href="$1" target="_blank">$1</a></noembed>'),
            'validate' => create_function('&$tag, &$data, $disabled', '
               if (isset($disabled[\'url\']))
                  $tag[\'content\'] = \'$1\';'),
            'disabled_content' => '<a href="$1" target="_blank">$1</a>',
         ),
--- Fim de Código ---



Themes/teitema/Post.template.php

Pesquisar

--- Código: ---'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt[435]),
--- Fim de Código ---


Adicionar

--- Código: ---'pdf' => array('code' => 'pdf', 'before' => '[pdf]', 'after' => '[/pdf]', 'description' => $txt['pdf']),
--- Fim de Código ---



A imagem no anexo ponha

teutema/images/bbc

Navegação

[0] Índice de mensagens

Ir para versão completa