<vb:if condition="$threadinfo['forumid'] == <source_forum_id>"> <form action="postings.php?do=domovethread&t={vb:raw thread.threadid}" method="post" name="resolved" style="display:inline;"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="t" value="{vb:raw thread.threadid}" /> <input type="hidden" name="do" value="domovethread" /> <input type="hidden" name="title" value="{vb:raw threadinfo.title}" /> <input type="hidden" name="redirect" value="none" /> <input type="hidden" name="redirecttitle" value="{vb:raw threadinfo.title}" /> <input type="hidden" name="destforumid" value="<target_forum_id>" /> <input type="submit" class="button" value="Mark as Resolved" /> </form> <vb:elseif condition="$threadinfo['forumid'] == <source_forum_id>" /> <form action="postings.php?do=domovethread&t={vb:raw thread.threadid}" method="post" name="resolved" style="display:inline;"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="t" value="{vb:raw thread.threadid}" /> <input type="hidden" name="do" value="domovethread" /> <input type="hidden" name="title" value="{vb:raw threadinfo.title}" /> <input type="hidden" name="redirect" value="none" /> <input type="hidden" name="redirecttitle" value="{vb:raw threadinfo.title}" /> <input type="hidden" name="destforumid" value="<target_forum_id>" /> <input type="submit" class="button" value="Mark as Resolved" /> </form> </vb:if>