Fixed 4 tiny bugs in unconed.theme:

+ 'nocomments' should be removed as it's no longer supported.
 + '$sid' should be passed or you'll get moderation errors.
 + 'get' should be 'post' in the control form.
 + renamed the 'Refresh'-button to 'Save'.
3-00
Dries Buytaert 2000-10-21 13:29:52 +00:00
parent e156b0c414
commit 2d56415ae9
1 changed files with 2 additions and 2 deletions

View File

@ -175,8 +175,9 @@
print " <TR><TD BGCOLOR=\"$this->bgcolor2\">";
?>
<FORM METHOD="get" ACTION="discussion.php">
<FORM METHOD="post" ACTION="discussion.php">
<FONT SIZE="2">
<INPUT TYPE="hidden" NAME="id" VALUE="<? echo "$sid"; ?>">
<SELECT NAME="threshold">
<OPTION VALUE="-1" <? if ($threshold == -1) { echo "SELECTED"; } ?>>Threshold: -1
<OPTION VALUE="0" <? if ($threshold == 0) { echo "SELECTED"; } ?>>Threshold: 0
@ -187,7 +188,6 @@
<OPTION VALUE="5" <? if ($threshold == 5) { echo "SELECTED"; } ?>>Threshold: 5
</SELECT>
<SELECT NAME="mode">
<OPTION VALUE="nocomments" <? if ($mode == 'nocomments') { echo "SELECTED"; } ?>>No comments
<OPTION VALUE="nested" <? if ($mode == 'nested') { echo "SELECTED"; } ?>>Nested
<OPTION VALUE="flat" <? if ($mode == 'flat') { echo "SELECTED"; } ?>>Flat
<OPTION VALUE="threaded" <? if (!isset($mode) || $mode=='threaded' || $mode=="") { echo "SELECTED"; } ?>>Threaded