Quote:
Originally Posted by Erwin
For a quick and dirty way to make it so that the button does not show up in PM or usernote, just wrap it with a conditional:
<if condition="$SHOWQUICKREPLY">button</if>
|
In the new ver, the code looks different.
How would I fix this same problem here?
PHP Code:
<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
<a href="$post[replylink]" onclick="return doMultiQuote('$post[username]', $post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$post['replylink']"> <img src="$stylevar[imgdir_misc]/mq_img_off.gif" alt="$vbphrase[multiquote]" border="0" width="21" height="15" name="multiquote_$post[postid]" id="multiquote_$post[postid]" onclick="toggleMultiQuote($post[postid], this)" style="cursor:pointer" />
</if>