summaryrefslogtreecommitdiff
path: root/templates/view_blog_post.tpl
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-04-18 03:13:55 +0000
committerChristian Fowler <spider@viovio.com>2008-04-18 03:13:55 +0000
commit2c3df7b00a3a337b93943b30713c50afbc6b01f0 (patch)
treef9299401713b14617b04818d54c16d24c76ce9aa /templates/view_blog_post.tpl
parent5ebe0d3e50023c13afe00ceda6691f19d4165e43 (diff)
downloadblogs-2c3df7b00a3a337b93943b30713c50afbc6b01f0.tar.gz
blogs-2c3df7b00a3a337b93943b30713c50afbc6b01f0.tar.bz2
blogs-2c3df7b00a3a337b93943b30713c50afbc6b01f0.zip
fix capitalization, use gBitUser->hasPermission('p_blogs_send_post') since this is a system level check on this permission due to possible abuse
Diffstat (limited to 'templates/view_blog_post.tpl')
-rw-r--r--templates/view_blog_post.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index 655371f..92719c5 100644
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -26,12 +26,12 @@
{/if}
{if $gContent->hasUserPermission( 'p_blogs_admin' )}
- <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="mail-attachment" iexplain="crosspost"}</a>
+ <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="mail-attachment" iexplain="Crosspost"}</a>
{/if}
- <a title="{tr}print{/tr}" style="display:none;" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" iexplain="print"}</a>
- {if $gContent->hasUserPermission('p_blogs_send_post')}
- <a title="{tr}email this post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="mail-forward" iexplain="email this post"}</a>
+ <a title="{tr}Print{/tr}" style="display:none;" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" iexplain="Print"}</a>
+ {if $gBitUser->hasPermission('p_blogs_send_post')}
+ <a title="{tr}Email This Post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="mail-forward" iexplain="Email This Post"}</a>
{/if}
{if $gContent->hasEditPermission()}