|
From: Bart v. B. <ba...@us...> - 2002-01-17 10:48:33
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv26631
Modified Files:
admin_forumauth.php
Log Message:
Fixed problem with advanced mode switching (#504769)
Index: admin_forumauth.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_forumauth.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** admin_forumauth.php 2002/01/01 02:22:23 1.16
--- admin_forumauth.php 2002/01/17 10:48:29 1.17
***************
*** 317,322 ****
}
! $switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=");
! $switch_mode .= ( empty($adv) ) ? "1" : "0";
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
--- 317,322 ----
}
! $adv_mode = (empty($adv)) ? "1" : "0";
! $switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=". $adv_mode);
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
***************
*** 347,349 ****
include('page_footer_admin.'.$phpEx);
! ?>
\ No newline at end of file
--- 347,349 ----
include('page_footer_admin.'.$phpEx);
! ?>
|