From 2645f9c733fcab7491238c88a27826fb090aa6b0 Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Wed, 25 Jun 2025 21:40:34 -0600 Subject: guestbook reflects .well-known/button in your site also: - moved johnvertisement and mothverisement to landing page - minor css fixes and other routine updates --- guestbook/comments.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'guestbook/comments.php') diff --git a/guestbook/comments.php b/guestbook/comments.php index 3f65fb9..432c1d2 100644 --- a/guestbook/comments.php +++ b/guestbook/comments.php @@ -18,13 +18,19 @@ function echo_comments($page, $Parsedown = null) { $message = $Parsedown->text($post->message); $found = htmlentities($post->found); $website = $post->website; + $button = $post->button; $cool = $post->cool; $coolsanitized = htmlentities(preg_replace("/https?:\/\//i", "", $cool)); $reply = $Parsedown->text($post->reply); - $output = $output."
"; - if($website) { $output = $output."$name"; } - else { $output = $output.$name; } + $output = $output."
"; + if($website) { + if($button) { + $output = $output."$name"; + } else { + $output = $output."$name"; + } + } else { $output = $output.$name; } $output = $output."
$date
Entry #$index
"; if($cool) { $output = $output."
cool thing: $coolsanitized
"; -- cgit v1.2.3