diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-01 16:14:18 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-01 16:14:18 +0000 |
commit | f4eb27763b8b342129f83eb9bb2bc858888f1ed9 (patch) | |
tree | 1648070b159c29d6d37fa6c2cc795fe6167c87b5 /phpBB | |
parent | 0cea5122b908d92740581b64f8fa85cb6a2e6adf (diff) | |
download | forums-f4eb27763b8b342129f83eb9bb2bc858888f1ed9.tar forums-f4eb27763b8b342129f83eb9bb2bc858888f1ed9.tar.gz forums-f4eb27763b8b342129f83eb9bb2bc858888f1ed9.tar.bz2 forums-f4eb27763b8b342129f83eb9bb2bc858888f1ed9.tar.xz forums-f4eb27763b8b342129f83eb9bb2bc858888f1ed9.zip |
phpBB Logo goes to forum index
git-svn-id: file:///svn/phpbb/trunk@2803 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/admin/index.php | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index d91298f66e..fe80891ab0 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -53,7 +53,7 @@ if ( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'top' ) <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> - <td><a href="index.<?php echo $phpEx . $SID; ?>&pane=right" target="main"><img src="images/header_left.jpg" width="200" height="60" alt="phpBB Logo" title="phpBB Logo" border="0"/></a></td> + <td><a href="../" target="_top"><img src="images/header_left.jpg" width="200" height="60" alt="phpBB Logo" title="phpBB Logo" border="0"/></a></td> <td width="100%" background="images/header_bg.jpg" height="60" align="right" nowrap="nowrap"><span class="maintitle"><?php echo $lang['Admin_title']; ?></span> </td> </tr> </table> @@ -119,7 +119,7 @@ else if ( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'left' ) </tr> <?php - ksort($action_ary); + @ksort($action_ary); foreach ( $action_ary as $action => $file ) { @@ -167,10 +167,13 @@ elseif ( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' ) $sql = ( isset($HTTP_POST_VARS['activate']) ) ? "UPDATE " . USERS_TABLE . " SET user_active = 1 WHERE user_id IN ($in_sql)" : "DELETE FROM " . USERS_TABLE . " WHERE user_id IN ($in_sql)"; $db->sql_query($sql); - $sql = "UPDATE " . CONFIG_TABLE . " - SET config_value = config_value - " . sizeof($HTTP_POST_VARS['mark']) . " - WHERE config_name = 'num_users'"; - $db->sql_query($sql); + if ( isset($HTTP_POST_VARS['delete']) ) + { + $sql = "UPDATE " . CONFIG_TABLE . " + SET config_value = config_value - " . sizeof($HTTP_POST_VARS['mark']) . " + WHERE config_name = 'num_users'"; + $db->sql_query($sql); + } $log_action = ( isset($HTTP_POST_VARS['activate']) ) ? 'log_index_activate' : 'log_index_delete'; add_admin_log($log_action, sizeof($HTTP_POST_VARS['mark'])); @@ -181,6 +184,10 @@ elseif ( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' ) { } + else if ( isset($HTTP_POST_VARS['resonline']) ) + { + + } // // Get forum statistics |