386 |
if($speling) { |
if($speling) { |
387 |
echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "") . "> <label for=\"spell\">Kontrollera stavning</label><br>\n"; |
echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "") . "> <label for=\"spell\">Kontrollera stavning</label><br>\n"; |
388 |
} |
} |
389 |
|
documentation("write_comments"); |
390 |
echo "<input class=\"textbox\" type=\"hidden\" name=\"pid\" value=\"$pid\">\n" |
echo "<input class=\"textbox\" type=\"hidden\" name=\"pid\" value=\"$pid\">\n" |
391 |
."<input class=\"textbox\" type=\"hidden\" name=\"sid\" value=\"$sid\"><input class=\"textbox\" type=\"hidden\" name=\"mode\" value=\"$mode\">\n" |
."<input class=\"textbox\" type=\"hidden\" name=\"sid\" value=\"$sid\"><input class=\"textbox\" type=\"hidden\" name=\"mode\" value=\"$mode\">\n" |
392 |
."<input class=\"textbox\" type=\"hidden\" name=\"order\" value=\"$order\"><input class=textbox type=\"hidden\" name=\"thold\" value=\"$thold\">\n" |
."<input class=\"textbox\" type=\"hidden\" name=\"order\" value=\"$order\"><input class=textbox type=\"hidden\" name=\"thold\" value=\"$thold\">\n" |
393 |
."<input type=\"submit\" name=\"op\" value=\"Preview\" class=\"button\">\n" |
."<input type=\"submit\" name=\"op\" value=\"Förhandsgranska\" class=\"button\">\n" |
394 |
."<input type=\"submit\" name=\"op\" value=\"Ok!\" class=\"button\"> <select name=\"posttype\"><option value=\"source\">Källkod<option value=\"html\" >HTML-formatterad<option value=\"plaintext\" selected>Vanlig text</select></form><br>\n"; |
."<input type=\"submit\" name=\"op\" value=\"Ok!\" class=\"button\"> <select name=\"posttype\"><option value=\"source\">Källkod<option value=\"html\" >HTML-formatterad<option value=\"plaintext\" selected>Vanlig text</select></form><br>\n"; |
|
|
|
395 |
include('footer.php'); |
include('footer.php'); |
396 |
} |
} |
397 |
|
|
448 |
if ($speling) { |
if ($speling) { |
449 |
echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "") . "> <label for=\"spell\">Kontrollera stavning</label><br>\n"; |
echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "") . "> <label for=\"spell\">Kontrollera stavning</label><br>\n"; |
450 |
} |
} |
451 |
|
documentation("write_comments"); |
452 |
echo "<input class=\"textbox\" type=\"hidden\" name=\"pid\" value=\"$pid\">" |
echo "<input class=\"textbox\" type=\"hidden\" name=\"pid\" value=\"$pid\">" |
453 |
."<input class=\"textbox\" type=\"hidden\" name=\"sid\" value=\"$sid\"><input class=\"textbox\" type=\"hidden\" name=\"mode\" value=\"$mode\">\n" |
."<input class=\"textbox\" type=\"hidden\" name=\"sid\" value=\"$sid\"><input class=\"textbox\" type=\"hidden\" name=\"mode\" value=\"$mode\">\n" |
454 |
."<input class=\"textbox\" type=\"hidden\" name=\"order\" value=\"$order\"><input class=\"textbox\" type=\"hidden\" name=\"thold\" value=\"$thold\">\n" |
."<input class=\"textbox\" type=\"hidden\" name=\"order\" value=\"$order\"><input class=\"textbox\" type=\"hidden\" name=\"thold\" value=\"$thold\">\n" |
455 |
."<input type=\"submit\" name=\"op\" value=\"Preview\" class=\"button\">\n" |
."<input type=\"submit\" name=\"op\" value=\"Förhandsgranska\" class=\"button\">\n" |
456 |
."<input type=\"submit\" name=\"op\" value=\"Ok!\" class=\"button\"> <select name=\"posttype\"><option value=\"source\""; |
."<input type=\"submit\" name=\"op\" value=\"Ok!\" class=\"button\"> <select name=\"posttype\"><option value=\"source\""; |
457 |
if ($posttype == "source") echo " selected"; |
if ($posttype == "source") echo " selected"; |
458 |
echo ">Källkod<option value=\"html\"";; |
echo ">Källkod<option value=\"html\"";; |
460 |
echo ">HTML-formatterad<option value=\"plaintext\""; |
echo ">HTML-formatterad<option value=\"plaintext\""; |
461 |
if (($posttype!="source") && ($posttype!="html")) echo " selected"; |
if (($posttype!="source") && ($posttype!="html")) echo " selected"; |
462 |
echo ">Vanlig text</select></form><br>\n"; |
echo ">Vanlig text</select></form><br>\n"; |
|
|
|
463 |
include('footer.php'); |
include('footer.php'); |
464 |
} |
} |
465 |
|
|
546 |
case "Reply": |
case "Reply": |
547 |
reply($pid, $sid, $mode, $order, $thold); |
reply($pid, $sid, $mode, $order, $thold); |
548 |
break; |
break; |
549 |
case "Preview": |
case "Förhandsgranska": |
550 |
replyPreview($medsig, $pid, $sid, $subject, $comment, $postanon, $mode, $order, $thold, $posttype, $spell); |
replyPreview($medsig, $pid, $sid, $subject, $comment, $postanon, $mode, $order, $thold, $posttype, $spell); |
551 |
break; |
break; |
552 |
case "Ok!": |
case "Ok!": |