aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Bojer <axelb@skolelinux.no>2007-05-12 14:08:36 +0000
committerAxel Bojer <axelb@skolelinux.no>2007-05-12 14:08:36 +0000
commite37414e29780b461678ef64ba5f6c75260358735 (patch)
tree1a5e0930add3590d835bf97edef50dbb383e0dcf
parenta6e8747398ff529013c9d30792955dc48bc27132 (diff)
downloadhomepage-e37414e29780b461678ef64ba5f6c75260358735.tar.gz
homepage-e37414e29780b461678ef64ba5f6c75260358735.tar.bz2
homepage-e37414e29780b461678ef64ba5f6c75260358735.tar.xz
smaarettelser
-rw-r--r--sendOrd.html5
-rw-r--r--sendOrd.php5
2 files changed, 8 insertions, 2 deletions
diff --git a/sendOrd.html b/sendOrd.html
index 56b67fa..2004201 100644
--- a/sendOrd.html
+++ b/sendOrd.html
@@ -26,8 +26,9 @@ Ordet er:
<input type="radio" name="status" value="ja">Godkjent
<input type="radio" name="status" value="nei">Ikke godkjent<br><br>
-<!--<form action="sendmail.asp" method="post">
-Velg fra lista:<br>
+<form action="sendmail.asp" method="post">
+
+<!--Velg fra lista:<br>
<select name="valg1">
<option>(Bruk pila til h&oslash;yre)</option>
<option>1</option>
diff --git a/sendOrd.php b/sendOrd.php
index 12d6a1a..b512380 100644
--- a/sendOrd.php
+++ b/sendOrd.php
@@ -46,6 +46,11 @@ if($error != '')
Du får straks en kopi av innmeldinga til den e-postadressen du oppga.<br>
<?php
+
+$to = $HTTP_POST_VARS['e-post'];
+$subject = "[ORDSJEKK] Bokmålsord til korrekturlesing";
+// $body = "Påmelding til kurs: {$HTTP_POST_VARS['kurs']}\n";
+
$body .= "WORD: {$HTTP_POST_VARS['ord']}";
if($HTTP_POST_VARS['status'])