|
From: Paul S. O. <ps...@us...> - 2002-07-14 14:43:33
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14914/includes
Modified Files:
topic_review.php
Removed Files:
auth.php auth_session.php constants.php db.php
functions_post.php functions_search.php functions_selects.php
prune.php sessions.php sql_parse.php
Log Message:
Gone but not forgotten ... what's not forgotten? who said that? shut up Paul
Index: topic_review.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/topic_review.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** topic_review.php 31 Mar 2002 00:06:34 -0000 1.5
--- topic_review.php 14 Jul 2002 14:43:30 -0000 1.6
***************
*** 24,28 ****
function topic_review($topic_id, $is_inline_review)
{
! global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;
global $userdata, $user_ip;
global $orig_word, $replacement_word;
--- 24,28 ----
function topic_review($topic_id, $is_inline_review)
{
! global $SID, $session, $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;
global $userdata, $user_ip;
global $orig_word, $replacement_word;
***************
*** 59,72 ****
// Start session management
//
! $userdata = session_pagestart($user_ip, $forum_id);
! init_userprefs($userdata);
//
// End session management
//
! $is_auth = array();
! $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_row);
!
! if ( !$is_auth['auth_read'] )
{
message_die(GENERAL_MESSAGE, sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']));
--- 59,69 ----
// Start session management
//
! $userdata = $session->start();
! $acl = new auth($userdata);
//
// End session management
//
! if ( !$acl->get_acl($forum_id, 'forum', 'list') || !$acl->get_acl($forum_id, 'forum', 'read') )
{
message_die(GENERAL_MESSAGE, sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']));
***************
*** 155,159 ****
}
! if ( $bbcode_uid != "" )
{
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
--- 152,156 ----
}
! if ( $bbcode_uid != '' )
{
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
--- auth.php DELETED ---
--- auth_session.php DELETED ---
--- constants.php DELETED ---
--- db.php DELETED ---
--- functions_post.php DELETED ---
--- functions_search.php DELETED ---
--- functions_selects.php DELETED ---
--- prune.php DELETED ---
--- sessions.php DELETED ---
--- sql_parse.php DELETED ---
|