From 5173bccb972002ff6230422caba3e5d5d44fd99b Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Oct 2025 21:30:30 -0400 Subject: [PATCH] make captcha bigger --- captcha.php | 2 +- config.php | 1 + index.php | 5 +++++ static/css/main.css | 5 +++++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/captcha.php b/captcha.php index aaf3484..e816863 100755 --- a/captcha.php +++ b/captcha.php @@ -25,7 +25,7 @@ $alphanum = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz'; $string = substr( str_shuffle( $alphanum ), 2, 5 ); $_SESSION['captcha_code'] = $string; /* Create new empty image */ -$Imagick->newImage( 80, 25, $bg ); +$Imagick->newImage( 100, 25, $bg ); /* Write the text on the image */ $Imagick->annotateImage( $ImagickDraw, 4, 20, 0, $string ); diff --git a/config.php b/config.php index 5f92469..a5b0a09 100755 --- a/config.php +++ b/config.php @@ -1,5 +1,6 @@
+ " . constant("news") . ""; + } + ?>

lets you discover and share niche, non-corporate, hobby websites with others by submitting them to our database.
It's intended to help small forum operators, blog authors, and anyone else with a small website recieve traffic without having to market their site.

diff --git a/static/css/main.css b/static/css/main.css index a4f126c..2b43f11 100755 --- a/static/css/main.css +++ b/static/css/main.css @@ -109,3 +109,8 @@ select { .selectedpage { background-color: #ef9; } +.news { + color: red; + border-bottom: 1px solid red; + display: inline-block; +}