<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%~Plugins::UI::update_featured_links('article', $ID, $in.featured_article)%>
<%~Plugins::UI::update_featured_links('photo', $ID, $in.featured_photo)%>
<html>
<head>
  <title><%site_title%>: Link Added</title>
<%include include_common_head.html%>
</head>
<body id="add_success">
  <%~if ad_wallpaper%>
  <%ad_wallpaper%>
  <%~endif%>
  <div class="container">
    <%include include_header.html%>
    <div class="main">
      <div class="contentwrapper clearfix">
        <div class="breadcrumb">
          <%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
        </div>

        <div class="content"><%-- start content--%>
            <h1>Link Added</h1>

            <p>
            We have received the following link:
            </p>

            <div class="row clear">
                <label class="name">Title:</label>
                <div class="value wrappedtext"><%Title%></div>
            </div>
            <div class="row clear">
                <label class="name">Category:</label>
                <div class="value wrappedtext">
                    <%~if Category_loop.length > 1%>
                    <ul><%loop Category_loop%><li><%loop_value%></li><%endloop%></ul>
                    <%~else%>
                    <%Category%>
                    <%~endif%>
                </div>
            </div>
            <div class="row clear">
                <label class="name">Link Type:</label>
                <div class="value wrappedtext"><%if Link_Type eq 'photo'%>Photo Gallery<%elseif Link_Type eq 'video'%>Video<%else%>Article<%endif%></div>
            </div>
            <div class="row clear">
                <label class="name">Description:</label>
                <div class="value wrappedtext"><%escape_html Description%></div>
            </div>
            <div class="row clear">
                <label class="name">Contact Name:</label>
                <div class="value wrappedtext"><%escape_html Contact_Name%></div>
            </div>
            <div class="row clear">
                <label class="name">Contact E-mail:</label>
                <div class="value wrappedtext"><%escape_html Contact_Email%></div>
            </div>

            <p>
            <%~if config.build_auto_validate%>
            Your link has been added to <%if Category_loop.length > 1%>the following categories: <%loop Category_loop%><%loop_value%><%unless last%>, <%endunless%><%endloop%><%else%><%Category%><%endif%>.
            <%~else%>
            Thank you! We will send you an e-mail once your link has been validated.
            <%~endif%>
            </p>

        </div><%-- end content --%>
      </div>
    </div>
    <%include include_footer.html%>
  </div>
</body>
<%~include include_global_js.html%>
<%~include include_form.js%>
</html>
