[pLog-svn] r1182 - plog/trunk/templates/grey
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Feb 24 01:41:28 GMT 2005
Author: jondaley
Date: 2005-02-24 01:41:28 +0000 (Thu, 24 Feb 2005)
New Revision: 1182
Modified:
plog/trunk/templates/grey/postandcomments.template
Log:
updated template to 1.0
Modified: plog/trunk/templates/grey/postandcomments.template
===================================================================
--- plog/trunk/templates/grey/postandcomments.template 2005-02-24 01:41:10 UTC (rev 1181)
+++ plog/trunk/templates/grey/postandcomments.template 2005-02-24 01:41:28 UTC (rev 1182)
@@ -3,9 +3,11 @@
{include file="$blogtemplate/header.template"}
<p style="text-align: center">
{* I am not so keen on using if's in templates, but can't think of another way... *}
+ {assign var=nextpost value=$post->getNextArticle()}
{if $nextpost == true}
<a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">«</a> |
{/if}
+ {assign var=prevpost value=$post->getPrevArticle()}
{if $prevpost == true}
<a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">»</a>
{/if}
More information about the pLog-svn
mailing list