aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_words.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-09-02 22:26:15 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-09-02 22:26:15 +0000
commitdce8578de5bf86acb1848fc50a83f7f63852bf31 (patch)
tree039bf0d0b5547b3491ec419d237ff0b2dbb1b233 /phpBB/admin/admin_words.php
parent107a3162c218a22b22a85f13ef3618998ab2b092 (diff)
downloadforums-dce8578de5bf86acb1848fc50a83f7f63852bf31.tar
forums-dce8578de5bf86acb1848fc50a83f7f63852bf31.tar.gz
forums-dce8578de5bf86acb1848fc50a83f7f63852bf31.tar.bz2
forums-dce8578de5bf86acb1848fc50a83f7f63852bf31.tar.xz
forums-dce8578de5bf86acb1848fc50a83f7f63852bf31.zip
Fixed Add Word
git-svn-id: file:///svn/phpbb/trunk@974 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_words.php')
-rw-r--r--phpBB/admin/admin_words.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/admin/admin_words.php b/phpBB/admin/admin_words.php
index 0c242bdfc9..dd3860265f 100644
--- a/phpBB/admin/admin_words.php
+++ b/phpBB/admin/admin_words.php
@@ -90,7 +90,7 @@ if( $mode != "" )
$word = ( isset($HTTP_POST_VARS['word']) ) ? trim($HTTP_POST_VARS['word']) : "";
$replacement = ( isset($HTTP_POST_VARS['replacement']) ) ? trim($HTTP_POST_VARS['replacement']) : "";
- if($word == ""|| $replacement == "")
+ if($word == "" || $replacement == "")
{
message_die(GENERAL_MESSAGE, $lang['Must_enter_word']);
}
@@ -166,7 +166,7 @@ else
$word_rows = $db->sql_fetchrowset($result);
$word_count = count($word_rows);
- $s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" />';
+ $s_hidden_fields = '<input type="hidden" name="mode" value="add" />';
$template->assign_vars(array(
"L_WORDS_TITLE" => $lang['Words_title'],
@@ -175,7 +175,7 @@ else
"L_REPLACEMENT" => $lang['Replacement'],
"L_EDIT" => $lang['Edit'],
"L_DELETE" => $lang['Delete'],
- "L_WORD_ADD" => $lang['Add_word_censor'],
+ "L_WORD_ADD" => $lang['Add_new_word'],
"L_ACTION" => $lang['Action'],
"S_WORDS_ACTION" => append_sid("admin_words.$phpEx"),