summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-01-21 22:50:43 +0000
committerChristian Fowler <spider@viovio.com>2006-01-21 22:50:43 +0000
commitb484e055a2d91d63b88d978b035c3047dd458b79 (patch)
treee618240403306ff24e20e62517ea953d11cbe5fc
parentbe899c4d9df1fe53df1206d37970a19d47568057 (diff)
downloadnewsletters-b484e055a2d91d63b88d978b035c3047dd458b79.tar.gz
newsletters-b484e055a2d91d63b88d978b035c3047dd458b79.tar.bz2
newsletters-b484e055a2d91d63b88d978b035c3047dd458b79.zip
admin perm typos
-rw-r--r--templates/view_edition.tpl2
-rw-r--r--templates/view_newsletter.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/view_edition.tpl b/templates/view_edition.tpl
index c9b4aaf..ec77519 100644
--- a/templates/view_edition.tpl
+++ b/templates/view_edition.tpl
@@ -3,7 +3,7 @@
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon'}
- {if $gContent->isOwner() || $gBitUser->hasPermission( 'bit_p_newsletter_admin' )}
+ {if $gContent->isOwner() || $gBitUser->hasPermission( 'bit_p_admin_newsletters' )}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition_edit.php?edition_id={$gContent->mEditionId}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition_edit.php?edition_id={$gContent->mEditionId}&amp;remove=1">{biticon ipackage=liberty iname="delete" iexplain="delete"}</a>
{/if}
diff --git a/templates/view_newsletter.tpl b/templates/view_newsletter.tpl
index 881ebad..80340d2 100644
--- a/templates/view_newsletter.tpl
+++ b/templates/view_newsletter.tpl
@@ -2,7 +2,7 @@
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon'}
- {if $gContent->isOwner() || $gBitUser->hasPermission( 'bit_p_newsletter_admin' )}
+ {if $gContent->isOwner() || $gBitUser->hasPermission( 'bit_p_admin_newsletters' )}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?nl_id={$gContent->mNewsletterId}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/index.php?nl_id={$gContent->mNewsletterId}&amp;remove=1">{biticon ipackage=liberty iname="delete" iexplain="delete"}</a>
{/if}