%TMPL:INCLUDE{"view"}%
%TMPL:DEF{"postinfo"}%%TMPL:P{context="TimeSincePluginEnabled" then="exactdate" else="exactdate"}%%TMPL:END%
%TMPL:DEF{"exactdate"}%%MAKETEXT{"[_1] by [_2] in [_3]" args="%REVINFO{rev="1" format="$date - $time"}%, %FORMFIELD{"Author"}%, [[%SCRIPTURL{view}%/%BASEWEB%/BlogPost?category=%FORMFIELD{"Category"}%][%FORMFIELD{"Category"}%]]"}%%TMPL:END%
%TMPL:DEF{"timesincedate"}%%MAKETEXT{"[_1] ago by [_2] in [_3]" args="%TIMESINCE{units="3" format="%REVINFO{rev="1" format="$iso"}%" null="%MAKETEXT{"Just posted"}%" }%, %FORMFIELD{"Author"}%, [[%SCRIPTURL{view}%/%BASEWEB%/BlogPost?category=%FORMFIELD{"Category"}%][%FORMFIELD{"Category"}%]]"}%%TMPL:END%
%TMPL:DEF{"pagetitle"}% %FORMFIELD{"Title"}% -- %TOPIC% %TMPL:END%
%TMPL:DEF{"windowtitle"}%<title>%TMPL:P{"titleaction"}% %TMPL:P{"pagetitle"}% %TMPL:P{"titlesep"}% %WEB% %TMPL:P{"titlesep"}% <nop>%WIKITOOLNAME%</title>%TMPL:END%
%TMPL:DEF{"content"}%%INCLUDE{"BlogAddOnStyles"}%
<div class="patternTopic">
<h1 class="blogAddOnTitle"> %FORMFIELD{"Title"}% </h1>
<div class="twikiGrayText twikiSmallish blogPostAddOnHeaderInfo">%TMPL:P{"postinfo"}%</div>
<div style="%IF{ "'%FORMFIELD{"Image"}%'=''" then="display:none;"}% float:left; margin:10px 10px 3px 0; width: 110px"><img src="%PUBURLPATH%/%WEB%/%TOPIC%/%FORMFIELD{"Image"}%" width="100" border="0" alt="" /></div>
%TEXT%
---++ %MAKETEXT{"Comments"}%
#BlogPostComments
%INCLUDE{"%TOPIC%Comments" warn="off"}%
<form method="POST" action="%SCRIPTURL{"save"}%/%WEB%/%TOPIC%Comments?redirectto=%WEB%.%TOPIC%">
%COMMENT{noform="on" type="blogpost" target="%TOPIC%Comments" button="%MAKETEXT{"Add comment"}%" }%
</form>
</div>
#BlogPostEnd
%TMPL:END%
%TMPL:DEF{"form"}%%TMPL:END%