Commit 6688da24 authored by dmorley's avatar dmorley

add a lil comment to why removed

parent 9638bc3f
......@@ -107,6 +107,7 @@ echo "✪";
?>
<td>
<form method="post" action="db/kill.php">
<input name="comments" size=10>
<input name="domain" value="<?php echo $row["domain"] ?>" type="hidden">
<input name="adminkey" value="<?php echo $_COOKIE["adminkey"] ?>" type="hidden">
<input type="submit" value="Delete">
......
......@@ -12,7 +12,7 @@ $pgpass='';
$pgdb='';
//admin email for forms
$adminemail = '';
//admin key for admin ratings
//admin key for deleting pods, set this as a cookie on your own
$adminkey = '';
//mailchimp key
$chimpkey = '';
......
......@@ -32,7 +32,7 @@ echo "admin key fail";die;
if ($row["email"]) {
$to = $row["email"];
$subject = "Pod deleted from poduptime ";
$message = "Pod " . $_POST["domain"] . " was deleted from podupti.me as it was dead on the list. Feel free to add back at any time. \n\n";
$message = "Pod " . $_POST["domain"] . " was deleted from podupti.me as it was dead on the list. " . $_POST["comments"] . " Feel free to add back at any time. \n\n";
$headers = "From: support@diasp.org\r\nCc:support@diasp.org,". $row["email"] ."\r\n";
@mail( $to, $subject, $message, $headers );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment