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

72 lines
3.1 KiB
HTML

<!DOCTYPE html >
<%~set search_widget = 1%>
<html lang="en">
<head>
<title><%cat_full_name%>: <%forum_name%>: Post detached<%if forum_id != $old_forum_id%> and moved<%endif%></title>
<meta http-equiv="refresh" content="5;url=<%GForum::SEO::url(type => "forum", id => $old_forum_id, param_type => "query")%>" />
<%include include_common_head.html%>
</head>
<%~if forum_id != $old_forum_id%><%set content_header_title .= ' and moved'%><%endif%>
<body class="page-<%page_id%> confirmation-page">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar_search.html%>
<div class="advert" style="height: 250px"></div>
<div class="advert" style="height: 600px"></div>
</div>
<%~set content_header_title = 'Post Detached'%>
<%~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.1.name = $content_header_title%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<p>
The post '<a href="<%GForum::SEO::url(type => "post", id => $post_id)%>"><%post_subject%></a>', written by
<%set include_username_display = $post_username~%><%include include_username.html%>
has been detached from its thread and turned into a new, separate thread.
</p>
<%~if forum_id != $old_forum_id%>
<p>
The new thread was moved from the <a href="<%GForum::SEO::url(type => "category", id => $old_cat_id)%>"><%old_cat_full_name%></a>: <a href="<%GForum::SEO::url(type => "forum", id => $old_forum_id)%>"><%old_forum_name%></a> forum
to the <a href="<%GForum::SEO::url(type => "category", id => $cat_id)%>"><%cat_full_name%></a>: <a href="<%GForum::SEO::url(type => "forum", id => $forum_id)%>"><%forum_name%></a> forum.
</p>
<%~endif%>
<p>
You will be automatically redirected to <%old_cat_full_name%>: <%old_forum_name%> shortly.
<%~set url_anchor = ""%>
<%~unless current.user_id and not current.user_default_post_display%><%~set url_anchor = "#p$post_id"%><%endunless%>
<a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor)%>">Click here to view the new thread</a>
or choose the forum you wish to visit:
</p>
<div id="toolbar2" class="toolbar clear">
<form action="<%GForum::SEO::url()%>">
<%hidden_form%>
<select name="jump">
<%GForum::Forum::jump_list($old_forum_id)%>
</select>
<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>