diff --git a/include/functions.php b/include/functions.php index 0ee05808..62d64e24 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3156,7 +3156,7 @@ $rv['content'] .= "
"; if ($line['note']) { - $rv['content'] .= format_article_note($id, $line['note']); + $rv['content'] .= format_article_note($id, $line['note'], !$zoom_mode); } $rv['content'] .= "
"; @@ -3444,11 +3444,11 @@ } - function format_article_note($id, $note) { + function format_article_note($id, $note, $allow_edit = true) { $str = "
". - __('(edit note)')."
$note
"; + ($allow_edit ? __('(edit note)') : "")."$note"; return $str; }