summaryrefslogtreecommitdiff
path: root/templates/view_edition.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:12:43 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:12:43 +0000
commit9dee21c6981e7f5c6a683b6ed98d15b70ca57d42 (patch)
treeaf1bab1bf014d49dd478dfa6f2d97941a13af709 /templates/view_edition.tpl
parentac4c2f886d616cf71575e6923c200eee0d249125 (diff)
downloadnewsletters-9dee21c6981e7f5c6a683b6ed98d15b70ca57d42.tar.gz
newsletters-9dee21c6981e7f5c6a683b6ed98d15b70ca57d42.tar.bz2
newsletters-9dee21c6981e7f5c6a683b6ed98d15b70ca57d42.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.
Diffstat (limited to 'templates/view_edition.tpl')
-rwxr-xr-xtemplates/view_edition.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/view_edition.tpl b/templates/view_edition.tpl
index 0d5525f..ba5d4e0 100755
--- a/templates/view_edition.tpl
+++ b/templates/view_edition.tpl
@@ -6,7 +6,7 @@
{if $gBitUser->hasPermission('p_newsletters_admin')}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}admin/send.php?edition_id={$gContent->mEditionId}">{booticon iname="icon-envelope" ipackage="icons" iexplain="email this post"}</a>
{/if}
- {if $gContent->isOwner() or $gBitUser->hasPermission( 'p_newsletters_admin' )}
+ {if $gContent->isOwner() || $gBitUser->hasPermission( 'p_newsletters_admin' )}
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition_edit.php?edition_id={$gContent->mEditionId}">{booticon iname="icon-edit" ipackage="icons" iexplain="edit"}</a>
<a href="{$smarty.const.NEWSLETTERS_PKG_URL}edition.php?edition_id={$gContent->mEditionId}&amp;remove=1">{booticon iname="icon-trash" ipackage="icons" iexplain="delete"}</a>
{/if}