<%~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%>: Post changes made</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 = 'Post changes made'%>
        <%~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%>

          <%~if current.user_do_after_post eq post_confirm_post%>
          <p>
          Your changes to the message in <%cat_full_name%>: <%forum_name%> have
          been made. 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 changes to the message in <%cat_full_name%>: <%forum_name%> have
          been made. 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><%-- end contentwrapper --%>
    </div><%-- end main --%>

    <%include include_footer.html%>
  </div>
</body>
<%~include include_global_js.html%>
</html>
