[pLog-svn] r3781 - in templates/trunk/unported: Blix Boxed Boxed-Green andreas-2-columns andreas-3-columns aquasoft aubmach blorange blufill bubble-blue buddha buggy cab

reto at devel.lifetype.net reto at devel.lifetype.net
Mon Jul 24 02:30:45 GMT 2006


Author: reto
Date: 2006-07-24 02:30:37 +0000 (Mon, 24 Jul 2006)
New Revision: 3781

Modified:
   templates/trunk/unported/Blix/album.template
   templates/trunk/unported/Blix/main.template
   templates/trunk/unported/Blix/postandcomments.template
   templates/trunk/unported/Boxed-Green/album.template
   templates/trunk/unported/Boxed-Green/main.template
   templates/trunk/unported/Boxed-Green/post.template
   templates/trunk/unported/Boxed/album.template
   templates/trunk/unported/Boxed/main.template
   templates/trunk/unported/Boxed/post.template
   templates/trunk/unported/andreas-2-columns/album.template
   templates/trunk/unported/andreas-2-columns/main.template
   templates/trunk/unported/andreas-2-columns/post.template
   templates/trunk/unported/andreas-2-columns/postandcomments.template
   templates/trunk/unported/andreas-3-columns/album.template
   templates/trunk/unported/andreas-3-columns/main.template
   templates/trunk/unported/andreas-3-columns/post.template
   templates/trunk/unported/andreas-3-columns/postandcomments.template
   templates/trunk/unported/aquasoft/album.template
   templates/trunk/unported/aquasoft/header.template
   templates/trunk/unported/aquasoft/main.template
   templates/trunk/unported/aquasoft/post.template
   templates/trunk/unported/aquasoft/postandcomments.template
   templates/trunk/unported/aubmach/album.template
   templates/trunk/unported/aubmach/main.template
   templates/trunk/unported/aubmach/post.template
   templates/trunk/unported/blorange/album.template
   templates/trunk/unported/blorange/main.template
   templates/trunk/unported/blorange/post.template
   templates/trunk/unported/blufill/album.template
   templates/trunk/unported/blufill/main.template
   templates/trunk/unported/blufill/post.template
   templates/trunk/unported/bubble-blue/album.template
   templates/trunk/unported/bubble-blue/main.template
   templates/trunk/unported/bubble-blue/post.template
   templates/trunk/unported/buddha/album.template
   templates/trunk/unported/buddha/main.template
   templates/trunk/unported/buddha/post.template
   templates/trunk/unported/buggy/album.template
   templates/trunk/unported/buggy/main.template
   templates/trunk/unported/buggy/post.template
   templates/trunk/unported/cab/album.template
   templates/trunk/unported/cab/main.template
   templates/trunk/unported/cab/post.template
Log:
porting to 1.1 ...

Modified: templates/trunk/unported/Blix/album.template
===================================================================
--- templates/trunk/unported/Blix/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Blix/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -30,7 +30,6 @@
 				{/if}
 				{/foreach}
 				<!--- show the resources here -->
-				{assign var=resources value=$album->getResources()}
 				{foreach from=$resources item=resource}
 					<td style="width:25%;" align="center" >
 					{if $resource->hasPreview()}
@@ -78,6 +77,7 @@
 				</tr>
 			</table>
  <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
  {include file="$blogtemplate/links.template"}
  {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/Blix/main.template
===================================================================
--- templates/trunk/unported/Blix/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Blix/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -10,11 +10,13 @@
 			{assign var="postDate" value=$post->getDateObject()}
 			{$locale->formatDate($postDate,"%Y.%B%d")} <a href="{$url->postPermalink($post)}">{$post->getTopic()}</a><br/>
 		{/foreach}
+        
 	</div>
 	{else}
 		{foreach from=$posts item=post}
 			{include file="$blogtemplate/post.template"}
 		{/foreach}
 	{/if}
+    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 {include file="$blogtemplate/links.template"}
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/trunk/unported/Blix/postandcomments.template
===================================================================
--- templates/trunk/unported/Blix/postandcomments.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Blix/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -25,7 +25,7 @@
 		<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->getNumTrackbacks()})</A>,
+			<A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</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}

