Jump to content

Вид репутации

Recommended Posts

  • 2 weeks later...



Затем найди шаблон tbSruiHook глобальных!

Замени всё на этот код:

{parse variable="tb_srtv_style" default=" style='float:none;text-align:center;'"}
<if test="$author['pp_reputation_points'] > 0">
<div class='reputation positive'{parse variable="tb_srtv_style"}>
<if test="$author['pp_reputation_points'] < 0">
<div class='reputation negative'{parse variable="tb_srtv_style"}>
<if test="$author['pp_reputation_points'] == 0">
<div class='reputation zero'{parse variable="tb_srtv_style"}>
<div style='font-size:1.1em'>{$this->lang->words['reputation']}: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
<if test="$author['author_reputation'] && $author['author_reputation']['text']">
<span class='title' style='font-weight:normal'>{$author['author_reputation']['text']}</span>
<br /><if test="$author['author_reputation'] && $author['author_reputation']['image']">
<span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['reputation']}' /></span>

Усё :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...