summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2010-06-14 13:25:49 -0400
committerspiderr <spider@viovio.com>2010-06-14 13:25:49 -0400
commit3ca25c586543a18566558f5b4e7102b07d785213 (patch)
tree64856dde1539a2e8e69ae27925810bb8daddd7c2
parentf1ca50fe5c4dbfde24202a2f682a110cf517d046 (diff)
downloadboards-3ca25c586543a18566558f5b4e7102b07d785213.tar.gz
boards-3ca25c586543a18566558f5b4e7102b07d785213.tar.bz2
boards-3ca25c586543a18566558f5b4e7102b07d785213.zip
use smarty.const.BOARDS_PKG_DIR as the header title on full list if the directory name has been changed
-rw-r--r--templates/list_boards.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_boards.tpl b/templates/list_boards.tpl
index b519641..1729117 100644
--- a/templates/list_boards.tpl
+++ b/templates/list_boards.tpl
@@ -2,7 +2,7 @@
{strip}
<div class="listing boards">
<div class="header">
- <h1>{tr}Message Boards{/tr}</h1>
+ <h1>{tr}{if $smarty.const.BOARDS_PKG_DIR != 'boards'}{$smarty.const.BOARDS_PKG_DIR|ucfirst}{else}Message Boards{/if}{/tr}</h1>
</div>
<div class="body">