X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=55986790efb50816b95c9912f18cd767a11a46a2;hb=c30849c73508b5a0168b6559b9935115186a20c7;hp=56b216aa9662175963849d9a22da89950c9fe611;hpb=9412c7a558398a5a990691eb74cc61ae24d85031;p=dylansserver.git diff --git a/index.php b/index.php index 56b216a..5598679 100644 --- a/index.php +++ b/index.php @@ -436,11 +436,16 @@ END_OF_NAVIGATION; $author = $entry['author']; $email = $entry['email']; $text = htmlspecialchars($entry['text']); + if ($email == '') { + $head = "

$author

"; + } else { + $head = "

$author

"; + } echo <<$author +
+ $head $text -
-
+
END_OF_COMMENT; } echo ""; @@ -463,34 +468,38 @@ END_CAPTCHA_STYLE; $url = $this->url . "verify"; echo "
"; echo << - -
-
-

comment:

- -

name:

- -

email:

-
- - -
-

what's this say?

-

enter the numbers you hear:

(another/audio/Get an image CAPTCHAhelp)

- -

-
-



-
-
+
+

comment:

+ +

name:

+ +

email:

+
+ + +
+

what's this say?

+

enter the numbers you hear:

+ + ( another / + audio / + Get an image CAPTCHAhelp ) + +

+ +

+
+
+
+



+
END_OF_FORM; echo recaptcha_get_html($this->recaptcha_publickey); if ($this->failed_captcha) { echo <<reCAPTCHA said you're not human, - - + reCAPTCHA said you're not human, + +
END_OF_FORM; } else {