Movable Type入門 » テンプレート配布

コメントの一覧 初期テンプレート

3.3テンプレート>システム> コメントの一覧の初期テンプレートです。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /> <meta name="generator" content="Movable Type <$MTVersion$>" />

<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />

<title><$MTBlogName encode_html="1"$>: コメント: <$MTEntryTitle$></title>

<script type="text/javascript" src="<$MTBlogURL$>mt-site.js"></script>
<script type="text/javascript" src="<MTStaticWebPath>js/commenter_name.js"></script>
</head>
<body class="layout-two-column-right" onload="individualArchivesOnLoad(commenter_name)">
<div id="container">
<div id="container-inner" class="pkg">

<div id="banner">
<div id="banner-inner" class="pkg">
<h1 id="banner-header"><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1>
<h2 id="banner-description"><$MTBlogDescription$></h2>
</div>
</div>

<div id="pagebody">
<div id="pagebody-inner" class="pkg">
<div id="alpha">
<div id="alpha-inner" class="pkg">

<h3>コメント: <$MTEntryTitle$></h3>

<blockquote><strong><$MTErrorMessage$></strong></blockquote>

<MTIfCommentsActive>
<a id="comments"></a>
<div class="comments">
<h3 class="comments-header">コメント</h3>
<div class="comments-content">
<MTComments>
<a id="c<$MTCommentID pad="1"$>"></a>
<div class="comment" id="comment-<$MTCommentID$>">
<div class="comment-content">
<$MTCommentBody$>
</div>
<p class="comment-footer">
Posted by:
<$MTCommentAuthorLink default_name="Anonymous"$> <MTCommentAuthorIdentity> |
<a href="#comment-<$MTCommentID$>"><$MTCommentDate$></a>
</p>
</div>
</MTComments>
</div>

<MTEntryIfCommentsOpen>
<form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">
<input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />

<div class="comments-open">
<h2 class="comments-open-header">コメントを投稿</h2>
<div class="comments-open-content">
<MTIfRegistrationAllowed>
<script type="text/javascript">
<!--
writeTypeKeyGreeting(commenter_name, <$MTEntryID$>);
//-->
</script>
</MTIfRegistrationAllowed>
<MTIfCommentsModerated>
<p class="comments-open-moderated">
(いままで、ここでコメントしたことがないときは、コメントを表示する前にこのブログのオーナーの承認が必要になることがあります。承認されるまではコメントは表示されません。そのときはしばらく待ってください。)
</p>
</MTIfCommentsModerated>

<div id="comments-open-data">
<MTIfRegistrationNotRequired>
<p>
<label for="comment-author">Name:</label>
<input id="comment-author" name="author" size="30" />
</p>
<p>
<label for="comment-email">Email Address:</label>
<input id="comment-email" name="email" size="30" />
</p>
</MTIfRegistrationNotRequired>
<p>
<label for="comment-url">URL:</label>
<input id="comment-url" name="url" size="30" />
</p>
<p>
<label for="comment-bake-cookie"><input type="checkbox"
id="comment-bake-cookie" name="bakecookie" value="1" />
この情報を登録しますか?</label>
</p>
</div>

<p id="comments-open-text">
<label for="comment-text">Comments: <MTIfAllowCommentHTML>(スタイル用のHTMLタグが使えます)</MTIfAllowCommentHTML></label>
<textarea id="comment-text" name="text" rows="10" cols="30"></textarea>
</p>
</div>
<div id="comments-open-footer" class="comments-open-footer">
<input type="submit" name="preview" id="comment-preview" accesskey="v" value=" 確認 " />
<input type="submit" name="post" id="comment-post" accesskey="s" value=" 投稿 " />
</div>
</div>
</form>
</MTEntryIfCommentsOpen>
</div>
</MTIfCommentsActive>
</div>
</div>

<div id="beta">
<div id="beta-inner" class="pkg">
<div class="module-search module">
<h2 class="module-header">検索</h2>
<div class="module-content">
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>">
<input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" />
<label for="search" accesskey="4">ブログを検索: </label><br />
<input id="search" name="search" size="20" />
<input type="submit" value="Search" />
</form>
</div>
</div>

<div class="module-archives module">
<h2 class="module-header">最近のエントリー</h2>
<div class="module-content">
<ul class="module-list">
<MTEntries lastn="10">
<li class="module-list-item"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</ul>
</div>
</div>

<div class="module-syndicate module">
<div class="module-content">
<a href="<$MTBlogURL$>atom.xml">このブログのフィードを取得</a><br />
[<a href="http://www.sixapart.com/about/feeds">フィードとは</a>]
</div>
</div>

<MTBlogIfCCLicense>
<div class="module-creative-commons module">
<div class="module-content">
<a href="<$MTBlogCCLicenseURL$>"><img alt="クリエイティブ・コモンズ・ライセンス" src="<$MTBlogCCLicenseImage$>" /></a><br />
このブログは、次のライセンスで保護されています。 <a href="<$MTBlogCCLicenseURL$>">クリエイティブ・コモンズ・ライセンス</a>.
</div>
</div>
</MTBlogIfCCLicense>

<div class="module-powered module">
<div class="module-content">
Powered by<br /><a href="http://www.sixapart.jp/movabletype/">Movable Type</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>