summaryrefslogtreecommitdiff
path: root/templates/list_topics.tpl
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-04-17 01:01:08 +0000
committerwjames5 <will@tekimaki.com>2008-04-17 01:01:08 +0000
commit63b6f9c1048f058548277b5e4da0a3b9bc238c51 (patch)
tree6072bee59346282263e7d720dcefc7a9c31a1ed5 /templates/list_topics.tpl
parentde0eded9800827990673608c99bc3eab62095363 (diff)
downloadboards-63b6f9c1048f058548277b5e4da0a3b9bc238c51.tar.gz
boards-63b6f9c1048f058548277b5e4da0a3b9bc238c51.tar.bz2
boards-63b6f9c1048f058548277b5e4da0a3b9bc238c51.zip
fix perm check to see mailing list subscription icon
Diffstat (limited to 'templates/list_topics.tpl')
-rw-r--r--templates/list_topics.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl
index fb37511..12e915c 100644
--- a/templates/list_topics.tpl
+++ b/templates/list_topics.tpl
@@ -1,9 +1,9 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.16 2008/04/11 17:37:00 spiderr Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_topics.tpl,v 1.17 2008/04/17 01:01:08 wjames5 Exp $ *}
{strip}
<div class="listing boards">
<div class="floaticon">
{if $print_page ne 'y'}
- {if $gBitUser->hasPermission( 'p_boards_edit' )}
+ {if $groupContent->getPreference('boards_mailing_list') || $groupContent->hasAdminPermission()}
<a class="item" href="{$smarty.const.BOARDS_PKG_URL}mailing_list.php?b={$board->mInfo.board_id}" title="{tr}Message Board Mailing List{/tr}">{biticon ipackage="icons" iname="internet-mail" iexplain="Edit Message Board"}</a>
{/if}
{if $gBitUser->hasPermission( 'p_boards_edit' )}