1{if $is_xhtml}
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4{else}
5<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
6 "http://www.w3.org/TR/html4/loose.dtd">
7{/if}
8
9<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
10<head>
11   <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
12   <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
13   <meta name="generator" content="Serendipity v.{$serendipityVersion}" />
14   <!-- base styles needed for bulletproof -->
15   <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="base.css"}" />
16   <!-- style.css -->
17   <link rel="stylesheet" type="text/css" href="{$serendipityHTTPPath}serendipity.css.php" />
18   <!--[if IE 6]>
19   <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="ie6.css"}" />
20   <![endif]-->
21   <!--[if IE 7]>
22   <link rel="stylesheet" type="text/css" href="{serendipity_getFile file="ie7.css"}" />
23   <![endif]-->
24   <!-- additional colorset stylesheet -->
25   <link rel="stylesheet" type="text/css" href="{$serendipityHTTPPath}templates/{$template}/{$template_option.colorset}_style.css" />
26   <link rel="alternate"  type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
27   <link rel="alternate"  type="application/x.atom+xml"  title="{$blogTitle} Atom feed"  href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
28</head>
29
30<body class="s9y_wrap" id="serendipity_comment_page">
31{if $is_comment_added}
32    <div class="popup_comments_message popup_comments_message_added">{$CONST.COMMENT_ADDED}{$comment_string.0}<a href="{$comment_url}">{$comment_string.1}</a>{$comment_string.2}<a href="#" onclick="self.close()">{$comment_string.3}</a>{$comment_string.4}</div>
33{elseif $is_comment_notadded}
34    <div class="popup_comments_message popup_comments_message_notadded">{$CONST.COMMENT_NOT_ADDED}{$comment_string.0}<a href="{$comment_url}">{$comment_string.1}</a>{$comment_string.2}<a href="#" onclick="self.close()">{$comment_string.3}</a>{$comment_string.4}</div>
35{elseif $is_comment_empty}
36    <div class="popup_comments_message popup_comments_message_empty">{$comment_string.0}<a href="#" onclick="history.go(-1)">{$comment_string.1}</a>{$comment_string.2}</div>
37{elseif $is_showtrackbacks}
38    <div class="serendipity_commentsTitle">{$CONST.TRACKBACKS}</div>
39    <dl>
40        <dt><strong>{$CONST.TRACKBACK_SPECIFIC}:</strong></dt>
41        <dd><a rel="nofollow" href="{$comment_url}">{$comment_url}</a></dd>
42        <dt><strong>{$CONST.DIRECT_LINK}:</strong></dt>
43        <dd><a href="{$comment_entryurl}">{$comment_entryurl}</a></dd>
44    </dl>
45    {serendipity_printTrackbacks entry=$entry_id}
46{elseif $is_showcomments}
47    <div class="serendipity_commentsTitle">{$CONST.COMMENTS}</div>
48    {serendipity_printComments entry=$entry_id}
49    {if $is_comment_allowed}
50        <div class="serendipity_commentsTitle">{$CONST.ADD_COMMENT}</div>
51        {$COMMENTFORM}
52    {else}
53        <div class="serendipity_center serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</div>
54    {/if}
55{/if}
56</body>
57</html>
58