From ea1ba712483cdd2a98991c15759f2c277e3b7510 Mon Sep 17 00:00:00 2001 From: Simone Rota Date: Wed, 29 Nov 2006 23:29:34 +0100 Subject: portdb: removed email form --- portdb/portdb/index.php | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/portdb/portdb/index.php b/portdb/portdb/index.php index c318bcd..73f9b44 100755 --- a/portdb/portdb/index.php +++ b/portdb/portdb/index.php @@ -135,32 +135,28 @@ function showSearch($singlerepo) { function showRegister() { $query = sanitize($_GET['q']); echo "

Register your ports repository

"; - echo "

You can register your personal HttpUp repository with this form. Please enter a name for your repository, your email address and the url to your HttpUp repository. The form data is sent via mail to a CRUX team member, who will put your repository into our database. Please give us some time to do this. Once it is active it is synced once a day. Please do not submit .httpup files, only the URL for the repository. This means the URL to the repository itself, not portspage or other indexes."; - echo '

- - - - - - - -
Repository Name (e.g. myports):
Root URL (e.g. http://mypage.se/ports/):
Your name:
Email:
-
'; + echo "

You can register your personal HttpUp repository sending an email with the following information to viper at hometux dot de:

"; + echo ''; + echo "

A CRUX team member, will put your repository into our database. Please give us some time to do this. Once it is active it is synced once a day. Please do not submit .httpup files, only the URL for the repository. This means the URL to the repository itself, not portspage or other indexes."; } -function showSendMail() { - $name = $_POST['name']; - $url = $_POST['url']; - $mail = $_POST['mail']; - $maint = $_POST['maint']; - echo "

Registration results

"; - if (sendMail($name, $url, $mail, $maint)) { - echo "

Your data was sent to the responsible CRUX member. Thanks for your contribution!

"; - } else { - echo "

Your mail could not be sent. Please contact a CRUX Team member.

"; - } +#function showSendMail() { +# $name = $_POST['name']; +# $url = $_POST['url']; +# $mail = $_POST['mail']; +# $maint = $_POST['maint']; +# echo "

Registration results

"; +# if (sendMail($name, $url, $mail, $maint)) { +# echo "

Your data was sent to the responsible CRUX member. Thanks for your contribution!

"; +# } else { +# echo "

Your mail could not be sent. Please contact a CRUX Team member.

"; +# } +# +#} -} function showDuplicates() { global $db; $sql = "select portname, count(*) as dup from ports @@ -278,9 +274,9 @@ switch ($action) { case "register": showRegister(); break; - case "send": - showSendMail(); - break; +# case "send": +# showSendMail(); +# break; case "dups": showDuplicates(); break; -- cgit v1.2.3