From f34283c5afe692291f27c94f0f12894eccada7e8 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Fri, 10 May 2024 09:14:55 +0000 Subject: [PATCH] Several minor changes --- assets/style.css | 16 ++++++++++++++++ index.php | 7 ++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index e68cc26..2c31fbd 100644 --- a/assets/style.css +++ b/assets/style.css @@ -15,6 +15,10 @@ textarea { max-width: 100%; } +a { + word-wrap: anywhere; +} + input[type=submit], button { background-color: #ebc; @@ -102,6 +106,18 @@ strong.quote { margin-right: 10px; } +.ts { + color: #67b0db; +} + +.rn { + color: #b78a9d; +} + +.a { + color: whitesmoke; +} + .clearfix:after { content: "."; display: block; diff --git a/index.php b/index.php index 351d3da..494ef86 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,8 @@ */ $start_time = microtime(true); - $captcha_str = substr(strtr(sha1($start_time), "1234567890ABCDEF", "abdeghjkmnpqtuwx"), 0, 6); + # $captcha_str = substr(strtr(sha1($start_time), "1234567890ABCDEF", "abdeghjkmnpqtuwx"), 0, 6); + $captcha_str = 'i\'m not a robot'; // Return source code if(isset($_GET['source'])) { @@ -288,6 +289,7 @@ $comment = preg_replace('/(?:https?|mailto|tel|ftp):.+?(?=\s|,|<|<|$)/m', '$0', $comment); $comment = preg_replace_callback('/>>\s*(\d+)/', 'quote_link', $comment); $comment = str_replace("\n", "
", $comment); + $comment = str_replace('trans', 'trans', $comment); echo "
$comment
"; } echo ''; @@ -454,6 +456,7 @@ +
@@ -466,6 +469,7 @@ [source] [feed] [feed source] + [back]


@@ -607,6 +611,7 @@ [source] [feed] [feed source] + [back]