From 30aeac65dccceab18e19318e5981118f150c0647 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 4 Oct 2002 13:09:10 +0000 Subject: 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 --- phpBB/admin/admin_board.php | 64 +++++++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 28 deletions(-) (limited to 'phpBB/admin/admin_board.php') diff --git a/phpBB/admin/admin_board.php b/phpBB/admin/admin_board.php index bb4061ba1f..e6d62fcfac 100644 --- a/phpBB/admin/admin_board.php +++ b/phpBB/admin/admin_board.php @@ -21,7 +21,7 @@ if ( !empty($setmodules) ) { - if ( !$acl->get_acl_admin('general') ) + if ( !$auth->get_acl_admin('general') ) { return; } @@ -45,7 +45,7 @@ $phpbb_root_path = '../'; require($phpbb_root_path . 'extension.inc'); require('pagestart.' . $phpEx); -if ( !$acl->get_acl_admin('general') ) +if ( !$auth->get_acl_admin('general') ) { message_die(MESSAGE, $lang['No_admin']); } @@ -325,9 +325,6 @@ switch ( $mode ) $activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? 'checked="checked"' : ''; $activation_disable = ( $new['require_activation'] == USER_ACTIVATION_DISABLE ) ? 'checked="checked"' : ''; - $gzip_yes = ( $new['gzip_compress'] ) ? 'checked="checked"' : ''; - $gzip_no = ( !$new['gzip_compress'] ) ? 'checked="checked"' : ''; - $privmsg_on = ( !$new['privmsg_disable'] ) ? 'checked="checked"' : ''; $privmsg_off = ( $new['privmsg_disable'] ) ? 'checked="checked"' : ''; @@ -347,18 +344,6 @@ switch ( $mode ) :
/>    />
- - :
- - - - :
- - - - : - />    /> - : />    /> @@ -407,14 +392,6 @@ switch ( $mode ) :
- - :
- - - - :
- - : @@ -485,6 +462,13 @@ switch ( $mode ) case 'server': + $ip_all = ( $new['ip_check'] == 4 ) ? 'checked="checked"' : ''; + $ip_classc = ( $new['ip_check'] == 3 ) ? 'checked="checked"' : ''; + $ip_classb = ( $new['ip_check'] == 2 ) ? 'checked="checked"' : ''; + $ip_none = ( $new['ip_check'] == 0 ) ? 'checked="checked"' : ''; + + $gzip_yes = ( $new['gzip_compress'] ) ? 'checked="checked"' : ''; + $gzip_no = ( !$new['gzip_compress'] ) ? 'checked="checked"' : ''; ?> :
@@ -498,6 +482,30 @@ switch ( $mode ) :
+ + :
+ />    />    />    />    + + + :
+ + + + :
+ + + + : + />    /> + + + :
+ + + + :
+ + sql_query($sql); } -- cgit v1.2.1