summaryrefslogtreecommitdiff
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
commitd0334d15ac41784d7c0178ef34a54630371c0a29 (patch)
treea370b49f3082ce7ddf75a3d3444d9deb799e96ab
parent6453732ec543d26b380b519002eaab11580c1a03 (diff)
downloadboards-d0334d15ac41784d7c0178ef34a54630371c0a29.tar.gz
boards-d0334d15ac41784d7c0178ef34a54630371c0a29.tar.bz2
boards-d0334d15ac41784d7c0178ef34a54630371c0a29.zip
use ->getTitle() method instead of ->mInfo.title in templates to allow for cleaner polymorphism
-rw-r--r--templates/board_edit.tpl6
-rw-r--r--templates/list_posts.tpl4
-rw-r--r--templates/list_topics.tpl4
3 files changed, 7 insertions, 7 deletions
diff --git a/templates/board_edit.tpl b/templates/board_edit.tpl
index 4e2e85c..e890871 100644
--- a/templates/board_edit.tpl
+++ b/templates/board_edit.tpl
@@ -1,15 +1,15 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/board_edit.tpl,v 1.10 2009/01/20 22:18:07 dansut Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/board_edit.tpl,v 1.11 2010/02/02 22:02:21 spiderr Exp $ *}
{strip}
<div class="floaticon">{bithelp}</div>
<div class="admin boards">
{if $preview}
- <h2>Preview {$gContent->mInfo.title|escape}</h2>
+ <h2>Preview {$gContent->getTitle()|escape}</h2>
<div class="preview">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav' serviceHash=$gContent->mInfo}
<div class="display boards">
<div class="header">
- <h1>{$gContent->mInfo.title|escape|default:"Board"}</h1>
+ <h1>{$gContent->getTitle()|escape|default:"Board"}</h1>
</div><!-- end .header -->
<div class="body">
diff --git a/templates/list_posts.tpl b/templates/list_posts.tpl
index be60c57..4509f32 100644
--- a/templates/list_posts.tpl
+++ b/templates/list_posts.tpl
@@ -1,10 +1,10 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.20 2009/10/08 22:20:30 wjames5 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.21 2010/02/02 22:02:21 spiderr Exp $ *}
{strip}
<div class="listing boards">
<div class="navbar">
<div class="boards breadcrumb">
- <a href="{$smarty.const.BOARDS_PKG_URL}">{tr}Message Boards{/tr}</a> &raquo; <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a>
+ <a href="{$smarty.const.BOARDS_PKG_URL}">{tr}Message Boards{/tr}</a> &raquo; <a href="{$board->mInfo.display_url}">{$board->getTitle()|escape}</a>
</div>
</div>
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl
index 0edd83d..a4c0281 100644
--- a/templates/list_topics.tpl
+++ b/templates/list_topics.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.34 2009/10/08 22:20:30 wjames5 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.35 2010/02/02 22:02:21 spiderr Exp $ *}
{strip}
<div class="listing boards">
<div class="navbar">
@@ -26,7 +26,7 @@
</div><!-- end .floaticon -->
<div class="header">
- <h1>{$board->mInfo.title|escape|default:"Message Board Topic"}</h1>
+ <h1>{$board->getTitle()|escape|default:"Message Board Topic"}</h1>
{if $board->mInfo.parsed_data}
<p>{$board->mInfo.parsed_data}</p>
{/if}