+
END_OF_NAVIGATION;
- if ($this->failed_captcha) {
- echo "sorry, reCAPTCHA said you're not human.
";
- }
if (!$this->comments_enabled) {
$this->display_comment_link();
}
echo <<notes/
+ back to notes/
END_OF_NAVIGATION;
@@ -406,7 +413,7 @@ END_OF_NAVIGATION;
private function display_comment_link() {
if ($this->number_of_comments > 0) {
- $anchor_text = "comments ($this->number_of_comments)";
+ $anchor_text = "comments($this->number_of_comments)/";
} else {
$anchor_text = "comment?";
}
@@ -429,11 +436,16 @@ END_OF_NAVIGATION;
$author = $entry['author'];
$email = $entry['email'];
$text = htmlspecialchars($entry['text']);
+ if ($email == '') {
+ $head = "
$author
";
+ } else {
+ $head = "
";
+ }
echo <<
$author
+
END_OF_COMMENT;
}
echo " ";
@@ -443,7 +455,6 @@ END_OF_COMMENT;
$publickey = $this->recaptcha_publickey;
echo <<
-
+