A tak:
Kod:
<vb:if condition="$post['userid']">
<div class="post_field"><dt>Podziękował</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</div></dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<div class="post_field"><dd>{vb:rawphrase post_thanks_time_post}</dd></div>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="post_field"><dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd></div>
<vb:else />
<div class="post_field"><dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd></div>
</vb:if>
</vb:if>
lub tak:
Kod:
<vb:if condition="$post['userid']">
<div class="post_field"><dt>Podziękował</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</div></dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<div class="post_field"><dt></dt><dd>{vb:rawphrase post_thanks_time_post}</dd></div>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="post_field"><dt></dt><dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd></div>
<vb:else />
<div class="post_field"><dt></dt><dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd></div>
</vb:if>
</vb:if>