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

73 lines
3.1 KiB
HTML

<!DOCTYPE html >
<%~set search_widget = 1%>
<html lang="en">
<head>
<title><%cat_full_name%>: <%forum_name%>: Thread moved</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>
<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 = 'Thread Moved'%>
<%~set btn_new = 1%>
<%~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 thread '<a href="<%GForum::SEO::url(type => "post", id => $post_id)%>"><%post_subject%></a>', written by
<%if user_id_fk%>
<%~if user_status%>
<%~set escaped_username = escape_url unescape_html $user_username%>
<a href="<%GForum::SEO::url(params => "username=$escaped_username")%>"><%nbsp post_username%></a>
<%~else%>
<a href="<%GForum::SEO::url(params => "user=$user_id")%>"><%nbsp post_username%></a>
<%~endif%>
<%else%>
<%nbsp post_username%>
<%endif%>
has been moved from the <%GForum::Category::full_name_linked($old_cat_id, ': ')%>: <a href="<%GForum::SEO::url(type => "forum", id => $old_forum_id)%>"><%old_forum_name%></a> forum
to the <%GForum::Category::full_name_linked($cat_id, ': ', '', '', "${config.gforum_cgi}?$hidden_url")%>: <a href="<%GForum::SEO::url(type => "forum", id => $forum_id)%>"><%forum_name%></a> forum.
You will be automatically redirected to <%old_cat_full_name%>: <%old_forum_name%> shortly.
</p>
<p>
<%~set url_anchor = ""%>
<%~unless current.user_id and not current.user_default_post_display%><%set url_anchor = "p$post_id"%><%endunless%>
<b><a href="<%GForum::SEO::url(type => "post", id => $post_id, anchor => $url_anchor)%>">Click here to view the thread</a></b>
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>
&nbsp;
<input type="submit" value="Jump to forum" class="btn" />
</form>
</div>
</div><%-- end content --%>
</div><%-- end contentwrapper --%>
</div><%-- end main --%>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>