discourse-legacysite-perl/site/forum/message_view.html
2024-06-17 22:24:05 +10:00

68 lines
2.0 KiB
HTML

<!DOCTYPE html >
<html lang="en">
<head>
<title><%cat_full_name%>: <%if sent_message%>Sent <%endif%>Message: <%msg_subject%></title>
<%include include_common_head.html%>
<script type="text/javascript">
//<![CDATA[
function winopen(url, target) {
var win;
try {
win = window.open(url, target, 'resizable=yes,menubar=yes,scrollbars=yes,width=700,height=500');
win.focus();
}
catch (e) {
return true;
}
return win ? false : true;
}
//]]>
</script>
</head>
<%~if sent_message%>
<%~set content_header_title .= "Sent Message: $msg_subject"%>
<%~set url = GForum::SEO::url(params => "do=message_list;mode=sent")%>
<%~set content_header_breadcrumb = "<a href=\"$url\">Sent Messages</a>"%>
<%~else%>
<%~set content_header_title .= "Message: $msg_subject"%>
<%~set url = GForum::SEO::url(params => "do=message_list")%>
<%~set content_header_breadcrumb = "<a href=\"$url\">Messages</a>"%>
<%~endif%>
<body class="page-<%page_id%> message-page">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = $msg_subject%>
<%~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 = $msg_subject%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<form id="message_action_form" action="<%GForum::SEO::url()%>" method="post">
<%hidden_form%>
<input type="hidden" name="message" value="<%msg_id%>" />
<%include include_message_display.html%>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>