aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sendOrd.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/sendOrd.php b/sendOrd.php
index 93a683d..c09a563 100644
--- a/sendOrd.php
+++ b/sendOrd.php
@@ -18,7 +18,6 @@
<body class="tekst">
<?php
-
$error = '';
// Sjekk at et valg er tatt
@@ -41,14 +40,12 @@ if($error != '')
print "<pre>" . $error . "</pre>";
exit();
}
-
?>
-<p>Takk! Innmeldinga av ordet «<?php echo $HTTP_POST_VARS['kursnavn'] ?>» er sendt.<br><br>
+<p>Takk! Innmeldinga av ordet «<?php echo $HTTP_POST_VARS['ord'] ?>» er sendt.<br><br>
Du får straks en kopi av innmeldinga til den e-postadressen du oppga.<br>
<?php
-
$body .= "
WORD: {$HTTP_POST_VARS['ord']}
if($HTTP_POST_VARS['status'])
@@ -57,7 +54,7 @@ elif
$body .= "STATUS: -\n";
else
$body .= "STATUS: ?\n";
-EDITOR: {$HTTP_POST_VARS['navn']} {$HTTP_POST_VARS['epost']}
+EDITOR: {$HTTP_POST_VARS['navn']} {$HTTP_POST_VARS['e-post']}
";
/*if($HTTP_POST_VARS['beskjeder'])