mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
add nils' request and super globals class
rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -348,7 +348,7 @@ if ($topic_data['forum_password'])
|
||||
}
|
||||
|
||||
// Redirect to login or to the correct post upon emailed notification links
|
||||
if (request::is_set('e', request::GET))
|
||||
if (phpbb_request::is_set('e', phpbb_request::GET))
|
||||
{
|
||||
$jump_to = request_var('e', 0);
|
||||
|
||||
@@ -417,7 +417,7 @@ if ($sort_days)
|
||||
|
||||
$limit_posts_time = "AND p.post_time >= $min_post_time ";
|
||||
|
||||
if (request::is_set_post('sort'))
|
||||
if (phpbb_request::is_set_post('sort'))
|
||||
{
|
||||
$start = 0;
|
||||
}
|
||||
@@ -673,7 +673,7 @@ if (!empty($topic_data['poll_start']))
|
||||
// Cookie based guest tracking ... I don't like this but hum ho
|
||||
// it's oft requested. This relies on "nice" users who don't feel
|
||||
// the need to delete cookies to mess with results.
|
||||
$cur_voted_list = request::variable($config['cookie_name'] . '_poll_' . $topic_id, '', false, request::COOKIE);
|
||||
$cur_voted_list = phpbb_request::variable($config['cookie_name'] . '_poll_' . $topic_id, '', false, phpbb_request::COOKIE);
|
||||
if (!empty($cur_voted_list))
|
||||
{
|
||||
$cur_voted_id = array_map('intval', explode(',', $cur_voted_list));
|
||||
@@ -1586,9 +1586,9 @@ else if (!$all_marked_read)
|
||||
// We overwrite the 'f' request variable if there is no forum specified
|
||||
// to be able to display the correct online list.
|
||||
// One downside is that the user currently viewing this topic/post is not taken into account.
|
||||
if (empty(request::variable('f', '')))
|
||||
if (empty(phpbb_request::variable('f', '')))
|
||||
{
|
||||
request::overwrite('f', $forum_id);
|
||||
phpbb_request::overwrite('f', $forum_id);
|
||||
}
|
||||
|
||||
// Output the page
|
||||
|
Reference in New Issue
Block a user