Skip to content

Commit

Permalink
Fix for syntax error in view_entry.php
Browse files Browse the repository at this point in the history
  • Loading branch information
craigk5n committed Nov 25, 2023
1 parent 99f4e8a commit 5c259db
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 5c259db

Please sign in to comment.