diff options
| author | Christian Fowler <spider@viovio.com> | 2010-02-02 22:02:21 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2010-02-02 22:02:21 +0000 |
| commit | c52525ac4f683cdac7e4a64c8f28305d9d6114c8 (patch) | |
| tree | ed30637bb97ce76c1d7b32537f5bd8b0ea34f8ea /templates/view_blog_post.tpl | |
| parent | 6485be72a6e7f41b670e92b1ed691aed56ae160c (diff) | |
| download | blogs-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/view_blog_post.tpl')
| -rw-r--r-- | templates/view_blog_post.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
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> |
