discourse-legacysite-perl/site/forum/post_post.html

84 lines
2.9 KiB
HTML
Raw Normal View History

2024-06-17 12:24:05 +00:00
<%~set url_anchor = ""%>
<%~unless current.user_id and not current.user_default_post_display%><%~set url_anchor = "p$post_id"%><%endunless%>
<%~set search_widget = 1%>
<!DOCTYPE html >
<html lang="en">
<head>
<title><%cat_full_name%>: Message Posted</title>
<%~if current.user_do_after_post eq post_confirm_post%>
<meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor, param_type => "query")%>" />
<%~else%>
<meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "forum", id => $forum_id, param_type => "query")%>" />
<%~endif%>
<%include include_common_head.html%>
</head>
<body class="page-<%page_id%>">
<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 = 'Your new message has been posted'%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%><%init hash breadcrumbs.1%>
<%~set breadcrumbs.0.name = $forum_name%>
<%~set breadcrumbs.0.url = GForum::SEO::url(params => "forum=$forum_id")%>
<%~set breadcrumbs.0.name = "Post new topic"%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<%~if attachment_errors%>
<p class="error">
<%attachment_errors%>
</p>
<%~endif%>
<%~if current.user_do_after_post eq post_confirm_post%>
<p>
Your message has been posted to <%cat_full_name%>: <%forum_name%>. You
will be automatically redirected to your post shortly.
</p>
<p>
<b><a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor))%>">Click here to view your post</a></b>
or choose the forum you wish to visit:
</p>
<%~else%>
<p>
Your message has been posted to <%cat_full_name%>: <%forum_name%>. You
will be automatically redirected to the forum shortly.
</p>
<p>
<b><a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor))%>">Click here to view your post</a></b>
or choose the forum you wish to visit:
</p>
<%~endif%>
<div id="toolbar2" class="toolbar clear">
<form action="<%GForum::SEO::url()%>">
<%hidden_form%>
<select name="jump">
<%GForum::Forum::jump_list($forum_id)%>
</select>
&nbsp;
<input type="submit" value="Jump to forum" class="btn" />
</form>
</div>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>