Current oav website
This commit is contained in:
272
dotclear._no/themes/freshy2/tpl/post.html
Executable file
272
dotclear._no/themes/freshy2/tpl/post.html
Executable file
@ -0,0 +1,272 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-entry">
|
||||
<meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
|
||||
<meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
|
||||
<meta name="date" content="{{tpl:EntryDate iso8601="1"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
|
||||
<tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf>
|
||||
|
||||
<tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext>
|
||||
|
||||
<tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious>
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="html-head">
|
||||
{{tpl:parent}}
|
||||
<script type="application/json" id="dc_post_remember_str-data">
|
||||
{"post_remember_str": "{{tpl:lang Remember me on this blog}}"}
|
||||
</script>
|
||||
<script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=util.js"></script>
|
||||
<script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=post.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if ($('#pr').is(':visible')) {jQuery('.hidecomment-form').show()} else {$(".hidecomment-form").hide()};
|
||||
$("#comment-form h3").click(function() {
|
||||
var answer = jQuery(this).next();
|
||||
if (answer.is(':visible')) {
|
||||
answer.slideUp() } else {
|
||||
answer.slideDown();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-post"></tpl:Block>
|
||||
|
||||
<tpl:Block name="page-top">
|
||||
{{tpl:EntryPingData}}
|
||||
{{tpl:parent}}
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<div id="p{{tpl:EntryID}}" class="post" role="article">
|
||||
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
||||
|
||||
<!-- # Entry with an excerpt -->
|
||||
<tpl:EntryIf extended="1">
|
||||
<div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<div class="post-content">{{tpl:EntryContent}}</div>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
||||
|
||||
<div class="meta">
|
||||
<ul>
|
||||
<!-- # item auteur -->
|
||||
<li>{{tpl:lang By}} <span class="author">{{tpl:EntryAuthorLink}}</span> | {{tpl:EntryDate}} | {{tpl:EntryTime}}{{tpl:include src="user_share.html"}}</li>
|
||||
|
||||
<!-- # item comm cat tags -->
|
||||
<li>
|
||||
<!-- # comm -->
|
||||
<tpl:EntryIf show_comments="1">{{tpl:lang Comments}}<span class="item"><a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a></span></tpl:EntryIf>
|
||||
<!-- # cat -->
|
||||
<tpl:EntryIf has_category="1">{{tpl:lang Category}}<span class="item"><tpl:EntryCategoriesBreadcrumb><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span></tpl:EntryIf>
|
||||
<!-- # tag -->
|
||||
<tpl:EntryTags>
|
||||
<tpl:TagsHeader>{{tpl:lang Tags}}<span class="item"></tpl:TagsHeader><a href="{{tpl:TagURL}}" rel="tag">{{tpl:TagID}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
|
||||
<tpl:TagsFooter></span></tpl:TagsFooter>
|
||||
</tpl:EntryTags>
|
||||
</li>
|
||||
<!-- # item rss-comm rss-ping attach -->
|
||||
<tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
|
||||
<li>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf comments_active="1" subscribetocomments_block="0">
|
||||
<img alt="{{tpl:lang This post's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf pings_active="1">
|
||||
<img alt="{{tpl:lang Trackback}}" src="{{tpl:BlogThemeURL}}/images/icons/trackback-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#pings" rel="trackback" title="{{tpl:lang Trackback}}">{{tpl:EntryPingCount}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf has_attachment="1">
|
||||
<img alt="{{tpl:lang Attachments}}" src="{{tpl:BlogThemeURL}}/images/icons/download-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#attachments">{{tpl:EntryAttachmentCount}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
|
||||
</li>
|
||||
</tpl:EntryIf>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div> <!-- End #post -->
|
||||
|
||||
<!-- # Attachments -->
|
||||
<tpl:Attachments>
|
||||
<tpl:AttachmentsHeader>
|
||||
<div id="attachments" class="download">
|
||||
<h3>{{tpl:lang Attachments}}</h3>
|
||||
<ul>
|
||||
</tpl:AttachmentsHeader>
|
||||
<li class="{{tpl:AttachmentType}}">
|
||||
<tpl:AttachmentIf is_audio="1">
|
||||
{{tpl:include src="_audio_player.html"}}
|
||||
</tpl:AttachmentIf>
|
||||
<tpl:AttachmentIf is_video="1">
|
||||
{{tpl:include src="_video_player.html"}}
|
||||
</tpl:AttachmentIf>
|
||||
<tpl:AttachmentIf is_audio="0" is_video="0">
|
||||
<span class="download-mp3"><a href="{{tpl:AttachmentURL}}" title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a></span>
|
||||
</tpl:AttachmentIf>
|
||||
</li>
|
||||
<tpl:AttachmentsFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:AttachmentsFooter>
|
||||
</tpl:Attachments>
|
||||
|
||||
<p id="navigation">
|
||||
<!-- # navigation dans la catégorie -->
|
||||
<tpl:EntryPrevious restrict_to_category="1"><span class="alignleft">« <a href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" class="prev">{{tpl:EntryTitle encode_html="1" cut_string="50"}}</a></span></tpl:EntryPrevious>
|
||||
<tpl:EntryNext restrict_to_category="1"> <span class="alignright"><a href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1" cut_string="50"}}</a> »</span></tpl:EntryNext>
|
||||
<!-- # navigation dans tout le blog -->
|
||||
<!--<tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:EntryTitle encode_html="1"}}" class="prev">{{tpl:EntryTitle encode_html="1"
|
||||
cut_string="50"}}</a></tpl:EntryPrevious>
|
||||
<tpl:EntryNext><a href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
|
||||
cut_string="50"}}</a></tpl:EntryNext>-->
|
||||
<br style="clear:both" />
|
||||
</p>
|
||||
|
||||
<!-- # Comments -->
|
||||
<tpl:EntryIf show_comments="1">
|
||||
<h3 id="comments"><!--{{tpl:EntryCommentCount}}--></h3>
|
||||
<div class="commentlist">
|
||||
<tpl:Comments>
|
||||
<div class="comment {{tpl:CommentIfMe return="comment_author"}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}" id="c{{tpl:CommentID}}">
|
||||
{{tpl:gravatar class="avatar" size="40" alt="Gravatar de %s"}} <h4>{{tpl:CommentContent cut_string="50" remove_html="1"}}</h4>
|
||||
<small><span class="author">{{tpl:CommentAuthorLink}}</span> | {{tpl:CommentDate}} | {{tpl:CommentTime}}</small>
|
||||
<div class="comment_content">
|
||||
<!-- # --BEHAVIOR-- publicCommentBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
|
||||
{{tpl:CommentContent}}
|
||||
|
||||
<!-- # --BEHAVIOR-- publicCommentAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentAfterContent"}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</tpl:Comments>
|
||||
</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<tpl:EntryIf comments_active="1">
|
||||
<tpl:SysIfFormError>
|
||||
<small class="important" id="pr">{{tpl:SysFormError}}</small>
|
||||
</tpl:SysIfFormError>
|
||||
|
||||
<tpl:SysIfCommentPublished>
|
||||
<small id="pr">{{tpl:lang Your comment has been published.}}</small>
|
||||
</tpl:SysIfCommentPublished>
|
||||
|
||||
<tpl:SysIfCommentPending>
|
||||
<small id="pr">{{tpl:lang Your comment has been submitted and
|
||||
will be reviewed for publication.}}</small>
|
||||
</tpl:SysIfCommentPending>
|
||||
|
||||
<!-- # Comment form -->
|
||||
<form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form">
|
||||
<tpl:IfCommentPreview>
|
||||
<div id="pr">
|
||||
<h3>{{tpl:lang Your comment}}</h3>
|
||||
<dl>
|
||||
<dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
|
||||
</dl>
|
||||
<p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
|
||||
</div>
|
||||
</tpl:IfCommentPreview>
|
||||
|
||||
<h3>{{tpl:lang Add a comment}}</h3>
|
||||
<div class="hidecomment-form">
|
||||
<fieldset>
|
||||
<!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
|
||||
|
||||
<p class="field">
|
||||
<label for="c_name">{{tpl:lang Name or nickname}} :</label>
|
||||
<input name="c_name" id="c_name" type="text" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewName encode_html="1"}}" />
|
||||
</p>
|
||||
|
||||
<p class="field">
|
||||
<label for="c_mail">{{tpl:lang Email address}} :</label>
|
||||
<input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
|
||||
</p>
|
||||
|
||||
<p class="field"><label for="c_site">{{tpl:lang Website}}
|
||||
({{tpl:lang optional}}) :</label>
|
||||
<input name="c_site" id="c_site" type="text" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewSite encode_html="1"}}" />
|
||||
</p>
|
||||
|
||||
<p style="display:none"><input name="f_mail" type="text" size="30"
|
||||
maxlength="255" value="" /></p>
|
||||
|
||||
<p class="field"><label for="c_content">{{tpl:lang Comment}} :</label>
|
||||
<textarea name="c_content" id="c_content" cols="35"
|
||||
rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
|
||||
</p>
|
||||
|
||||
<p class="form-help">{{tpl:CommentHelp}}</p>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
|
||||
|
||||
<p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
|
||||
<tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<!-- # Trackbacks -->
|
||||
<tpl:EntryIf show_pings="1">
|
||||
<div id="pings">
|
||||
<h3>{{tpl:lang They posted on the same topic}}</h3>
|
||||
<tpl:Pings>
|
||||
<tpl:PingsHeader>
|
||||
<div class="ping">
|
||||
<dl>
|
||||
</tpl:PingsHeader>
|
||||
<dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
|
||||
<small><span class="author">{{tpl:PingBlogName encode_html="1"}}</span> | {{tpl:PingDate}} | {{tpl:PingTime}}</small></dt>
|
||||
|
||||
<dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><p><a href="{{tpl:PingAuthorURL}}"
|
||||
{{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p>
|
||||
<!-- # --BEHAVIOR-- publicPingBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicPingBeforeContent"}}
|
||||
|
||||
{{tpl:PingContent}}
|
||||
|
||||
<!-- # --BEHAVIOR-- publicPingAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicPingAfterContent"}}
|
||||
</dd>
|
||||
<tpl:PingsFooter>
|
||||
</dl>
|
||||
</div>
|
||||
</tpl:PingsFooter>
|
||||
</tpl:Pings>
|
||||
</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<tpl:EntryIf pings_active="1">
|
||||
<p id="ping-url">{{tpl:lang Trackback URL}} : {{tpl:EntryPingLink}}</p>
|
||||
</tpl:EntryIf>
|
||||
</tpl:Block>
|
||||
Reference in New Issue
Block a user