aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Bojer <axelb@skolelinux.no>2007-05-12 13:45:31 +0000
committerAxel Bojer <axelb@skolelinux.no>2007-05-12 13:45:31 +0000
commit2e542abe27ea2647bc51ed094d25cf8e18f43cfc (patch)
treeb9e1aeb441db6e103f3e851878b94487817be597
parentb28c4f72f8da9f3da98ab9378be8e46d95d53d29 (diff)
downloadhomepage-2e542abe27ea2647bc51ed094d25cf8e18f43cfc.tar.gz
homepage-2e542abe27ea2647bc51ed094d25cf8e18f43cfc.tar.bz2
homepage-2e542abe27ea2647bc51ed094d25cf8e18f43cfc.tar.xz
smaarettelser
-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'])