diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-04 13:09:10 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-04 13:09:10 +0000 |
commit | 30aeac65dccceab18e19318e5981118f150c0647 (patch) | |
tree | 409e1a742796ff1c988593c43f19a9533c258742 /phpBB/admin/admin_words.php | |
parent | b5bbc005a51658c7496abdcad9b23e978fb7db68 (diff) | |
download | forums-30aeac65dccceab18e19318e5981118f150c0647.tar forums-30aeac65dccceab18e19318e5981118f150c0647.tar.gz forums-30aeac65dccceab18e19318e5981118f150c0647.tar.bz2 forums-30aeac65dccceab18e19318e5981118f150c0647.tar.xz forums-30aeac65dccceab18e19318e5981118f150c0647.zip |
Well, here are all my changes ... don't blame me if things break :D
git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_words.php')
-rw-r--r-- | phpBB/admin/admin_words.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/admin/admin_words.php b/phpBB/admin/admin_words.php index 384c83fd3c..ec152d47d7 100644 --- a/phpBB/admin/admin_words.php +++ b/phpBB/admin/admin_words.php @@ -21,7 +21,7 @@ if ( !empty($setmodules) ) { - if ( !$acl->get_acl_admin('general') ) + if ( !$auth->get_acl_admin('general') ) { return; } @@ -42,7 +42,7 @@ require('pagestart.' . $phpEx); // // Do we have forum admin permissions? // -if ( !$acl->get_acl_admin('general') ) +if ( !$auth->get_acl_admin('general') ) { return; } @@ -54,7 +54,7 @@ if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) { $mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode']; } -else +else { // // These could be entered via a form button @@ -89,8 +89,8 @@ if( $mode != '' ) message_die(MESSAGE, $lang['No_word_selected']); } - $sql = "SELECT * - FROM " . WORDS_TABLE . " + $sql = "SELECT * + FROM " . WORDS_TABLE . " WHERE word_id = $word_id"; $result = $db->sql_query($sql); @@ -158,7 +158,7 @@ if( $mode != '' ) message_die(MESSAGE, $lang['Must_specify_word']); } - $sql = "DELETE FROM " . WORDS_TABLE . " + $sql = "DELETE FROM " . WORDS_TABLE . " WHERE word_id = $word_id"; $db->sql_query($sql); @@ -189,8 +189,8 @@ else <?php - $sql = "SELECT * - FROM " . WORDS_TABLE . " + $sql = "SELECT * + FROM " . WORDS_TABLE . " ORDER BY word"; $result = $db->sql_query($sql); |