summaryrefslogtreecommitdiff
path: root/templates/edit_blogpost_status_inc.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:05:50 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:05:50 +0000
commitcfab2d260228ae64b513a6acc8f837c666f53c05 (patch)
treeff4eaef383604811f119ea7be24bf69dcccbe1cd /templates/edit_blogpost_status_inc.tpl
parent07c5b75e3c0a2c3d8156e98cf3a112537586c084 (diff)
downloadblogs-cfab2d260228ae64b513a6acc8f837c666f53c05.tar.gz
blogs-cfab2d260228ae64b513a6acc8f837c666f53c05.tar.bz2
blogs-cfab2d260228ae64b513a6acc8f837c666f53c05.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/edit_blogpost_status_inc.tpl')
-rwxr-xr-xtemplates/edit_blogpost_status_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_blogpost_status_inc.tpl b/templates/edit_blogpost_status_inc.tpl
index 207d9e0..ca4fb03 100755
--- a/templates/edit_blogpost_status_inc.tpl
+++ b/templates/edit_blogpost_status_inc.tpl
@@ -1,4 +1,4 @@
-{if $gBitSystem->isFeatureActive( 'liberty_display_status' ) and $gBitSystem->isFeatureActive( 'liberty_display_status_menu' ) and ($gBitUser->hasPermission('p_liberty_edit_content_status') or $gBitUser->hasPermission('p_liberty_edit_all_status'))}
+{if $gBitSystem->isFeatureActive( 'liberty_display_status' ) && $gBitSystem->isFeatureActive( 'liberty_display_status_menu' ) && ($gBitUser->hasPermission('p_liberty_edit_content_status') || $gBitUser->hasPermission('p_liberty_edit_all_status'))}
<div class="form-group">
{formlabel label="Publish Status" for="content_status_id"}
{forminput}