Autor Tópico: frame do balão  (Lida 8101 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
frame do balão
« em: 20 de Novembro de 2010, 06:57 »
sources/Subs.php

Código: [Seleccione]
// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '', $parse_tags = array())
{
   global $txt, $scripturl, $context, $modSettings, $user_info;

Código: [Seleccione]
// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{
   global $settings, $txt, $scripturl, $context, $modSettings, $user_info;

Código: [Seleccione]
array(
            'tag' => 'quote',
            'parameters' => array(
               'author' => array('match' => '([^<>]{1,192}?)'),
               'link' => array('match' => '(?:board=d+;)?((?:topic|threadid)=[dmsg#./]{1,40}(?:;start=[dmsg#./]{1,40})?|action=profile;u=d+)'),
               'date' => array('match' => '(d+)', 'validate' => 'timeformat'),
            ),
            'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['quote_from'] . ': {author} ' . $txt['search_on'] . ' {date}</a></div><blockquote>',
            'after' => '</blockquote>',
            'block_level' => true,
         ),

Código: [Seleccione]
array(
            'tag' => 'quote',
            'parameters' => array(
               'author' => array('match' => '([^<>]{1,192}?)'),
               'link' => array('match' => '(?:board=d+;)?((?:topic|threadid)=[dmsg#./]{1,40}(?:;start=[dmsg#./]{1,40})?|action=profile;u=d+)'),
               'date' => array('match' => '(d+)', 'validate' => 'timeformat'),
            ),
            'before' => '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="13"><img src="' . $settings['images_url'] . '/alinti/solu.gif" width="13" height="22" /></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/ortaust.gif" width="4%"  align="left"><font style="font-size: 8pt">Alýntý:</font></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagust.gif" /></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/ortaust.gif" align="left"><font style="font-size: 8pt"><a href="' . $scripturl . '?{link}"><b>{author}</b></a> tarafýndan gönderildi.</font></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagust.gif" /></td><td background="' . $settings['images_url'] . '/alinti/ustduz.gif" width="50%"></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/sagu.gif" width="13" height="22" /></td><tr><td width="13" background="' . $settings['images_url'] . '/alinti/sol.gif"></td><td bgcolor="#FFFFFF" colspan="7">',
           
            'after' => '</td><td width="13" background="' . $settings['images_url'] . '/alinti/sag.gif"></td></tr><tr><td width="13"><img src="' . $settings['images_url'] . '/alinti/sola.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/alinti/altduz.gif" colspan="7"></td><td width="13"><img src="' . $settings['images_url'] . '/alinti/saga.gif" width="13" height="22" /></td></tr></table>
',
            'block_level' => true,
         ),



Código: [Seleccione]
            array(
                'tag' => 'quote',
                'before' => '<div class="quoteheader">' . $txt['quote'] . '</div><blockquote>',
                'after' => '</blockquote>',
                'block_level' => true,
            ),

Código: [Seleccione]
            array(
                'tag' => 'quote',
                'before' => '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="13"><img src="' . $settings['default_theme_url'] . '/images/solu.gif" width="13" height="22" /></td><td width="13"><img src="' . $settings['default_theme_url'] . '/images/solust.gif" width="13" height="22" /></td><td background="' . $settings['default_theme_url'] . '/images/ortaust.gif" width="4%"  align="left"><font style="font-size: 8pt">' . $txt['hhyalinti1'] . '</font></td><td width="13"><img src="' . $settings['default_theme_url'] . '/images/sagust.gif" /></td><td background="' . $settings['default_theme_url'] . '/images/ustduz.gif" width="*%"></td><td width="13"><img src="' . $settings['default_theme_url'] . '/images/sagu.gif" width="13" height="22" /></td><tr><td width="13" background="' . $settings['default_theme_url'] . '/images/sol.gif"></td><td bgcolor="#FFFFFF" colspan="4">',
                'after' => '</td><td width="13" background="' . $settings['default_theme_url'] . '/images/sag.gif"></td></tr><tr><td width="13"><img src="' . $settings['default_theme_url'] . '/images/sola.gif" width="13" height="22" /></td><td background="' . $settings['default_theme_url'] . '/images/altduz.gif" colspan="4"></td><td width="13"><img src="' . $settings['default_theme_url'] . '/images/saga.gif" width="13" height="22" /></td></tr></table>',
                'block_level' => true,
            ),