Второй вопрос по "Показать/скрыть"
vietvbb_hide_thanked_list
PHP код:
if(THIS_SCRIPT=='showthread') {
$template_hook['headinclude_javascript'] .= vB_Template::create('post_thanks_javascript_v2b')->render();
$vbulletin->templatecache['post_thanks_postbit'] = str_replace(
array('$GLOBALS[\'vbulletin\']->userinfo[\'usergroupid\'] == 6 || $post[\'show_thanks_remove_option\']',
'<div class="smallfont" style="float:\' . vB_Template_Runtime::fetchStylevar("right") . \'">',
'post_thanks_bit_\' . $post[\'postid\'] . \''
),
array('1',
'<div class="smallfont" style="float:\' . vB_Template_Runtime::fetchStylevar("right") . \'">
<a href="#" onclick="return showThanks(\'.$post[\'postid\'].\');" id="show_thank_\'.$post[\'postid\'].\'">\'.$vbphrase[\'show_all\'].\'</a>
\'.(($GLOBALS[\'vbulletin\']->userinfo[\'usergroupid\'] == 6 || $post[\'show_thanks_remove_option\'])? \'|\' : \'\').\'',
'post_thanks_bit_\' . $post[\'postid\'] . \'" style="display:none;'
),
$vbulletin->templatecache['post_thanks_postbit']
);
}
Что нужно изменить что бы вместо ссылок были кнопки?