Modified: templates/trunk/unported/Boxed/album.template
===================================================================
--- templates/trunk/unported/Boxed/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -33,7 +33,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -80,7 +79,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
 </div>
 {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/Boxed/main.template
===================================================================
--- templates/trunk/unported/Boxed/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -1,12 +1,15 @@
 {include file="$blogtemplate/header.template"}
  {foreach from=$posts item=post}
    {assign var="postDate" value=$post->getDateObject()}
+   {literal}<!-- *** this needs to get fixed... ***
    {if $prevDay != $postDate->getDay()}
     <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
    {/if}
+   -->{/literal}
    <div class="blogbody">
-   {assign var="prevDay" value=$post->getDay()}
+   {literal}<!-- *** this needs to get fixed... *** {assign var="prevDay" value=$post->getDay()} -->{/literal}
    {include file="$blogtemplate/post.template"}
    </div>
  {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/Boxed/post.template
===================================================================
--- templates/trunk/unported/Boxed/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -19,6 +19,6 @@
 <a href="{$url->postPermalink($post)}">
    {$locale->tr("permalink")}</a> ::
 <a href="{$url->postTrackbackStatsLink($post)}">
-   {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+   {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
 
 </div>

Modified: templates/trunk/unported/Boxed-Green/album.template
===================================================================
--- templates/trunk/unported/Boxed-Green/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed-Green/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -33,7 +33,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -80,7 +79,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
 </div>
 {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/Boxed-Green/main.template
===================================================================
--- templates/trunk/unported/Boxed-Green/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed-Green/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -1,12 +1,15 @@
 {include file="$blogtemplate/header.template"}
  {foreach from=$posts item=post}
    {assign var="postDate" value=$post->getDateObject()}
+   {literal}<!-- *** this needs to get fixed... ***
    {if $prevDay != $postDate->getDay()}
     <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
    {/if}
+   -->{/literal}
    <div class="blogbody">
-   {assign var="prevDay" value=$post->getDay()}
+   {literal}<!-- *** this needs to get fixed... *** {assign var="prevDay" value=$post->getDay()} -->{/literal}
    {include file="$blogtemplate/post.template"}
    </div>
  {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/Boxed-Green/post.template
===================================================================
--- templates/trunk/unported/Boxed-Green/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/Boxed-Green/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -19,6 +19,6 @@
 <a href="{$url->postPermalink($post)}">
    {$locale->tr("permalink")}</a> ::
 <a href="{$url->postTrackbackStatsLink($post)}">
-   {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+   {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
 
 </div>

Modified: templates/trunk/unported/andreas-2-columns/album.template
===================================================================
--- templates/trunk/unported/andreas-2-columns/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-2-columns/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -34,7 +34,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -81,6 +80,7 @@
  <td></td></tr>
 </table>
  <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
  
  {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/andreas-2-columns/main.template
===================================================================
--- templates/trunk/unported/andreas-2-columns/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-2-columns/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -6,4 +6,6 @@
   {include file="$blogtemplate/post.template"}
  {/foreach}
  </div>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ 
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/trunk/unported/andreas-2-columns/post.template
===================================================================
--- templates/trunk/unported/andreas-2-columns/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-2-columns/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -12,7 +12,7 @@
 		<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->getNumTrackbacks()})</a>.
+	{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
 	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	
 </p>
 

Modified: templates/trunk/unported/andreas-2-columns/postandcomments.template
===================================================================
--- templates/trunk/unported/andreas-2-columns/postandcomments.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-2-columns/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -19,7 +19,7 @@
 			<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->getNumTrackbacks()})</a>.
+		{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</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/trunk/unported/andreas-3-columns/album.template
===================================================================
--- templates/trunk/unported/andreas-3-columns/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-3-columns/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -35,7 +35,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -82,6 +81,7 @@
  <td></td></tr>
 </table>
  <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
  
  {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/andreas-3-columns/main.template
===================================================================
--- templates/trunk/unported/andreas-3-columns/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-3-columns/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -7,4 +7,6 @@
   {include file="$blogtemplate/post.template"}
  {/foreach}
  </div>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div><br/>
+ 
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/trunk/unported/andreas-3-columns/post.template
===================================================================
--- templates/trunk/unported/andreas-3-columns/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-3-columns/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -12,7 +12,7 @@
 		<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->getNumTrackbacks()})</a>.
+	{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
 	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	
 </p>
 

Modified: templates/trunk/unported/andreas-3-columns/postandcomments.template
===================================================================
--- templates/trunk/unported/andreas-3-columns/postandcomments.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/andreas-3-columns/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -20,7 +20,7 @@
 			<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->getNumTrackbacks()})</a>.
+		{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</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/trunk/unported/aquasoft/album.template
===================================================================
--- templates/trunk/unported/aquasoft/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aquasoft/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -49,7 +49,6 @@
 
 	  <!--- show the resources here -->
 
-	  {assign var=resources value=$album->getResources()}
 	  {foreach from=$resources item=resource}
 	  <td style="width:25%;" align="center" >
 	    {if $resource->hasPreview()}
@@ -96,7 +95,7 @@
 	<td></td></tr>
       </table>  
       <!-- end of album contents -->
-      
+      <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
     </div>
   </div>
 

Modified: templates/trunk/unported/aquasoft/header.template
===================================================================
--- templates/trunk/unported/aquasoft/header.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aquasoft/header.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -47,7 +47,6 @@
 		    <li><img src="{$url->getTemplateFile('images/navsep2.gif')}" alt="" /></li>
 		    <li id="tbres"><a href="{$url->getBaseUrl(false)}/admin.php">{$locale->tr("admin")}</a></li>
 		    <li id="tbforum"><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
-		    <li id="tbdisc"><a href="{$url->guestBookLink()}">{$locale->tr("my_guestbook")}</a></li>
 		    <li id="tbabout"><a href="http://www.aqua-soft.org/">{$locale->tr("about")}</a></li>
 		  </ul>
 		</td>

Modified: templates/trunk/unported/aquasoft/main.template
===================================================================
--- templates/trunk/unported/aquasoft/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aquasoft/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -8,6 +8,9 @@
       {include file="$blogtemplate/post.template"}
       {/foreach}
     </div>
+    
+    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+    
   </td>
 
 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/aquasoft/post.template
===================================================================
--- templates/trunk/unported/aquasoft/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aquasoft/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -18,7 +18,7 @@
     <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->getNumTrackbacks()})</a>
+    <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
     
     </p>
   </div>

Modified: templates/trunk/unported/aquasoft/postandcomments.template
===================================================================
--- templates/trunk/unported/aquasoft/postandcomments.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aquasoft/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -58,7 +58,7 @@
 
   <div>
     {if $post->getComments()}
-    <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")}  &amp; {$post->getNumTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
+    <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")}  &amp; {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$post->getTopic()}" </h3>
     {foreach from=$post->getComments() item=comment}
     <ol class="commentlist">
       <a name="{$comment->getId()}"></a><p>{$comment->getText()}</p>

Modified: templates/trunk/unported/aubmach/album.template
===================================================================
--- templates/trunk/unported/aubmach/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aubmach/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -45,7 +45,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -92,7 +91,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 
 
  </div>

Modified: templates/trunk/unported/aubmach/main.template
===================================================================
--- templates/trunk/unported/aubmach/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aubmach/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -6,6 +6,8 @@
     {include file="$blogtemplate/post.template"}
   </div>
  {/foreach}
+ 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 </div>
 
 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/aubmach/post.template
===================================================================
--- templates/trunk/unported/aubmach/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/aubmach/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -20,9 +20,9 @@
     <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}
     </a> |
-	{if $post->getNumTrackbacks() > 0}
-	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
 	{else}
-	  {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
 	{/if} 
 </div>

Modified: templates/trunk/unported/blorange/album.template
===================================================================
--- templates/trunk/unported/blorange/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blorange/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -45,7 +45,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -92,7 +91,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
 </div>
 

Modified: templates/trunk/unported/blorange/main.template
===================================================================
--- templates/trunk/unported/blorange/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blorange/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -6,6 +6,7 @@
     {include file="$blogtemplate/post.template"}
   </div>
  {/foreach}
+ <br/><div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 </div>
 
 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/blorange/post.template
===================================================================
--- templates/trunk/unported/blorange/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blorange/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -23,10 +23,10 @@
     <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}
     </a> |
-	{if $post->getNumTrackbacks() > 0}
-	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
 	{else}
-	  {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
 	{/if}
 </div>    
 

Modified: templates/trunk/unported/blufill/album.template
===================================================================
--- templates/trunk/unported/blufill/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blufill/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -47,7 +47,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:50%;" align="center" >
   {if $resource->hasPreview()}
@@ -94,7 +93,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
 </div>
 </td> 

Modified: templates/trunk/unported/blufill/main.template
===================================================================
--- templates/trunk/unported/blufill/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blufill/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -7,6 +7,7 @@
 						  {include file="$blogtemplate/post.template"} 
             {/foreach} 
 					</div>
+                    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
         </div></td>
       <td valign="top" style="border-right:1px solid #EAEAEA;">
 			 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/blufill/post.template
===================================================================
--- templates/trunk/unported/blufill/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/blufill/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -9,7 +9,7 @@
 	 </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->getNumTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" 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> | 
 
 		  {foreach name=categories from=$post->getCategories() item=postCategory}

Modified: templates/trunk/unported/bubble-blue/album.template
===================================================================
--- templates/trunk/unported/bubble-blue/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/bubble-blue/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -33,7 +33,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -81,5 +80,5 @@
 </table>
 </div>
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/bubble-blue/main.template
===================================================================
--- templates/trunk/unported/bubble-blue/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/bubble-blue/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -2,4 +2,6 @@
  {foreach from=$posts item=post}
   {include file="$blogtemplate/post.template"}
  {/foreach}
+ <br/>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/trunk/unported/bubble-blue/post.template
===================================================================
--- templates/trunk/unported/bubble-blue/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/bubble-blue/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -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->getNumTrackbacks()})</a> 
+ :: <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> 
 </div>

Modified: templates/trunk/unported/buddha/album.template
===================================================================
--- templates/trunk/unported/buddha/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buddha/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -45,7 +45,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -92,7 +91,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  </div>
 </div>
 

Modified: templates/trunk/unported/buddha/main.template
===================================================================
--- templates/trunk/unported/buddha/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buddha/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -6,6 +6,7 @@
     {include file="$blogtemplate/post.template"}
   </div>
  {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 </div>
 
 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/buddha/post.template
===================================================================
--- templates/trunk/unported/buddha/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buddha/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -23,10 +23,10 @@
     <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}
     </a> |
-	{if $post->getNumTrackbacks() > 0}
-	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
 	{else}
-	  {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
 	{/if}
 </div>    
 

Modified: templates/trunk/unported/buggy/album.template
===================================================================
--- templates/trunk/unported/buggy/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buggy/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -33,7 +33,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -81,5 +80,5 @@
 </table>
 </div>
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
  {include file="$blogtemplate/footer.template"}

Modified: templates/trunk/unported/buggy/main.template
===================================================================
--- templates/trunk/unported/buggy/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buggy/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -2,4 +2,5 @@
  {foreach from=$posts item=post}
   {include file="$blogtemplate/post.template"}
  {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/trunk/unported/buggy/post.template
===================================================================
--- templates/trunk/unported/buggy/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/buggy/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -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->getNumTrackbacks()})</a></span>
+<span class="shadedark"><a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a></span>
 <p>
  {$post->getText()}
 </p>
\ No newline at end of file

Modified: templates/trunk/unported/cab/album.template
===================================================================
--- templates/trunk/unported/cab/album.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/cab/album.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -45,7 +45,6 @@
 
  <!--- show the resources here -->
 
- {assign var=resources value=$album->getResources()}
  {foreach from=$resources item=resource}
   <td style="width:25%;" align="center" >
   {if $resource->hasPreview()}
@@ -92,7 +91,7 @@
  <td></td></tr>
 </table>  
  <!-- end of album contents -->
- 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div><br/>
  </div>
 </div>
 

Modified: templates/trunk/unported/cab/main.template
===================================================================
--- templates/trunk/unported/cab/main.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/cab/main.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -6,6 +6,7 @@
     {include file="$blogtemplate/post.template"}
   </div>
  {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
 </div>
 
 {include file="$blogtemplate/panel.template"}

Modified: templates/trunk/unported/cab/post.template
===================================================================
--- templates/trunk/unported/cab/post.template	2006-07-24 01:26:39 UTC (rev 3780)
+++ templates/trunk/unported/cab/post.template	2006-07-24 02:30:37 UTC (rev 3781)
@@ -23,10 +23,10 @@
     <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}
     </a> |
-	{if $post->getNumTrackbacks() > 0}
-	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
 	{else}
-	  {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
 	{/if}
 </div>    
 



More information about the pLog-svn mailing list