<%include include_common_head.html%> <%~if bad_username%> <%~if user_username%> <%~set error = "No such user: $user_username"%> <%~else%> <%~set error = "No recipient entered!"%> <%~endif%> <%~elsif user_no_privmsg%> <%~set error = "$user_username has chosen not to accept private messages"%> <%~endif%> <%~set content_header_title = 'Send Private Message'%> <%~set url = GForum::SEO::url(params => "do=message_list")%> <%~set content_header_breadcrumb = "Messages"%> <%~if this_do eq message_reply_write%> <%~set content_header_subtitle = "Send a Reply to $user_username"%> <%~endif%>
<%include include_header.html%>
<%~set content_header_title = 'New Message'%> <%~init array breadcrumbs%><%init hash breadcrumbs.0%><%init hash breadcrumbs.1%> <%~set breadcrumbs.0.name = 'Private Messages'%> <%~set breadcrumbs.0.url = GForum::SEO::url(params => "do=message_list")%> <%~set breadcrumbs.1.name = 'New Message'%> <%~set url_param_mh = ""%> <%~if in.mh%><%set url_param_mh = ";mh=$mh"%><%endif%> <%include include_breadcrumb.html%>
<%-- start content--%> <%include include_content_header.html%> <%~if this_do eq message_reply_write and not user_accept_privmsg%>

<%user_username%> has chosen not to accept private messages.

<%~else%> <%preview || ''%>
<%hidden_form%> <%~if this_do eq message_reply_write%> <%~endif%> <%include include_message_write.html%>
<%~if this_do eq message_reply_write%> <%~else%> <%~endif%>
<%~if this_do eq message_reply_write%> <%~parent%> <%~set preview = 0%><%set reply_view = 1%> <%include include_message_display.html%> <%~endif%> <%~endif%>
<%-- end content --%>
<%include include_footer.html%> <%~include include_global_js.html%>