aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-03-07 07:15:58 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-03-07 07:15:58 +0000
commitadbe70c23d2cc64d348a5fdd004e9d0fb668bb81 (patch)
tree58d52b7a33f1e08069ef1bcfb2fdfe3d1928c8a0
parent9ef35696d2d221a1ab58886f5db94e4988833b0b (diff)
downloadforums-adbe70c23d2cc64d348a5fdd004e9d0fb668bb81.tar
forums-adbe70c23d2cc64d348a5fdd004e9d0fb668bb81.tar.gz
forums-adbe70c23d2cc64d348a5fdd004e9d0fb668bb81.tar.bz2
forums-adbe70c23d2cc64d348a5fdd004e9d0fb668bb81.tar.xz
forums-adbe70c23d2cc64d348a5fdd004e9d0fb668bb81.zip
Stupid error
git-svn-id: file:///svn/phpbb/trunk@84 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/posting.php95
1 files changed, 48 insertions, 47 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 485b08e0d0..2c27fab0d4 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -89,58 +89,59 @@ else
}
$username_input = '<input type="text" name="username" value="'.$username.'" size="25" maxlength="50">';
$password_input = '<input type="password" name="password" size="25" maxlenght="40">';
- $subject_input = '<input type="text" name="subject" value="'.$subject.'" size="50" maxlenght="255">';
- $message_input = '<textarea name="message" rows="10" cols="35" wrap="virtual">'.$message.'</textarea>';
- if($allow_html)
- {
- $html_status = $l_htmlis . " " . $l_on;
- $html_toggle = '<input type="checkbox" name="disable_html" ';
- if($disable_html)
- {
- $html_toggle .= 'checked';
- }
- $html_toggle .= "> $l_disable $l_html $l_onthispost";
- }
- else
- {
- $html_status = $l_htmlis . " " . $l_off;
- }
- if($allow_bbcode)
- {
- $bbcode_status = $l_bbcodeis . " " . $l_on;
- $bbcode_toggle = '<input type="checkbox" name="disable_bbcode" ';
- if($disable_bbcode)
- {
- $bbcode_toggle .= "checked";
- }
- $bbcode_toggle .= "> $l_disable $l_bbcode $l_onthispost";
- }
- else
- {
- $bbcode_status = $l_bbcodeis . " " . $l_off;
- }
-
- $smile_toggle = '<input type="checkbox" name="disable_smile" ';
- if($disable_smile)
- {
- $smile_toggle .= "checked";
- }
- $smile_toggle .= "> $l_disable $l_smilies $l_onthispost";
-
- $sig_toggle = '<input type="checkbox" name="attach_sig" ';
- if($attach_sig || $userdata["attach_sig"] == 1)
+ }
+ $subject_input = '<input type="text" name="subject" value="'.$subject.'" size="50" maxlenght="255">';
+ $message_input = '<textarea name="message" rows="10" cols="35" wrap="virtual">'.$message.'</textarea>';
+ if($allow_html)
+ {
+ $html_status = $l_htmlis . " " . $l_on;
+ $html_toggle = '<input type="checkbox" name="disable_html" ';
+ if($disable_html)
{
- $sig_toggle .= "checked";
+ $html_toggle .= 'checked';
}
- $sig_toggle .= "> $l_attachsig";
-
- $notify_toggle = '<input type="checkbox" name="notify" ';
- if($notify || $userdata["always_notify"] == 1)
+ $html_toggle .= "> $l_disable $l_html $l_onthispost";
+ }
+ else
+ {
+ $html_status = $l_htmlis . " " . $l_off;
+ }
+ if($allow_bbcode)
+ {
+ $bbcode_status = $l_bbcodeis . " " . $l_on;
+ $bbcode_toggle = '<input type="checkbox" name="disable_bbcode" ';
+ if($disable_bbcode)
{
- $notify_toggle .= "checked";
+ $bbcode_toggle .= "checked";
}
- $notify_toggle .= "> $l_notify";
+ $bbcode_toggle .= "> $l_disable $l_bbcode $l_onthispost";
+ }
+ else
+ {
+ $bbcode_status = $l_bbcodeis . " " . $l_off;
+ }
+
+ $smile_toggle = '<input type="checkbox" name="disable_smile" ';
+ if($disable_smile)
+ {
+ $smile_toggle .= "checked";
}
+ $smile_toggle .= "> $l_disable $l_smilies $l_onthispost";
+
+ $sig_toggle = '<input type="checkbox" name="attach_sig" ';
+ if($attach_sig || $userdata["attach_sig"] == 1)
+ {
+ $sig_toggle .= "checked";
+ }
+ $sig_toggle .= "> $l_attachsig";
+
+ $notify_toggle = '<input type="checkbox" name="notify" ';
+ if($notify || $userdata["always_notify"] == 1)
+ {
+ $notify_toggle .= "checked";
+ }
+ $notify_toggle .= "> $l_notify";
+
$template->set_var(array("L_ABOUTPOST" => $l_aboutpost,
"L_SUBJECT" => $l_subject,