<%~if page_id eq 'category_list' and not $current_user_id%> You are not logged in. Click ">here to sign in. <%elsif page_id eq 'forum_view'%> All Forums <%~if btn_new and user_forum_permission >= 5%> " class="btn default">post new topic <%~endif%> <%~elsif page_id eq 'search_results'%> All Forums <%~elsif page_id eq 'user_view'%> <%~if perm_hide_post%> Show User's Posts <%~else%> Hide User's Posts <%~endif%> <%~if user_id ne $current.user_id%> <%~set my_username = $current.user_username%> <%~if user_accept_privmsg == 2 and buddy.$my_username%><%set buddy_ok = 1%><%endif~%> <%~if user_accept_privmsg == 1 or buddy_ok~%> " class="btn default">Send Private Message <%~endif%> <%~endif%> <%~elsif page_id like 'message'%> <%~if not url_param_mh%><%set url_param_mh = ''%><%endif%> " title="Private Messages - Inbox" class="btn default">Inbox " title="Private Messages - Sent" class="btn default">Sent " title="Private Messages - Compose" class="btn default">Compose <%~endif%>