Mod Name: Registered Links
Created By: vbgamer45
Compatible With:[/] 1.1 RC2, 1.1 RC3, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8
http://custom.simplemachines.org/mods/index.php?mod=342Themes/default/languages/
Modifications.tualingua.phpAntes de
?>
colocar
//Begin Reg Links translate candidosa2
$txt['no_view_links'] = 'Você não pode ver os links.';
//END Reg Links Text Strings suporte smfpt.net
Sources/
Subs.phpPesquisar
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => '<a href="$1">',
'after' => '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == '#')
$data = '#post_' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),
array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a>' : '<a href="$1">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a><div style="visibility:hidden">' : '<a href="$1">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == '#')
$data = '#post_' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
Pesquisar
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => '<a href="$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
),
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a>' : '<a href="$1" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array('<br />' => ''));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . " " . '<a href="' . $scripturl . '?action=register">Kayit Olun</a> veya <a href="' . $scripturl . '?action=login">Giris Yapin</a><div style="visibility:hidden">' : '<a href="$1" target="_blank">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),