/[gnuheter]/gnuheter/comments.php
ViewVC logotype

Diff of /gnuheter/comments.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by aron, Sat Dec 21 18:08:33 2002 UTC revision 1.25 by pawal, Mon Feb 3 20:43:48 2003 UTC
# Line 386  function reply($pid, $sid, $mode, $order Line 386  function reply($pid, $sid, $mode, $order
386          if($speling) {          if($speling) {
387                  echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "")  . ">&nbsp;<label for=\"spell\">Kontrollera stavning</label><br>\n";                  echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "")  . ">&nbsp;<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    
# Line 448  function replyPreview ($medsig, $pid, $s Line 448  function replyPreview ($medsig, $pid, $s
448          if ($speling) {          if ($speling) {
449                  echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "")  . ">&nbsp;<label for=\"spell\">Kontrollera stavning</label><br>\n";                  echo "<input type=\"checkbox\" id=\"spell\" name=\"spell\"" . (($spell) ? " checked" : "")  . ">&nbsp;<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\"";;
# Line 459  function replyPreview ($medsig, $pid, $s Line 460  function replyPreview ($medsig, $pid, $s
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    
# Line 546  switch ($op) { Line 546  switch ($op) {
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!":

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26