From d77fb7b2b62de1c778563c58b61cdec743c7f345 Mon Sep 17 00:00:00 2001 From: Smoorg Date: Tue, 30 Sep 2025 14:35:08 +0200 Subject: [PATCH] Kilka zmian w formie rejestracji MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * dodany klucz ssh * usuniete pole skąd do nas trafiłeś * dodane 4 wiersze do zainteresowań * dodane max 500 znaków w zainteresowaniach --- register.php | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/register.php b/register.php index 2f58ec5..ae5c0d8 100644 --- a/register.php +++ b/register.php @@ -1,7 +1,7 @@
@@ -19,17 +19,17 @@ Otrzymaliśmy twój formularz rejestracji. Oczekuj na dalsze informacje na swoje $email=htmlspecialchars($_POST["email"]); $url=htmlspecialchars($_POST["url"]); $who=htmlspecialchars($_POST["who"]); - $how=htmlspecialchars($_POST["how"]); $interests=htmlspecialchars($_POST["interests"]); + $pubkey=htmlspecialchars($_POST["pubkey"]); $to = 'smoorg@tylda.org'; $subject = 'Rejestracja usera ' . "$nick"; - $message = "Nick: $nick\n" . - "Email: $email\n" . - "Url: $url\n" . - "Opowiedz coś na swój temat: $who\n" . - "Jak do nas trafiłeś?: $how\n" . - "Zainteresowania: $interests\n" + $message = "Nick:\t\t$nick\n" . + "Email:\t\t$email\n" . + "Url:\t\t$url\n" . + "SSH:\t\t$pubkey\n" . + "Opowiedz coś na swój temat:\t\t$who\n" . + "Zainteresowania:\t\t$interests\n" ; $headers = array( 'From' => 'noreply@tylda.org', @@ -57,26 +57,19 @@ Poniższy formularz trafi do naszych administratorów, którzy go ocenią. Potra +
+ + +
-
- - -
-
- - -