summaryrefslogtreecommitdiff
path: root/templates/comments.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 10:48:34 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 10:48:34 +0000
commit8d7b90039e6459d3137bb274ccd1031b8abcbe6a (patch)
treef8863425360d0b7745f53931f257e77238ef8678 /templates/comments.tpl
parent64604173aba8acf9864e67ec013f822edd899bb5 (diff)
downloadcontact-8d7b90039e6459d3137bb274ccd1031b8abcbe6a.tar.gz
contact-8d7b90039e6459d3137bb274ccd1031b8abcbe6a.tar.bz2
contact-8d7b90039e6459d3137bb274ccd1031b8abcbe6a.zip
Smart5 style changes
Diffstat (limited to 'templates/comments.tpl')
-rwxr-xr-xtemplates/comments.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/comments.tpl b/templates/comments.tpl
index 64970a9..ae30c01 100755
--- a/templates/comments.tpl
+++ b/templates/comments.tpl
@@ -1,18 +1,18 @@
-{if $gBitUser->hasPermission( 'p_liberty_post_comments' ) || $gBitUser->hasPermission( 'p_liberty_read_comments' ) }
+{if $gBitUser->hasPermission( 'p_liberty_post_comments' ) or $gBitUser->hasPermission( 'p_liberty_read_comments' ) }
{strip}
<div class="display comment">
<div class="header">
<h2>{tr}Notes{/tr}</h2>
</div>
- <div class="body"{if !( $post_comment_request || $post_comment_preview )} id="editcomments"{/if}>
+ <div class="body"{if !( $post_comment_request or $post_comment_preview )} id="editcomments"{/if}>
<div id="edit_comments" {if $comments_ajax}style="display:none"{/if}>
{include file="bitpackage:liberty/comments_post_inc.tpl" post_title="Post Comment"}
</div>
{include file="bitpackage:liberty/comments_display_option_bar.tpl"}
- {if $comments_ajax && $gBitUser->hasPermission( 'p_liberty_post_comments' )}
+ {if $comments_ajax and $gBitUser->hasPermission( 'p_liberty_post_comments' )}
<div class="form-group">
<input type="submit" name="post_comment_request" value="{tr}Add Note{/tr}" onclick="LibertyComment.attachForm('comment_{$gContent->mContentId}', '{$gContent->mContentId}', {if $gContent->mContentId}{$gContent->mContentId}{elseif $commentsParentId}{$commentsParentId}{else}null{/if})"/>
</div>