diff --git a/DB/Sprache.sql b/DB/Sprache.sql index 333cd8c5..96ed650f 100755 --- a/DB/Sprache.sql +++ b/DB/Sprache.sql @@ -382,6 +382,8 @@ INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_Handy', 'D INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_Handy', 'EN', 'mobile'); INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_E-Mail', 'DE', 'E-Mail'); INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_E-Mail', 'EN', 'e-mail'); +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_subscribe-mailinglist', 'DE', 'Der Mailinglisten Beitreten') +INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_subscribe-mailinglist', 'EN', 'subscribe the mailing list') INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_T-Shirt', 'DE', 'T-Shirt Größe'); INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_T-Shirt', 'EN', 'shirt size'); INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES ('makeuser_Engelart', 'DE', 'Engelart'); diff --git a/default-conf/var_www_includes/config.php b/default-conf/var_www_includes/config.php index 07d4fb03..68b51acc 100755 --- a/default-conf/var_www_includes/config.php +++ b/default-conf/var_www_includes/config.php @@ -48,4 +48,8 @@ $PentabarfXMLpath = "Xcal/conference/"; $PentabarfXMLEventID = "31"; $PentabarfGetWith = "fsockopen"; // "fsockopen"/"fopen"/"wget"/"lynx" + +//Mailing List: is is not defined, the option is not shown +//$SubscribeMailinglist = "*-subscribe@lists.*"; + ?> diff --git a/www-ssl/makeuser.php b/www-ssl/makeuser.php index 347403de..b0dd8467 100755 --- a/www-ssl/makeuser.php +++ b/www-ssl/makeuser.php @@ -94,13 +94,20 @@ if( isset($_POST["send"])) } echo Get_Text("makeuser_writeOK4"). "
\n\n$error\n
\n\n"; } } @@ -115,6 +122,7 @@ else $_POST["DECT"] = ""; $_POST["Handy"] = ""; $_POST["email"] = ""; + $_POST["subscribe-mailinglist"] = ""; $_POST["ICQ"] = ""; $_POST["jabber"] = ""; $_POST["Size"] = ""; @@ -122,6 +130,7 @@ else $_POST["kommentar"] = ""; $_POST["Hometown"] = ""; } + if( $success=="none" ){ echo "