summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-02-02 22:02:21 +0000
committerChristian Fowler <spider@viovio.com>2010-02-02 22:02:21 +0000
commitc52525ac4f683cdac7e4a64c8f28305d9d6114c8 (patch)
treeed30637bb97ce76c1d7b32537f5bd8b0ea34f8ea /templates
parent6485be72a6e7f41b670e92b1ed691aed56ae160c (diff)
downloadblogs-c52525ac4f683cdac7e4a64c8f28305d9d6114c8.tar.gz
blogs-c52525ac4f683cdac7e4a64c8f28305d9d6114c8.tar.bz2
blogs-c52525ac4f683cdac7e4a64c8f28305d9d6114c8.zip
use ->getTitle() method instead of ->mInfo.title in templates to allow for cleaner polymorphism
Diffstat (limited to 'templates')
-rw-r--r--templates/crosspost.tpl4
-rw-r--r--templates/view_blog_post.tpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl
index 6c0c24a..20d3fc9 100644
--- a/templates/crosspost.tpl
+++ b/templates/crosspost.tpl
@@ -83,13 +83,13 @@
<div class="navigation">
{if $gContent_previous}
<span class="left">
- Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->mInfo.title|escape}</a>
+ Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->getTitle()|escape}</a>
</span>
{/if}
{if $gContent_next}
<span class="right">
- Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->mInfo.title|escape}</a>
+ Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->getTitle()|escape}</a>
</span>
{/if}
</div>
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index 6291a86..70e9c00 100644
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -52,13 +52,13 @@
<div class="navigation">
{if $gContent_previous}
<span class="left">
- Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->mInfo.title|escape}</a>
+ Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->getTitle()|escape}</a>
</span>
{/if}
{if $gContent_next}
<span class="right">
- Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->mInfo.title|escape}</a>
+ Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->getTitle()|escape}</a>
</span>
{/if}
</div>