', 4);\n ptln('', 6); // class=\"comment_head\"\n\n // main comment content\n ptln('
useAvatar() ? $this->getWidthStyle() : '') . '>', 6);\n echo ($HIGH ? html_hilight($comment['xhtml'], $HIGH) : $comment['xhtml']) . DOKU_LF;\n ptln('
', 6); // class=\"comment_body\"\n\n if ($isVisible) {\n ptln('', 6); // class=\"comment_buttons\"\n }\n ptln('
', 4); // class=\"hentry\"\n }\n\n /**\n * If requested by user, show comment form to write a reply\n *\n * @param string $cid current comment id\n * @param string $reply comment id on which the user requested a reply\n */\n protected function showReplyForm($cid, $reply)\n {\n if ($this->getConf('usethreading') && $reply == $cid) {\n ptln('', 4); // class=\"comment_replies\"\n }\n }\n\n /**\n * Show the replies to the given comment\n *\n * @param string $cid comment id\n * @param array $data array with all comments by reference\n * @param string $reply comment id on which the user requested a reply\n * @param bool $isVisible is marked as visible by reference\n */\n protected function showReplies($cid, &$data, $reply, &$isVisible)\n {\n $comment = $data['comments'][$cid];\n if (!count($comment['replies'])) {\n return;\n }\n ptln('', 4);\n }\n\n /**\n * Is an avatar displayed?\n *\n * @return bool\n */\n protected function useAvatar()\n {\n if (is_null($this->useAvatar)) {\n $this->useAvatar = $this->getConf('useavatar')\n && ($this->avatar = $this->loadHelper('avatar', false));\n }\n return $this->useAvatar;\n }\n\n /**\n * Calculate width of indent\n *\n * @return string\n */\n protected function getWidthStyle()\n {\n global $lang;\n\n if (is_null($this->style)) {\n $side = $lang['direction'] === 'ltr' ? 'left' : 'right';\n\n if ($this->useAvatar()) {\n $this->style = ' style=\"margin-' . $side . ': ' . ($this->avatar->getConf('size') + 14) . 'px;\"';\n } else {\n $this->style = ' style=\"margin-' . $side . ': 20px;\"';\n }\n }\n return $this->style;\n }\n\n /**\n * Show the button which toggles between show/hide of the entire discussion section\n */\n protected function showDiscussionToggleButton()\n {\n ptln('