Skip to content

Commit

Permalink
Merge branch 'craigk5n:master' into lintall
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannon authored Nov 25, 2023
2 parents 6642de8 + d5347e8 commit e786920
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions view_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -891,12 +891,12 @@
if ( $num_comment == 0 )
echo translate ( 'None' ) . '<br>';
else {
echo '
' . $num_comment . ' ' . translate ( 'comments' ) . '
echo '
' . $num_comment . ' ' . translate('comments') . '
<button class="btn" id="showbutton" type="button" onclick="showComments();">'
. translate ( 'Show' ) '</button>
<button class="btn" id="hidebutton" type="button" onclick="hideComments();">'
. translate ( 'Hide' ). '</button><br>
. translate('Show') . '</button>'
. '<button class="btn" id="hidebutton" type="button" onclick="hideComments();">'
. translate('Hide') . '</button><br>
<div id="comtext">' . $comment_text . '</div>';
// We could put the following JS in includes/js/view_entry.php,
// but we won't need it in many cases and we don't know whether
Expand Down

0 comments on commit e786920

Please sign in to comment.