Hippy |
09-23-2012 04:51 PM |
then the template was never converted back..
should look like this
Code:
<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>
<div class="postrow">
<vb:if condition="$bbuserinfo['usergroupid'] == 6 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
<a href="post_thanks.php?do=post_thanks_remove_all&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 6 && $post['show_thanks_remove_option']">
|
</vb:if>
<vb:if condition="$post['show_thanks_remove_option']">
<a href="post_thanks.php?do=post_thanks_remove_user&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
<vb:if condition="$post['post_thanks_amount'] == 1">
{vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</h2>
<vb:if condition="$post['post_thanks_amount'] > 10">
<style type="text/css">
.togList
{
font-family: verdana;
}
.togList dt
{
cursor: pointer; cursor: hand;
}
html.isJS .togList dd
{
display: none;
}
</style>
<script type="text/javascript">
/* Only set closed if JS-enabled */
document.getElementsByTagName('html')[0].className = 'isJS';
function tog(dt)
{
var display, dd=dt;
/* get dd */
do{ dd = dd.nextSibling } while(dd.tagName!='DD');
toOpen =!dd.style.display;
dd.style.display = toOpen? 'block':''
dt.getElementsByTagName('span')[0].innerHTML
= toOpen? '-':'+' ;
}
</script>
<dl class="togList">
<dt onclick="tog(this)"><center><font style="font-size:12px"><span>+</span> Show/Hide list of the thanked</font></center></dt>
<dd>
<br />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</dd>
</dl>
<vb:else />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</vb:if>
</div>
</div>
<hr />
But I dont think thats going to fix the issue with the wrapping ..
it's do to the users with spaces in there name ..
working on something with someone else at the moment .. If I figure it out I will post the fix
|