diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-10-21 13:29:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-10-21 13:29:52 +0000 |
commit | 2d56415ae90b45892325880cdb2fcc994ff6f4ea (patch) | |
tree | cce563f6dd461278d5cc430372071de6a77812d5 | |
parent | e156b0c41483d81743e00bc96c5e320dc9dabbdc (diff) | |
download | brdo-2d56415ae90b45892325880cdb2fcc994ff6f4ea.tar.gz brdo-2d56415ae90b45892325880cdb2fcc994ff6f4ea.tar.bz2 |
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'.
-rw-r--r-- | themes/unconed/unconed.theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index d1abf900b..9ed648776 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -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 |