[pLog-svn] r5094 - in templates/branches/lifetype-1.2: 3-column-liquid Blix Boxed Boxed-Green FallingLeaves FallingLeavesWithPlugins FastTrack GreenTrack Innerscape LiteWinter Mac-Stripe Matrix-Code MinimaPlus MinimaPlusWithPlugins Modish ShadedGrey SimpleRules Soft-Blue Soft-Green Soft-Red StreetCorner Very-Clean Vicksburg almost-spring andreas-2-columns andreas-3-columns aquasoft aubmach base blorange blueish blufill bubble-blue buddha buggy cab connections darkfire dots drove-all-night fblue fblueWithPlugins fdawn fdawnWithPlugins fgreen flower flyupsky-daytime flyupsky-evening forange forangeWithPlugins fsimple fsubtle greenmarinee grey gutenberg human_condition ice kubrick lemons mars-spirit minitemplate mtplog ocadia outback pastel-blocks pink_lilies reic reic1 roodoplog-2-column roodoplog-3-column rubric silver simple_sky splat spring standard-with-plugins standard_green standard_happy standard_new standard_red standard_wine toni toto tribal v4ny8_lt v4nychristmas5 water_play white wordplog zen
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Mar 15 14:17:20 EDT 2007
Author: oscar
Date: 2007-03-15 14:17:19 -0400 (Thu, 15 Mar 2007)
New Revision: 5094
Modified:
templates/branches/lifetype-1.2/3-column-liquid/post.template
templates/branches/lifetype-1.2/3-column-liquid/postandcomments.template
templates/branches/lifetype-1.2/Blix/post.template
templates/branches/lifetype-1.2/Blix/postandcomments.template
templates/branches/lifetype-1.2/Boxed-Green/post.template
templates/branches/lifetype-1.2/Boxed/post.template
templates/branches/lifetype-1.2/FallingLeaves/post.template
templates/branches/lifetype-1.2/FallingLeaves/postandcomments.template
templates/branches/lifetype-1.2/FallingLeavesWithPlugins/post.template
templates/branches/lifetype-1.2/FallingLeavesWithPlugins/postandcomments.template
templates/branches/lifetype-1.2/FastTrack/post.template
templates/branches/lifetype-1.2/FastTrack/postandcomments.template
templates/branches/lifetype-1.2/GreenTrack/post.template
templates/branches/lifetype-1.2/GreenTrack/postandcomments.template
templates/branches/lifetype-1.2/Innerscape/leftmenu.template
templates/branches/lifetype-1.2/Innerscape/post.template
templates/branches/lifetype-1.2/LiteWinter/post.template
templates/branches/lifetype-1.2/Mac-Stripe/post.template
templates/branches/lifetype-1.2/Matrix-Code/post.template
templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template
templates/branches/lifetype-1.2/MinimaPlusWithPlugins/post.template
templates/branches/lifetype-1.2/MinimaPlusWithPlugins/postandcomments.template
templates/branches/lifetype-1.2/Modish/post.template
templates/branches/lifetype-1.2/ShadedGrey/postandcomments.template
templates/branches/lifetype-1.2/SimpleRules/post.template
templates/branches/lifetype-1.2/SimpleRules/postandcomments.template
templates/branches/lifetype-1.2/Soft-Blue/post.template
templates/branches/lifetype-1.2/Soft-Green/post.template
templates/branches/lifetype-1.2/Soft-Red/post.template
templates/branches/lifetype-1.2/StreetCorner/post.template
templates/branches/lifetype-1.2/StreetCorner/postandcomments.template
templates/branches/lifetype-1.2/Very-Clean/post.template
templates/branches/lifetype-1.2/Vicksburg/post.template
templates/branches/lifetype-1.2/almost-spring/post.template
templates/branches/lifetype-1.2/almost-spring/postandcomments.template
templates/branches/lifetype-1.2/andreas-2-columns/post.template
templates/branches/lifetype-1.2/andreas-2-columns/postandcomments.template
templates/branches/lifetype-1.2/andreas-3-columns/post.template
templates/branches/lifetype-1.2/andreas-3-columns/postandcomments.template
templates/branches/lifetype-1.2/aquasoft/post.template
templates/branches/lifetype-1.2/aquasoft/postandcomments.template
templates/branches/lifetype-1.2/aubmach/post.template
templates/branches/lifetype-1.2/base/post.template
templates/branches/lifetype-1.2/blorange/post.template
templates/branches/lifetype-1.2/blueish/post.template
templates/branches/lifetype-1.2/blufill/post.template
templates/branches/lifetype-1.2/bubble-blue/post.template
templates/branches/lifetype-1.2/buddha/post.template
templates/branches/lifetype-1.2/buggy/post.template
templates/branches/lifetype-1.2/cab/post.template
templates/branches/lifetype-1.2/connections/post.template
templates/branches/lifetype-1.2/connections/postandcomments.template
templates/branches/lifetype-1.2/darkfire/post.template
templates/branches/lifetype-1.2/dots/post.template
templates/branches/lifetype-1.2/drove-all-night/post.template
templates/branches/lifetype-1.2/fblue/post.template
templates/branches/lifetype-1.2/fblueWithPlugins/post.template
templates/branches/lifetype-1.2/fblueWithPlugins/postandcomments.template
templates/branches/lifetype-1.2/fdawn/post.template
templates/branches/lifetype-1.2/fdawn/postandcomments.template
templates/branches/lifetype-1.2/fdawnWithPlugins/post.template
templates/branches/lifetype-1.2/fdawnWithPlugins/postandcomments.template
templates/branches/lifetype-1.2/fgreen/post.template
templates/branches/lifetype-1.2/fgreen/postandcomments.template
templates/branches/lifetype-1.2/flower/post.template
templates/branches/lifetype-1.2/flyupsky-daytime/post.template
templates/branches/lifetype-1.2/flyupsky-evening/post.template
templates/branches/lifetype-1.2/forange/post.template
templates/branches/lifetype-1.2/forange/postandcomments.template
templates/branches/lifetype-1.2/forangeWithPlugins/post.template
templates/branches/lifetype-1.2/forangeWithPlugins/postandcomments.template
templates/branches/lifetype-1.2/fsimple/post.template
templates/branches/lifetype-1.2/fsimple/postandcomments.template
templates/branches/lifetype-1.2/fsubtle/post.template
templates/branches/lifetype-1.2/fsubtle/postandcomments.template
templates/branches/lifetype-1.2/greenmarinee/post.template
templates/branches/lifetype-1.2/grey/post.template
templates/branches/lifetype-1.2/gutenberg/post.template
templates/branches/lifetype-1.2/human_condition/post.template
templates/branches/lifetype-1.2/ice/post.template
templates/branches/lifetype-1.2/ice/postandcomments.template
templates/branches/lifetype-1.2/kubrick/post.template
templates/branches/lifetype-1.2/kubrick/postandcomments.template
templates/branches/lifetype-1.2/lemons/post.template
templates/branches/lifetype-1.2/lemons/postandcomments.template
templates/branches/lifetype-1.2/mars-spirit/post.template
templates/branches/lifetype-1.2/minitemplate/post.template
templates/branches/lifetype-1.2/mtplog/post.template
templates/branches/lifetype-1.2/ocadia/postandcomments.template
templates/branches/lifetype-1.2/outback/post.template
templates/branches/lifetype-1.2/pastel-blocks/post.template
templates/branches/lifetype-1.2/pastel-blocks/searchresults.template
templates/branches/lifetype-1.2/pink_lilies/post.template
templates/branches/lifetype-1.2/reic/post.template
templates/branches/lifetype-1.2/reic1/post.template
templates/branches/lifetype-1.2/roodoplog-2-column/post.template
templates/branches/lifetype-1.2/roodoplog-2-column/post1.template
templates/branches/lifetype-1.2/roodoplog-3-column/post.template
templates/branches/lifetype-1.2/roodoplog-3-column/post1.template
templates/branches/lifetype-1.2/rubric/post.template
templates/branches/lifetype-1.2/silver/post.template
templates/branches/lifetype-1.2/simple_sky/post.template
templates/branches/lifetype-1.2/splat/post.template
templates/branches/lifetype-1.2/spring/post.template
templates/branches/lifetype-1.2/standard-with-plugins/footer.template
templates/branches/lifetype-1.2/standard-with-plugins/post.template
templates/branches/lifetype-1.2/standard_green/post.template
templates/branches/lifetype-1.2/standard_happy/post.template
templates/branches/lifetype-1.2/standard_new/post.template
templates/branches/lifetype-1.2/standard_red/post.template
templates/branches/lifetype-1.2/standard_wine/post.template
templates/branches/lifetype-1.2/toni/post.template
templates/branches/lifetype-1.2/toto/post.template
templates/branches/lifetype-1.2/tribal/post.template
templates/branches/lifetype-1.2/tribal/postandcomments.template
templates/branches/lifetype-1.2/v4ny8_lt/post.template
templates/branches/lifetype-1.2/v4nychristmas5/post.template
templates/branches/lifetype-1.2/v4nychristmas5/postandcomments.template
templates/branches/lifetype-1.2/water_play/post.template
templates/branches/lifetype-1.2/white/post.template
templates/branches/lifetype-1.2/wordplog/plugin_stickyposts.inc
templates/branches/lifetype-1.2/wordplog/plugin_toprank.inc
templates/branches/lifetype-1.2/wordplog/post.template
templates/branches/lifetype-1.2/wordplog/postandcomments.template
templates/branches/lifetype-1.2/zen/post.template
Log:
replaced getTotalComments and getTotalTrackbacks with getNumComments and getNumTrackbacks, as our guidelines (http://wiki.lifetype.net/index.php/Template_Guidelines#Number_of_comments_and_trackbacks) advice. I found it to be wrong in pretty much all templates...
Modified: templates/branches/lifetype-1.2/3-column-liquid/post.template
===================================================================
--- templates/branches/lifetype-1.2/3-column-liquid/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/3-column-liquid/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,6 +12,6 @@
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach} •
- <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> •
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> •
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/3-column-liquid/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/3-column-liquid/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/3-column-liquid/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,7 +11,7 @@
{/if}
{assign var="poster" value=$post->getUserInfo()}
{include file="$blogtemplate/post.template"}
- {if $post->getTotalComments() > 0 }
+ {if $post->getNumComments() > 0 }
<div id="postcomments">
<div class="posttitle">User Comments</div>
{foreach from=$comments item=comment}
Modified: templates/branches/lifetype-1.2/Blix/post.template
===================================================================
--- templates/branches/lifetype-1.2/Blix/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Blix/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -4,7 +4,7 @@
<div class="entry">
<h2><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></h2>
<P>{$post->getText()}</P>
- <p class="info"><A class="commentlink" href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A>
+ <p class="info"><A class="commentlink" href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A>
Posted to {foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
Modified: templates/branches/lifetype-1.2/Blix/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/Blix/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Blix/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -20,8 +20,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A>,
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A>,
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A>,
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A>,
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -46,8 +46,8 @@
<!-- comments ................................. -->
<div id="comments">
- <h2>{$post->getTotalComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
- {pager style="links"}
+ <h2>{$post->getNumComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
+ {pager style="links"}
<br/>
<ul>
@@ -76,4 +76,4 @@
</div> <!-- /comments -->
{include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
+{include file="$blogtemplate/footer.template"}
Modified: templates/branches/lifetype-1.2/Boxed/post.template
===================================================================
--- templates/branches/lifetype-1.2/Boxed/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Boxed/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/Boxed-Green/post.template
===================================================================
--- templates/branches/lifetype-1.2/Boxed-Green/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Boxed-Green/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/FallingLeaves/post.template
===================================================================
--- templates/branches/lifetype-1.2/FallingLeaves/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FallingLeaves/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -13,7 +13,7 @@
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
- | <A href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A>
+ | <A href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A>
</DIV>
</DIV>
<DIV class=sep></DIV>
Modified: templates/branches/lifetype-1.2/FallingLeaves/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/FallingLeaves/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FallingLeaves/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,8 +15,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -61,13 +61,13 @@
<small class="commentmetadata"><a href="#comment-{$comment->getId()}" title="">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y, at %H:%M")}</a> </small><br />
<small><a href="{$comment->getUserUrl()}">Visit {$comment->getUsername()}</a></small>
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/FallingLeavesWithPlugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/FallingLeavesWithPlugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FallingLeavesWithPlugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -13,7 +13,7 @@
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
- | <A href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A>
+ | <A href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A>
</DIV>
</DIV>
<DIV class=sep></DIV>
Modified: templates/branches/lifetype-1.2/FallingLeavesWithPlugins/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/FallingLeavesWithPlugins/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FallingLeavesWithPlugins/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -16,8 +16,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -71,13 +71,13 @@
<small class="commentmetadata"><a href="#comment-{$comment->getId()}" title="">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y, at %H:%M")}</a> </small><br />
<small><a href="{$comment->getUserUrl()}">Visit {$comment->getUsername()}</a></small>
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/FastTrack/post.template
===================================================================
--- templates/branches/lifetype-1.2/FastTrack/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FastTrack/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,4 +12,4 @@
</div>
<p class="post-info"><a href="{$url->postPermalink($post)}" rel="bookmark" title="Permanent Link: {$post->getTopic()}"> {$post->getTopic()} </a></p>
<div class="post-content">{$post->getText()}</div>
- <div class="post-footer"><span class='link-comment'>[<a href="{$url->postPermalink($post)}"> ({$post->getTotalComments()}) {$locale->tr("comment on this")} </a>]</span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
+ <div class="post-footer"><span class='link-comment'>[<a href="{$url->postPermalink($post)}"> ({$post->getNumComments()}) {$locale->tr("comment on this")} </a>]</span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
Modified: templates/branches/lifetype-1.2/FastTrack/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/FastTrack/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/FastTrack/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,7 +18,7 @@
{include file="$blogtemplate/post.template"}
{* show comments *}
-<h3 id="comments">{$post->getTotalComments()} Comments on "{$post->getTopic()}"</h3>
+<h3 id="comments">{$post->getNumComments()} Comments on "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
@@ -31,13 +31,13 @@
<a name="{$comment->getId()}"></a>
{$comment->getTopic()} [<a href="{$url->postPermalink($post)}#NewComment"> {$locale->tr("reply")} </a>]<br />
<small class="commentmetadata">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")}</small>
-<p>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+<p>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</p>
</li>
{/foreach}
Modified: templates/branches/lifetype-1.2/GreenTrack/post.template
===================================================================
--- templates/branches/lifetype-1.2/GreenTrack/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/GreenTrack/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,4 +12,4 @@
</div>
<p class="post-info"><a href="{$url->postPermalink($post)}" rel="bookmark" title="Permanent Link: {$post->getTopic()}"> {$post->getTopic()} </a></p>
<div class="post-content">{$post->getText()}</div>
- <div class="post-footer"><span class='link-comment'><a href="{$url->postPermalink($post)}"> ({$post->getTotalComments()}) {$locale->tr("comment on this")} </a></span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
+ <div class="post-footer"><span class='link-comment'><a href="{$url->postPermalink($post)}"> ({$post->getNumComments()}) {$locale->tr("comment on this")} </a></span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
Modified: templates/branches/lifetype-1.2/GreenTrack/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/GreenTrack/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/GreenTrack/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -20,7 +20,7 @@
{include file="$blogtemplate/post.template"}
{* show comments *}
-<h3 id="comments">{$post->getTotalComments()} Comments on "{$post->getTopic()}"</h3>
+<h3 id="comments">{$post->getNumComments()} Comments on "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
@@ -33,13 +33,13 @@
<a name="{$comment->getId()}"></a>
{$comment->getTopic()} [<a href="{$url->postPermalink($post)}#NewComment"> {$locale->tr("reply")} </a>]<br />
<small class="commentmetadata">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")}</small>
-<p>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+<p>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</p>
</li>
{/foreach}
Modified: templates/branches/lifetype-1.2/Innerscape/leftmenu.template
===================================================================
--- templates/branches/lifetype-1.2/Innerscape/leftmenu.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Innerscape/leftmenu.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -41,7 +41,7 @@
{assign var=commentposts value=$topcommentposts->getTopCommentPosts()}
{foreach from=$commentposts item=commentpost}
<br />
-<a href="{$url->postLink($commentpost)}">{$commentpost->getTopic()|truncate:10:"..."|strip_tags|escape} ({$commentpost->getTotalComments()} Comments)</a>
+<a href="{$url->postLink($commentpost)}">{$commentpost->getTopic()|truncate:10:"..."|strip_tags|escape} ({$commentpost->getNumComments()} Comments)</a>
{/foreach} <br/><br/>
{/if}
{/if}
Modified: templates/branches/lifetype-1.2/Innerscape/post.template
===================================================================
--- templates/branches/lifetype-1.2/Innerscape/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Innerscape/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -23,7 +23,7 @@
{$postCategory->getName()}</a>{if
!$smarty.foreach.categories.last}, {/if}
{/foreach}
-:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
+:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
{if !empty($karma)}
{if $karma->isEnabled()}
{assign var="positiveKarma" value=$post->getField("positiveKarma")}{if $positiveKarma == ""}{assign var="positiveKarma" value=0}{/if}
Modified: templates/branches/lifetype-1.2/LiteWinter/post.template
===================================================================
--- templates/branches/lifetype-1.2/LiteWinter/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/LiteWinter/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,6 +11,6 @@
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}]
|[<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")} </a>]
- |[<a href="{$url->postTrackbackStatsLink($post)}"> {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()}) </a>]
- |[<a href="{$url->postPermalink($post)}"> {$locale->tr("comment on this")} ({$post->getTotalComments()}) </a>]
+ |[<a href="{$url->postTrackbackStatsLink($post)}"> {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}) </a>]
+ |[<a href="{$url->postPermalink($post)}"> {$locale->tr("comment on this")} ({$post->getNumComments()}) </a>]
</div>
Modified: templates/branches/lifetype-1.2/Mac-Stripe/post.template
===================================================================
--- templates/branches/lifetype-1.2/Mac-Stripe/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Mac-Stripe/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,7 +14,7 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a>::
+({$post->getNumComments()})</a>::
{/if}
<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
Modified: templates/branches/lifetype-1.2/Matrix-Code/post.template
===================================================================
--- templates/branches/lifetype-1.2/Matrix-Code/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Matrix-Code/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -20,7 +20,7 @@
<p class="post-footer">
<em>posted by {$postOwner->getUsername()} on
- <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getTotalComments()} Comments</a></em></a>
+ <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getNumComments()} Comments</a></em></a>
</p>
</div>
Modified: templates/branches/lifetype-1.2/MinimaPlusWithPlugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlusWithPlugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/MinimaPlusWithPlugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,7 +12,7 @@
<p class="post-footer">
<em>posted by {$postOwner->getUsername()} on
- <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getTotalComments()} Comments</a></em></a>
+ <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getNumComments()} Comments</a></em></a>
</p>
</div>
Modified: templates/branches/lifetype-1.2/MinimaPlusWithPlugins/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlusWithPlugins/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/MinimaPlusWithPlugins/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -22,7 +22,7 @@
<p class="post-footer">
<em>posted by {$postOwner->getUsername()} on
- <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getTotalComments()} Comments</a></em></a>
+ <a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getNumComments()} Comments</a></em></a>
</p>
</div>
Modified: templates/branches/lifetype-1.2/Modish/post.template
===================================================================
--- templates/branches/lifetype-1.2/Modish/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Modish/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/ShadedGrey/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/ShadedGrey/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/ShadedGrey/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,7 +19,7 @@
{* show comments *}
<a name="#comments"></a>
-<h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")} | "{$post->getTopic()}"</h3>
+<h3 id="comments">{$post->getNumComments()} {$locale->tr("comments")} | "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
Modified: templates/branches/lifetype-1.2/SimpleRules/post.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/SimpleRules/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -13,6 +13,6 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach} |
-<a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
-<a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a></p>
+<a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+<a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a></p>
</div>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/SimpleRules/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/SimpleRules/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -41,7 +41,7 @@
</div>
<div>
-<h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")} and {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} - "{$post->getTopic()}" </h3>
+<h3 id="comments">{$post->getNumComments()} {$locale->tr("comments")} and {$post->getNumTrackbacks()} {$locale->tr("trackbacks")} - "{$post->getTopic()}" </h3>
{pager style="links"}
{foreach from=$comments item=comment}
<br />
Modified: templates/branches/lifetype-1.2/Soft-Blue/post.template
===================================================================
--- templates/branches/lifetype-1.2/Soft-Blue/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Soft-Blue/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/Soft-Green/post.template
===================================================================
--- templates/branches/lifetype-1.2/Soft-Green/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Soft-Green/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/Soft-Red/post.template
===================================================================
--- templates/branches/lifetype-1.2/Soft-Red/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Soft-Red/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/StreetCorner/post.template
===================================================================
--- templates/branches/lifetype-1.2/StreetCorner/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/StreetCorner/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,4 +12,4 @@
</div>
<p class="post-info"><a href="{$url->postPermalink($post)}" rel="bookmark" title="Permanent Link: {$post->getTopic()}"> {$post->getTopic()} </a></p>
<div class="post-content">{$post->getText()}</div>
- <div class="post-footer"><span class='link-comment'><a href="{$url->postPermalink($post)}"> ({$post->getTotalComments()}) {$locale->tr("comment on this")} </a></span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
+ <div class="post-footer"><span class='link-comment'><a href="{$url->postPermalink($post)}"> ({$post->getNumComments()}) {$locale->tr("comment on this")} </a></span> | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>] | [<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>]</div>
Modified: templates/branches/lifetype-1.2/StreetCorner/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/StreetCorner/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/StreetCorner/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -20,7 +20,7 @@
{include file="$blogtemplate/post.template"}
{* show comments *}
-<h3 id="comments">{$post->getTotalComments()} Comments on "{$post->getTopic()}"</h3>
+<h3 id="comments">{$post->getNumComments()} Comments on "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
@@ -33,13 +33,13 @@
<a name="{$comment->getId()}"></a>
{$comment->getTopic()} [<a href="{$url->postPermalink($post)}#NewComment"> {$locale->tr("reply")} </a>]<br />
<small class="commentmetadata">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")}</small>
-<p>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+<p>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</p>
</li>
{/foreach}
Modified: templates/branches/lifetype-1.2/Very-Clean/post.template
===================================================================
--- templates/branches/lifetype-1.2/Very-Clean/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Very-Clean/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/Vicksburg/post.template
===================================================================
--- templates/branches/lifetype-1.2/Vicksburg/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/Vicksburg/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,11 +14,11 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getTotalComments()})</a> ::
+({$post->getNumComments()})</a> ::
{/if}
<a href="{$url->postPermalink($post)}">
{$locale->tr("permalink")}</a> ::
<a href="{$url->postTrackbackStatsLink($post)}">
- {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/almost-spring/post.template
===================================================================
--- templates/branches/lifetype-1.2/almost-spring/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/almost-spring/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,7 +11,7 @@
{$locale->formatDate($postDate,"%d %B, %Y %H:%M") }:: {$locale->tr("num_reads")} ({$post->getNumReads()})</p>
<div class="postentry">{$post->getText()}</div>
-<p class="postfeedback"><a href="{$url->postPermalink($post)}#Comments" class="commentslink"> ({$post->getTotalComments()}) {$locale->tr("comment on this")} </a> <a href="{$url->postTrackbackStatsLink($post)}" class="commentslink"> ({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a> <a href="{$url->postPermalink($post)}" title="Permanent Link: {$post->getTopic()}" class="permalink">{$locale->tr("permalink")}</a>
+<p class="postfeedback"><a href="{$url->postPermalink($post)}#Comments" class="commentslink"> ({$post->getNumComments()}) {$locale->tr("comment on this")} </a> <a href="{$url->postTrackbackStatsLink($post)}" class="commentslink"> ({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a> <a href="{$url->postPermalink($post)}" title="Permanent Link: {$post->getTopic()}" class="permalink">{$locale->tr("permalink")}</a>
</p>
</div>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/almost-spring/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/almost-spring/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/almost-spring/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,7 +19,7 @@
{include file="$blogtemplate/post.template"}
{* show comments *}
-<h2 id="comments"><a name="Comments"></a>{$post->getTotalComments()} {$locale->tr("comments")} in "{$post->getTopic()}"</h2>
+<h2 id="comments"><a name="Comments"></a>{$post->getNumComments()} {$locale->tr("comments")} in "{$post->getTopic()}"</h2>
<ol id="commentlist">
{assign var="counter" value=1}
{foreach name=comment from=$comments item=comment}
@@ -39,13 +39,13 @@
{assign var=commentDate value=$comment->getDateObject()}
{$locale->formatDate($commentDate, "%d/%m/%Y, at %H:%M")} [<a href="{$url->postPermalink($post)}#NewComment"> {$locale->tr("reply")} </a>]
</p>
-{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}
</li>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/andreas-2-columns/post.template
===================================================================
--- templates/branches/lifetype-1.2/andreas-2-columns/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/andreas-2-columns/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,8 +11,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}.
- {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>.
- {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+ {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getNumComments()})</a>.
+ {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()})</a>.
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
</p>
Modified: templates/branches/lifetype-1.2/andreas-2-columns/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/andreas-2-columns/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/andreas-2-columns/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,8 +18,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}.
- {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>.
- {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+ {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getNumComments()})</a>.
+ {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()})</a>.
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> <br>
{* I am not so keen on using if's in templates, but can't think of another way... *}
Modified: templates/branches/lifetype-1.2/andreas-3-columns/post.template
===================================================================
--- templates/branches/lifetype-1.2/andreas-3-columns/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/andreas-3-columns/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,8 +11,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}.
- {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>.
- {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+ {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getNumComments()})</a>.
+ {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()})</a>.
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
</p>
Modified: templates/branches/lifetype-1.2/andreas-3-columns/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/andreas-3-columns/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/andreas-3-columns/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,8 +19,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}.
- {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>.
- {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+ {$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getNumComments()})</a>.
+ {$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()})</a>.
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> <br>
{* I am not so keen on using if's in templates, but can't think of another way... *}
Modified: templates/branches/lifetype-1.2/aquasoft/post.template
===================================================================
--- templates/branches/lifetype-1.2/aquasoft/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/aquasoft/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach} |
- <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</p>
</div>
Modified: templates/branches/lifetype-1.2/aquasoft/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/aquasoft/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/aquasoft/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -58,7 +58,7 @@
<div>
{if $comments}
- <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")} & {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
+ <h3 id="comments">{$post->getNumComments()} {$locale->tr("comments")} & {$post->getNumTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
{foreach from=$comments item=comment}
<ol class="commentlist">
<a name="{$comment->getId()}"></a><p>{if $comment->IsPosterAuthenticated()}
Modified: templates/branches/lifetype-1.2/aubmach/post.template
===================================================================
--- templates/branches/lifetype-1.2/aubmach/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/aubmach/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,11 +18,11 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/base/post.template
===================================================================
--- templates/branches/lifetype-1.2/base/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/base/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,7 +19,7 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a>
</div>
Modified: templates/branches/lifetype-1.2/blorange/post.template
===================================================================
--- templates/branches/lifetype-1.2/blorange/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/blorange/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/blueish/post.template
===================================================================
--- templates/branches/lifetype-1.2/blueish/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/blueish/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -8,7 +8,7 @@
<img alt="Permalink" src="{$url->getTemplateFile("post.gif")}" width="10" height="11" style="border: 0px" />
<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
<img alt="Comments" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px" />
- <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
<img alt="Trackback" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px" />
<a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postcategory}
Modified: templates/branches/lifetype-1.2/blufill/post.template
===================================================================
--- templates/branches/lifetype-1.2/blufill/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/blufill/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -9,8 +9,8 @@
</div>
<div style="text-align:left; margin-bottom: 25px; margin-left: 6px; font-size: 10px">
<a href="{$url->postPermalink($post)}"><img alt="{$locale->tr("permalink")}" src="{$url->getTemplateFile("post.gif")}" width="10" height="11" style="border: 0px; vertical-align: middle" /></a> |
- <a href="{$url->postTrackbackStatsLink($post)}"><img alt="{$locale->tr("trackbacks")} [{$post->getTotalTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px; vertical-align: middle" /></a> |
- <a href="{$url->postPermalink($post)}" style=" font-size: 10px; font-family:georgia, verdana, arial, sans-serif;"><img alt="{$locale->tr("comments")} [{$post->getTotalComments()}]" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px; vertical-align: middle;" /> {$locale->tr("comments")} [{$post->getTotalComments()}]</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}"><img alt="{$locale->tr("trackbacks")} [{$post->getNumTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px; vertical-align: middle" /></a> |
+ <a href="{$url->postPermalink($post)}" style=" font-size: 10px; font-family:georgia, verdana, arial, sans-serif;"><img alt="{$locale->tr("comments")} [{$post->getNumComments()}]" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px; vertical-align: middle;" /> {$locale->tr("comments")} [{$post->getNumComments()}]</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
Modified: templates/branches/lifetype-1.2/bubble-blue/post.template
===================================================================
--- templates/branches/lifetype-1.2/bubble-blue/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/bubble-blue/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -9,5 +9,5 @@
{foreach name=categories from=$post->getCategories() item=postCategory}
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
- :: <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ :: <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/buddha/post.template
===================================================================
--- templates/branches/lifetype-1.2/buddha/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/buddha/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/buggy/post.template
===================================================================
--- templates/branches/lifetype-1.2/buggy/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/buggy/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -5,7 +5,7 @@
<span class="shadelight">{$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
<span class="shadedark">{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach}</span>
<span class="shadelight"><a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a></span>
-<span class="shadedark"><a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a></span>
+<span class="shadedark"><a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a></span>
<p>
{$post->getText()}
</p>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/cab/post.template
===================================================================
--- templates/branches/lifetype-1.2/cab/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/cab/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/connections/post.template
===================================================================
--- templates/branches/lifetype-1.2/connections/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/connections/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -8,7 +8,7 @@
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}]
- <br/>[<a href="{$url->postPermalink($post)}"> ({$post->getTotalComments()}) {$locale->tr("comment on this")} </a>] | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a>]</div>
+ <br/>[<a href="{$url->postPermalink($post)}"> ({$post->getNumComments()}) {$locale->tr("comment on this")} </a>] | [<a href="{$url->postTrackbackStatsLink($post)}"> ({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>]</div>
<div class="post-content">
{$post->getText()}
<div class="post-footer"> </div>
Modified: templates/branches/lifetype-1.2/connections/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/connections/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/connections/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,7 +19,7 @@
{* show comments *}
<a name="comments"></a>
-<h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")}: "{$post->getTopic()}"</h3>
+<h3 id="comments">{$post->getNumComments()} {$locale->tr("comments")}: "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
Modified: templates/branches/lifetype-1.2/darkfire/post.template
===================================================================
--- templates/branches/lifetype-1.2/darkfire/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/darkfire/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/dots/post.template
===================================================================
--- templates/branches/lifetype-1.2/dots/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/dots/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/drove-all-night/post.template
===================================================================
--- templates/branches/lifetype-1.2/drove-all-night/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/drove-all-night/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/fblue/post.template
===================================================================
--- templates/branches/lifetype-1.2/fblue/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fblue/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -13,5 +13,5 @@
{/foreach}
</div>
</div>
- <p class=comments_link><a href="{$url->postPermalink($post)}#comments">{$locale->tr("comments")} ({$post->getTotalComments()})</a></p>
+ <p class=comments_link><a href="{$url->postPermalink($post)}#comments">{$locale->tr("comments")} ({$post->getNumComments()})</a></p>
</div><br/>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fblueWithPlugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/fblueWithPlugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fblueWithPlugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fblueWithPlugins/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fblueWithPlugins/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fblueWithPlugins/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -73,13 +73,13 @@
{if $gravatar->isEnabled()}
<img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" hspace="10"/>
{/if}{/if}
-{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/fdawn/post.template
===================================================================
--- templates/branches/lifetype-1.2/fdawn/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fdawn/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fdawn/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fdawn/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fdawn/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -58,13 +58,13 @@
</span>
</div>
<div class='commenttext'>
-{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/fdawnWithPlugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/fdawnWithPlugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fdawnWithPlugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fdawnWithPlugins/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fdawnWithPlugins/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fdawnWithPlugins/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -61,13 +61,13 @@
{if $gravatar->isEnabled()}
<img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" hspace="10"/>
{/if}{/if}
-{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/fgreen/post.template
===================================================================
--- templates/branches/lifetype-1.2/fgreen/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fgreen/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,6 +18,6 @@
</DIV>
<div class="entrybody">
<P>{$post->getText()}</P>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</div>
</div>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fgreen/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fgreen/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fgreen/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,8 +18,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -59,13 +59,13 @@
{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | <a href="#comment-{$comment->getId()}" title="">{$locale->formatDate($commentDate, "%H:%M")}</a>
</span>
</div>
- <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/flower/post.template
===================================================================
--- templates/branches/lifetype-1.2/flower/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/flower/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/flyupsky-daytime/post.template
===================================================================
--- templates/branches/lifetype-1.2/flyupsky-daytime/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/flyupsky-daytime/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -16,8 +16,8 @@
</div>
<blockquote class="mt">Trackback URL: {$url->getTrackbackUrl()}?id={$post->getId()}</blockquote>
<div class="posted">
- <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")}({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")}({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}({$post->getNumTrackbacks()})</a>
</div>
</div>
</div>
Modified: templates/branches/lifetype-1.2/flyupsky-evening/post.template
===================================================================
--- templates/branches/lifetype-1.2/flyupsky-evening/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/flyupsky-evening/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -16,8 +16,8 @@
</div>
<blockquote class="mt">Trackback URL: {$url->getTrackbackUrl()}?id={$post->getId()}</blockquote>
<div class="posted">
- <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")}({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")}({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}({$post->getNumTrackbacks()})</a>
</div>
</div>
</div>
Modified: templates/branches/lifetype-1.2/forange/post.template
===================================================================
--- templates/branches/lifetype-1.2/forange/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/forange/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/forange/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/forange/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/forange/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -57,13 +57,13 @@
{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | <a href="#comment-{$comment->getId()}" title="">{$locale->formatDate($commentDate, "%H:%M")}</a>
</span>
</div>
- <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/forangeWithPlugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/forangeWithPlugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/forangeWithPlugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/forangeWithPlugins/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/forangeWithPlugins/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/forangeWithPlugins/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -61,13 +61,13 @@
{if $gravatar->isEnabled()}
<img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" hspace="10"/>
{/if}{/if}
-{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/fsimple/post.template
===================================================================
--- templates/branches/lifetype-1.2/fsimple/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fsimple/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,5 +15,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fsimple/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fsimple/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fsimple/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -57,13 +57,13 @@
{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | <a href="#comment-{$comment->getId()}" title="">{$locale->formatDate($commentDate, "%H:%M")}</a>
</span>
</div>
- <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/fsubtle/post.template
===================================================================
--- templates/branches/lifetype-1.2/fsubtle/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fsubtle/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,5 +19,5 @@
{/foreach}
</DIV>
</DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
+ <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </P>
</DIV><br>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/fsubtle/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/fsubtle/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/fsubtle/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -57,13 +57,13 @@
{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | <a href="#comment-{$comment->getId()}" title="">{$locale->formatDate($commentDate, "%H:%M")}</a>
</span>
</div>
- <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <div class='commenttext'>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</div>
</LI>
{assign var="counter" value="`$counter+1`"}
Modified: templates/branches/lifetype-1.2/greenmarinee/post.template
===================================================================
--- templates/branches/lifetype-1.2/greenmarinee/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/greenmarinee/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,8 +17,8 @@
<br />
<div class="comments">
<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> /
- <a href="{$url->postPermalink($post)}">({$post->getTotalComments()}) {$locale->tr("comments")} </a> /
- <a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()}) {$locale->tr("trackbacks")} </a>
+ <a href="{$url->postPermalink($post)}">({$post->getNumComments()}) {$locale->tr("comments")} </a> /
+ <a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>
{if !$OnMainPage}
{if $nextpost == true}
/ <a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a>
Modified: templates/branches/lifetype-1.2/grey/post.template
===================================================================
--- templates/branches/lifetype-1.2/grey/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/grey/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -10,5 +10,5 @@
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
-:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/gutenberg/post.template
===================================================================
--- templates/branches/lifetype-1.2/gutenberg/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/gutenberg/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/human_condition/post.template
===================================================================
--- templates/branches/lifetype-1.2/human_condition/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/human_condition/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,12 +15,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/ice/post.template
===================================================================
--- templates/branches/lifetype-1.2/ice/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/ice/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,7 +21,7 @@
<div class="postfooter">
{$locale->tr("posted_by")} {$poster->getUsername()} |
- {assign var="postTotalComments" value=$post->getTotalComments()}
+ {assign var="postTotalComments" value=$post->getNumComments()}
{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
{if $postTotalComments > 0}
<a href="{$url->postLink($post)}#comments">{$postTotalComments} {$locale->tr("comments")}</a> |
@@ -30,7 +30,7 @@
{/if}
{/if}
- <a href="{$url->postTrackbackStatsLink($post)}#trackbacks">Trackback ({$post->getTotalTrackbacks()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}#trackbacks">Trackback ({$post->getNumTrackbacks()})</a> |
<a href="{$url->postPermalink($post)}" title="{$locale->tr("permalink_title")}">Permalink</a>
</div>
Modified: templates/branches/lifetype-1.2/ice/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/ice/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/ice/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -25,21 +25,21 @@
{include file="$blogtemplate/post.template"}
<a name="comments"> </a>
-{if $post->getTotalComments() > 0 }
+{if $post->getNumComments() > 0 }
<div id="comments">
<h2>{$locale->tr("comments")}</h2>
- {foreach from=$comments item=comment}
+ {foreach from=$comments item=comment}
<p class="commentheader">
{$comment->getTopic()} <span class="reply">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
</p>
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}
<div class="commentposterinfo">
{assign var=commentDate value=$comment->getDateObject()}
Modified: templates/branches/lifetype-1.2/kubrick/post.template
===================================================================
--- templates/branches/lifetype-1.2/kubrick/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/kubrick/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach} |
- <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</p>
</div>
Modified: templates/branches/lifetype-1.2/kubrick/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/kubrick/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/kubrick/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -54,7 +54,7 @@
<div>
{if $comments}
- <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")} & {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
+ <h3 id="comments">{$post->getNumComments()} {$locale->tr("comments")} & {$post->getNumTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
<ol class="commentlist">
{foreach from=$comments item=comment}
<li class="comment {$comment->getId()}">
Modified: templates/branches/lifetype-1.2/lemons/post.template
===================================================================
--- templates/branches/lifetype-1.2/lemons/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/lemons/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,7 +12,7 @@
</p>
<div class="postinfo">
{$poster->getUsername()} |
- {assign var="postTotalComments" value=$post->getTotalComments()}
+ {assign var="postTotalComments" value=$post->getNumComments()}
{if $postTotalComments > 0}
<a href="{$url->postLink($post)}#comments">{$postTotalComments} {$locale->tr("comments")}</a>
{else}
Modified: templates/branches/lifetype-1.2/lemons/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/lemons/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/lemons/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -6,20 +6,20 @@
<!-- {$url->postTrackbackLink($post)} -->
<div class="dayheader">{$locale->formatDate($postDate,"%A")} | {$locale->formatDate($postDate,"%d.%m.%Y")}</div>
{include file="$blogtemplate/post.template"}
- {if $post->getTotalComments() > 0 }
+ {if $post->getNumComments() > 0 }
<a name="comments"></a>
- {foreach from=$comments item=comment}
+ {foreach from=$comments item=comment}
<p class="commentheader">
» {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
</p>
<p>
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}
</p>
<span class="commentposterinfo">
Modified: templates/branches/lifetype-1.2/mars-spirit/post.template
===================================================================
--- templates/branches/lifetype-1.2/mars-spirit/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/mars-spirit/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/minitemplate/post.template
===================================================================
--- templates/branches/lifetype-1.2/minitemplate/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/minitemplate/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -16,7 +16,7 @@
{$post->getText()}
</div>
<div class="PostFooter">
- <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} [{$post->getTotalComments()}]</a> | <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} [{$post->getTotalTrackbacks()}]</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} [{$post->getNumComments()}]</a> | <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} [{$post->getNumTrackbacks()}]</a>
{*
| <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}.</a>
*}
Modified: templates/branches/lifetype-1.2/mtplog/post.template
===================================================================
--- templates/branches/lifetype-1.2/mtplog/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/mtplog/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -9,8 +9,8 @@
<div class="posted">
{$postOwner->getUsername()} |
{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach} |
- <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a> |
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
({$post->getNumReads()})
</div>
Modified: templates/branches/lifetype-1.2/ocadia/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/ocadia/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/ocadia/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -17,7 +17,7 @@
{include file="$blogtemplate/post.template"}
{* show comments *}
-<h2 id="comments"><a name="Comments"></a>{$post->getTotalComments()} {$locale->tr("comments")|capitalize} | "{$post->getTopic()}" <a href="#NewComment" title="{$locale->tr("add_comment")}">»</a></h2>
+<h2 id="comments"><a name="Comments"></a>{$post->getNumComments()} {$locale->tr("comments")|capitalize} | "{$post->getTopic()}" <a href="#NewComment" title="{$locale->tr("add_comment")}">»</a></h2>
<a name="#comments"></a>
<ol id="commentlist">
{assign var="counter" value=1}
Modified: templates/branches/lifetype-1.2/outback/post.template
===================================================================
--- templates/branches/lifetype-1.2/outback/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/outback/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/pastel-blocks/post.template
===================================================================
--- templates/branches/lifetype-1.2/pastel-blocks/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/pastel-blocks/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -25,11 +25,11 @@
{/foreach}
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
- <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a>
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
</div>
Modified: templates/branches/lifetype-1.2/pastel-blocks/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/pastel-blocks/searchresults.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/pastel-blocks/searchresults.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -39,11 +39,11 @@
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
- <a href="{$url->postPermalink($article)}">{$locale->tr("comment on this")} ({$article->getTotalComments()})</a>
+ <a href="{$url->postPermalink($article)}">{$locale->tr("comment on this")} ({$article->getNumComments()})</a>
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($article)}">{$locale->tr("permalink")}</a>
<img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/>
- <a href="{$url->postTrackbackStatsLink($article)}">{$locale->tr("trackbacks")} ({$article->getTotalTrackbacks()})</a>
+ <a href="{$url->postTrackbackStatsLink($article)}">{$locale->tr("trackbacks")} ({$article->getNumTrackbacks()})</a>
</div>
</div>
</div>
Modified: templates/branches/lifetype-1.2/pink_lilies/post.template
===================================================================
--- templates/branches/lifetype-1.2/pink_lilies/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/pink_lilies/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/reic/post.template
===================================================================
--- templates/branches/lifetype-1.2/reic/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/reic/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,7 +14,7 @@
{$post->getText()}
<blockquote class="mt">Trackback URL: {$url->getTrackbackUrl()}?id={$post->getId()}</blockquote>
<div class="posted">
- <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
</div>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/reic1/post.template
===================================================================
--- templates/branches/lifetype-1.2/reic1/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/reic1/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,8 +14,8 @@
{$post->getText()}
<blockquote class="mt">Trackback URL: {$url->getTrackbackUrl()}?id={$post->getId()}</blockquote>
<div class="posted">
- <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+ <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
</div>
Modified: templates/branches/lifetype-1.2/roodoplog-2-column/post.template
===================================================================
--- templates/branches/lifetype-1.2/roodoplog-2-column/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/roodoplog-2-column/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,8 +11,8 @@
<div class="posted">
Posted by {$postOwner->getUsername()} |
<a class="aposted" title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
- <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a> |
+ <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}<a class="aposted" href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach}
</div>
</div>
Modified: templates/branches/lifetype-1.2/roodoplog-2-column/post1.template
===================================================================
--- templates/branches/lifetype-1.2/roodoplog-2-column/post1.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/roodoplog-2-column/post1.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,7 +11,7 @@
<div class="posted">
Posted by {$postOwner->getUsername()} |
<a class="aposted" title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
- <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a> |
+ <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}<a class="aposted" href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach}
</div>
Modified: templates/branches/lifetype-1.2/roodoplog-3-column/post.template
===================================================================
--- templates/branches/lifetype-1.2/roodoplog-3-column/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/roodoplog-3-column/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,8 +11,8 @@
<div class="posted">
Posted by {$postOwner->getUsername()} |
<a class="aposted" title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
- <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a> |
+ <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}<a class="aposted" href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach}
</div>
</div>
Modified: templates/branches/lifetype-1.2/roodoplog-3-column/post1.template
===================================================================
--- templates/branches/lifetype-1.2/roodoplog-3-column/post1.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/roodoplog-3-column/post1.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,7 +11,7 @@
<div class="posted">
Posted by {$postOwner->getUsername()} |
<a class="aposted" title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
- <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
- <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a> |
+ <a class="aposted" href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getNumComments()})</a> |
+ <a class="aposted" href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}<a class="aposted" href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach}
</div>
Modified: templates/branches/lifetype-1.2/rubric/post.template
===================================================================
--- templates/branches/lifetype-1.2/rubric/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/rubric/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/silver/post.template
===================================================================
--- templates/branches/lifetype-1.2/silver/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/silver/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/simple_sky/post.template
===================================================================
--- templates/branches/lifetype-1.2/simple_sky/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/simple_sky/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/splat/post.template
===================================================================
--- templates/branches/lifetype-1.2/splat/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/splat/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -18,11 +18,11 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/spring/post.template
===================================================================
--- templates/branches/lifetype-1.2/spring/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/spring/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,5 +14,5 @@
{foreach name=categories from=$post->getCategories() item=postCategory}
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
-:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
</div>
Modified: templates/branches/lifetype-1.2/standard-with-plugins/footer.template
===================================================================
--- templates/branches/lifetype-1.2/standard-with-plugins/footer.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard-with-plugins/footer.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -84,17 +84,17 @@
<div id="Recently">
{assign var=comments value=$recentcomments->getRecentComments()}
<ul>
- {foreach from=$post->getComments() item=comment}
+ {foreach from=$post->getComments() item=comment}
{assign var=commentpostid value=$comment->getArticleId()}
{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}
{assign var=commentUserName value=$comment->getUsername()}
- <li><a title="{$locale->pr("view_comment_by" ,$commentUserName)}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$commentUserName}: </b>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <li><a title="{$locale->pr("view_comment_by" ,$commentUserName)}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$commentUserName}: </b>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()|truncate:100:"..."|strip_tags}</a></li>
{/foreach}
</ul>
@@ -126,7 +126,7 @@
<ul>
{assign var=commentposts value=$topcommentposts->getTopCommentPosts()}
{foreach from=$commentposts item=commentpost}
- <li><a href="{$url->postLink($commentpost)}">{$commentpost->getTopic()} ({$commentpost->getTotalComments()} Posts)</a></li>
+ <li><a href="{$url->postLink($commentpost)}">{$commentpost->getTopic()} ({$commentpost->getNumComments()} Posts)</a></li>
{/foreach}
</ul>
</div>
Modified: templates/branches/lifetype-1.2/standard-with-plugins/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard-with-plugins/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard-with-plugins/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,7 +12,7 @@
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
-:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
{if !empty($karma)}
{if $karma->isEnabled()}
{assign var="positiveKarma" value=$post->getField("positiveKarma")}{if $positiveKarma == ""}{assign var="positiveKarma" value=0}{/if}
Modified: templates/branches/lifetype-1.2/standard_green/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard_green/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard_green/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
<p class="footer">
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
<img src="{$url->getTemplateFile("imgs/permalink.gif")}" alt="" /><a title="{$locale->tr("permalink_title")} -> {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getTotalComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}){/if}</a> | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if}</a> | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{else}
@@ -22,8 +22,8 @@
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
{assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}<img src="{$url->getTemplateFile("imgs/next.gif")}" alt="" /><a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a> | {/if}
{assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}<img src="{$url->getTemplateFile("imgs/previous.gif")}" alt="" /><a href="{$url->postPermalink($prevpost)}" title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a> | {/if}
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}) | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{/if}
Modified: templates/branches/lifetype-1.2/standard_happy/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard_happy/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard_happy/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
<p class="footer">
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
<img src="{$url->getTemplateFile("imgs/permalink.gif")}" alt="" /><a title="{$locale->tr("permalink_title")} -> {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getTotalComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}){/if}</a> | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if}</a> | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{else}
@@ -22,8 +22,8 @@
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
{assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}<img src="{$url->getTemplateFile("imgs/next.gif")}" alt="" /><a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a> | {/if}
{assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}<img src="{$url->getTemplateFile("imgs/previous.gif")}" alt="" /><a href="{$url->postPermalink($prevpost)}" title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a> | {/if}
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}) | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{/if}
Modified: templates/branches/lifetype-1.2/standard_new/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard_new/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard_new/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
<p class="footer">
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
<img src="{$url->getTemplateFile("imgs/permalink.gif")}" alt="" /><a title="{$locale->tr("permalink_title")} -> {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getTotalComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}){/if}</a> | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if}</a> | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{else}
@@ -22,8 +22,8 @@
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
{assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}<img src="{$url->getTemplateFile("imgs/next.gif")}" alt="" /><a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a> | {/if}
{assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}<img src="{$url->getTemplateFile("imgs/previous.gif")}" alt="" /><a href="{$url->postPermalink($prevpost)}" title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a> | {/if}
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}) | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{/if}
Modified: templates/branches/lifetype-1.2/standard_red/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard_red/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard_red/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
<p class="footer">
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
<img src="{$url->getTemplateFile("imgs/permalink.gif")}" alt="" /><a title="{$locale->tr("permalink_title")} -> {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getTotalComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}){/if}</a> | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if}</a> | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{else}
@@ -22,8 +22,8 @@
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
{assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}<img src="{$url->getTemplateFile("imgs/next.gif")}" alt="" /><a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a> | {/if}
{assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}<img src="{$url->getTemplateFile("imgs/previous.gif")}" alt="" /><a href="{$url->postPermalink($prevpost)}" title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a> | {/if}
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}) | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{/if}
Modified: templates/branches/lifetype-1.2/standard_wine/post.template
===================================================================
--- templates/branches/lifetype-1.2/standard_wine/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/standard_wine/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -12,8 +12,8 @@
<p class="footer">
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
<img src="{$url->getTemplateFile("imgs/permalink.gif")}" alt="" /><a title="{$locale->tr("permalink_title")} -> {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getTotalComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}){/if}</a> | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" /><a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")|capitalize} -> {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if}</a> | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{else}
@@ -22,8 +22,8 @@
<img src="{$url->getTemplateFile("imgs/category.gif")}" alt="" />{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}" title="{$locale->tr("category")}: {$postCategory->getName()}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} |
{assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}<img src="{$url->getTemplateFile("imgs/next.gif")}" alt="" /><a href="{$url->postPermalink($nextpost)}" title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a> | {/if}
{assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}<img src="{$url->getTemplateFile("imgs/previous.gif")}" alt="" /><a href="{$url->postPermalink($prevpost)}" title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a> | {/if}
-{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getTotalComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getTotalComments()}) | {/if}
-<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }<img src="{$url->getTemplateFile("imgs/comment.gif")}" alt="" />{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if}
+<img src="{$url->getTemplateFile("imgs/trackback.gif")}" alt="" />{if $post->getNumTrackbacks() > 0}<a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")} -> {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>{else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}
</p>
{/if}
Modified: templates/branches/lifetype-1.2/toni/post.template
===================================================================
--- templates/branches/lifetype-1.2/toni/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/toni/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/toto/post.template
===================================================================
--- templates/branches/lifetype-1.2/toto/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/toto/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,9 +14,9 @@
<img alt="Permalink" src="{$url->getTemplateFile("post.gif")}" width="10" height="11" align="absmiddle" />
<a href="{$url->postPermalink($post)}" class="post">{$locale->tr("permalink")}</a> |
<img alt="Comments" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" align="absmiddle" />
- <a href="{$url->postPermalink($post)}" class="post">{$locale->tr("comments")}</a> ({$post->getTotalComments()}) |
+ <a href="{$url->postPermalink($post)}" class="post">{$locale->tr("comments")}</a> ({$post->getNumComments()}) |
<img alt="Trackback" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" align="absmiddle" />
- <a href="{$url->postTrackbackStatsLink($post)}" class="post">{$locale->tr("trackbacks")}</a> ({$post->getTotalTrackbacks()}) |
+ <a href="{$url->postTrackbackStatsLink($post)}" class="post">{$locale->tr("trackbacks")}</a> ({$post->getNumTrackbacks()}) |
{foreach name=categories from=$post->getCategories() item=postCategory}
<a href="{$url->categoryLink($postCategory)}" class="post">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
{/foreach}</td>
Modified: templates/branches/lifetype-1.2/tribal/post.template
===================================================================
--- templates/branches/lifetype-1.2/tribal/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/tribal/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -2,5 +2,5 @@
<p>{$post->getText()}</p>
{assign var="postDate" value=$post->getDateObject()}
{assign var="postOwner" value=$post->getUserInfo()}
- <div class="footerpost">{$locale->tr("posted_by")} <strong>{$postOwner->getUsername()}</strong>, {$locale->formatDate($postDate,"%d %B %Y %H:%M")} | {foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} | <a href="{$url->postLink($post)}">{$locale->tr("comment on this")}</a> ({$post->getTotalComments()}) | <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a></div>
+ <div class="footerpost">{$locale->tr("posted_by")} <strong>{$postOwner->getUsername()}</strong>, {$locale->formatDate($postDate,"%d %B %Y %H:%M")} | {foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach} | <a href="{$url->postLink($post)}">{$locale->tr("comment on this")}</a> ({$post->getNumComments()}) | <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a></div>
<br />
Modified: templates/branches/lifetype-1.2/tribal/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/tribal/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/tribal/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -2,13 +2,13 @@
{assign var="poster" value=$post->getUserInfo()}
<!-- {$url->postTrackbackLink($post)} -->
{include file="$blogtemplate/post.template"}
- {if $post->getTotalComments()!=0}
- <a name="comments" id="comments"></a>
+ {if $post->getNumComments()!=0}
+ <a name="comments" id="comments"></a>
<div class="commtitle">{$locale->tr("comments")}</div>
{/if}
{foreach from=$comments item=comment}
{assign var="commentDate" value=$comment->getDateObject()}
- <div class="commhead"><strong>{$comment->getTopic()}</strong> | {$comment->getUsername()} | {$locale->formatDate($commentDate, "%d/%m/%Y %H:%M")} | <a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a></div>
+ <div class="commhead"><strong>{$comment->getTopic()}</strong> | {$comment->getUsername()} | {$locale->formatDate($commentDate, "%d/%m/%Y %H:%M")} | <a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a></div>
<div class="commtext">{if $comment->IsPosterAuthenticated()}
{assign var=poster value=$comment->getUser()}
{if $poster->hasPicture()}
Modified: templates/branches/lifetype-1.2/v4ny8_lt/post.template
===================================================================
--- templates/branches/lifetype-1.2/v4ny8_lt/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/v4ny8_lt/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -11,8 +11,8 @@
</div>
<div style="text-align:center; margin-bottom: 25px; margin-left: 6px; font-size: 10px">
<a href="{$url->postPermalink($post)}"><img alt="{$locale->tr("permalink")}" src="{$url->getTemplateFile("post.gif")}" width="10" height="11" style="border: 0px; vertical-align: middle" /></a> |
- <a href="{$url->postTrackbackStatsLink($post)}"><img alt="{$locale->tr("trackbacks")} [{$post->getTotalTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px; vertical-align: middle" /></a> |
- <a href="{$url->postPermalink($post)}" style=" font-size: 10px; font-family:georgia, verdana, arial, sans-serif;"><img alt="{$locale->tr("comments")} [{$post->getTotalComments()}]" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px; vertical-align: middle;" /> {$locale->tr("comments")} [{$post->getTotalComments()}]</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}"><img alt="{$locale->tr("trackbacks")} [{$post->getNumTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px; vertical-align: middle" /></a> |
+ <a href="{$url->postPermalink($post)}" style=" font-size: 10px; font-family:georgia, verdana, arial, sans-serif;"><img alt="{$locale->tr("comments")} [{$post->getNumComments()}]" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px; vertical-align: middle;" /> {$locale->tr("comments")} [{$post->getNumComments()}]</a> |
{foreach name=categories from=$post->getCategories() item=postCategory}
<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
Modified: templates/branches/lifetype-1.2/v4nychristmas5/post.template
===================================================================
--- templates/branches/lifetype-1.2/v4nychristmas5/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/v4nychristmas5/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -7,7 +7,7 @@
<div class="postmetadata">Posted in {foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
- {/foreach} <strong>|</strong> <A href="{$url->postPermalink($post)}">permalink</a> <strong>|</strong> <a title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">Edit</a> <strong>|</strong> <a class="commentlink" href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </div>
+ {/foreach} <strong>|</strong> <A href="{$url->postPermalink($post)}">permalink</a> <strong>|</strong> <a title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">Edit</a> <strong>|</strong> <a class="commentlink" href="{$url->postPermalink($post)}#comments">Comments ({$post->getNumComments()})</A> </div>
<div class="data"><span class="pside2">Posted on : </span>{$locale->formatDate($postDate,"%m/%d,%Y")} <!-- by Administrator --></div>
<div class="entry">
<div class="ava"></div>
Modified: templates/branches/lifetype-1.2/v4nychristmas5/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/v4nychristmas5/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/v4nychristmas5/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -22,8 +22,8 @@
<DIV class=feedback>
<DIV class=meta>Posted by {$postOwner->getUsername()} at
{$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A> │
+ <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</A> │
+ <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
@@ -44,7 +44,7 @@
</DIV>
<!-- comments ................................. -->
- <h2 id="comments">{$post->getTotalComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
+ <h2 id="comments">{$post->getNumComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
<ol id="commentlist">
@@ -52,13 +52,13 @@
{foreach name=comment from=$comments item=comment}
<div class="singolocommento">
<li class="comment" id="comment-{$comment->getId()}">
- <p>{if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
-{/if}
+ <p>{if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+{/if}
{$comment->gettext()}</p>
<div><cite>Comment by <a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a> — {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")}</cite></div>
</LI>
Modified: templates/branches/lifetype-1.2/water_play/post.template
===================================================================
--- templates/branches/lifetype-1.2/water_play/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/water_play/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -21,12 +21,12 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
Modified: templates/branches/lifetype-1.2/white/post.template
===================================================================
--- templates/branches/lifetype-1.2/white/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/white/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -8,5 +8,5 @@
<a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
({foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach})
:: <a href="{$url->postPermalink($post)}">{$locale->tr("comment")}
-({$post->getTotalComments()})</a>
+({$post->getNumComments()})</a>
</div>
Modified: templates/branches/lifetype-1.2/wordplog/plugin_stickyposts.inc
===================================================================
--- templates/branches/lifetype-1.2/wordplog/plugin_stickyposts.inc 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/wordplog/plugin_stickyposts.inc 2007-03-15 18:17:19 UTC (rev 5094)
@@ -4,6 +4,6 @@
{foreach from=$stickyposts item=stickypost}
{assign var="stickypostDate" value=$stickypost->getDateObject()}
{assign var="stickypostOwner" value=$stickypost->getUserInfo()}
- <li><a href="{$url->postLink($stickypost)}" title="{$locale->tr("permalink")}: {$stickypost->getTopic()}">{$stickypost->getTopic()} ({$stickypost->getTotalComments()})</a> by {$stickypostOwner->getUsername()} @ {$locale->formatDate($stickypostDate,"%Y/%m/%d")}</li>
+ <li><a href="{$url->postLink($stickypost)}" title="{$locale->tr("permalink")}: {$stickypost->getTopic()}">{$stickypost->getTopic()} ({$stickypost->getNumComments()})</a> by {$stickypostOwner->getUsername()} @ {$locale->formatDate($stickypostDate,"%Y/%m/%d")}</li>
{/foreach}
</ul>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/wordplog/plugin_toprank.inc
===================================================================
--- templates/branches/lifetype-1.2/wordplog/plugin_toprank.inc 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/wordplog/plugin_toprank.inc 2007-03-15 18:17:19 UTC (rev 5094)
@@ -14,7 +14,7 @@
<ul>
{assign var=commentposts value=$topcommentposts->getTopCommentPosts()}
{foreach from=$commentposts item=commentpost}
- <li><a title="{$commentpost->getText()|replace:"\n":""|strip_tags|truncate:144:"..."|escape}" href="{$url->postLink($commentpost)}">{$commentpost->getTopic()}</a> ({$commentpost->getTotalComments()} {#locale_comments#})</li>
+ <li><a title="{$commentpost->getText()|replace:"\n":""|strip_tags|truncate:144:"..."|escape}" href="{$url->postLink($commentpost)}">{$commentpost->getTopic()}</a> ({$commentpost->getNumComments()} {#locale_comments#})</li>
{/foreach}
</ul></li>
{/if}
Modified: templates/branches/lifetype-1.2/wordplog/post.template
===================================================================
--- templates/branches/lifetype-1.2/wordplog/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/wordplog/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -15,7 +15,7 @@
</div>
<div class="feedback">
- <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")}: {$post->getTopic()|escape}">{$locale->tr("comments")} ({$post->getTotalComments()})</a>
+ <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comments")}: {$post->getTopic()|escape}">{$locale->tr("comments")} ({$post->getNumComments()})</a>
:: <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}: {$post->getTopic()|escape}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
{if #karma# == 1}
:: {include file="$blogtemplate/plugin_karma.inc"}
Modified: templates/branches/lifetype-1.2/wordplog/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/wordplog/postandcomments.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/wordplog/postandcomments.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -50,7 +50,7 @@
</li>
{/if}
{/foreach}
-{if $post->getTotalComments() == 0}
+{if $post->getNumComments() == 0}
<li style="visibility: hidden; display: none;"> </li>
{/if}
</ol>
Modified: templates/branches/lifetype-1.2/zen/post.template
===================================================================
--- templates/branches/lifetype-1.2/zen/post.template 2007-03-15 06:53:11 UTC (rev 5093)
+++ templates/branches/lifetype-1.2/zen/post.template 2007-03-15 18:17:19 UTC (rev 5094)
@@ -19,11 +19,11 @@
</div>
<div class="feedback">
<a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+ {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
</a> |
- {if $post->getTotalTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
{else}
- {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
{/if}
</div>
\ No newline at end of file
More information about the pLog-svn
mailing list