cvs: php-gtk-web /apps add.php
| From: | Andrei Zmievski | Date: | Mon, 25 Mar 2002 20:07:11 +0000 |
| Subject: | cvs: php-gtk-web /apps add.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-323@lists.php.net to get a copy of this message | ||
andrei Mon Mar 25 15:07:11 2002 EDT
Modified files:
/php-gtk-web/apps add.php
Log:
Index: php-gtk-web/apps/add.php
diff -u php-gtk-web/apps/add.php:1.1 php-gtk-web/apps/add.php:1.2
--- php-gtk-web/apps/add.php:1.1 Fri Mar 22 17:22:30 2002
+++ php-gtk-web/apps/add.php Mon Mar 25 15:07:11 2002
@@ -6,6 +6,11 @@
require_once("apps.inc");
+//
+// Change this to whomever you want the administrator emails to go to.
+//
+$mailto = 'gtk-webmaster@php.net';
+
commonHeader('Add an Application', false);
appHeader();
@@ -38,6 +43,14 @@
}
+ mail($mailto, "app '$name' submitted for approval.",
+ "The following application was submitted for approval:\n\n" .
+ "Name : $name\n" .
+ "URL : $homepage_url\n" .
+ "Category : " . $appCats[$cat_id]->name . "\n" .
+ "Submitter : $submitter\n" .
+ "Description: $blurb\n",
+ "From: $user@php.net");
print("Thank you for the submission. Someone will review it shortly.");
}else {