aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/mcp/mcp_notes.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-12-28 23:30:09 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-12-28 23:30:09 +0000
commit19aed179e53f9660a7202e2e50816e1cef0f7be9 (patch)
treee2707fd68720f206c88f8bcaff6e2fc3173c9c94 /phpBB/modules/mcp/mcp_notes.php
parent4ded6cf5eef0892f9ef1d7351664e1d78445c419 (diff)
downloadforums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.gz
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.bz2
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.tar.xz
forums-19aed179e53f9660a7202e2e50816e1cef0f7be9.zip
$config to phpbb::$config
git-svn-id: file:///svn/phpbb/trunk@9242 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/mcp/mcp_notes.php')
-rw-r--r--phpBB/modules/mcp/mcp_notes.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/modules/mcp/mcp_notes.php b/phpBB/modules/mcp/mcp_notes.php
index 5ca3d8f606..dbd61dfb40 100644
--- a/phpBB/modules/mcp/mcp_notes.php
+++ b/phpBB/modules/mcp/mcp_notes.php
@@ -33,7 +33,7 @@ class mcp_notes
function main($id, $mode)
{
- global $auth, $db, $user, $template, $config;
+ global $auth, $db, $user, $template;
$action = request_var('action', array('' => ''));
@@ -71,7 +71,7 @@ class mcp_notes
*/
function mcp_notes_user_view($action)
{
- global $template, $db, $user, $auth, $config;
+ global $template, $db, $user, $auth;
$user_id = request_var('u', 0);
$username = request_var('username', '', true);
@@ -193,7 +193,7 @@ class mcp_notes
$log_data = array();
$log_count = 0;
- view_log('user', $log_data, $log_count, $config['posts_per_page'], $start, 0, 0, $user_id, $sql_where, $sql_sort);
+ view_log('user', $log_data, $log_count, phpbb::$config['posts_per_page'], $start, 0, 0, $user_id, $sql_where, $sql_sort);
if ($log_count)
{
@@ -220,8 +220,8 @@ class mcp_notes
'L_TITLE' => $user->lang['MCP_NOTES_USER'],
- 'PAGE_NUMBER' => on_page($log_count, $config['posts_per_page'], $start),
- 'PAGINATION' => generate_pagination($this->u_action . "&amp;st=$st&amp;sk=$sk&amp;sd=$sd", $log_count, $config['posts_per_page'], $start),
+ 'PAGE_NUMBER' => on_page($log_count, phpbb::$config['posts_per_page'], $start),
+ 'PAGINATION' => generate_pagination($this->u_action . "&amp;st=$st&amp;sk=$sk&amp;sd=$sd", $log_count, phpbb::$config['posts_per_page'], $start),
'TOTAL_REPORTS' => ($log_count == 1) ? $user->lang['LIST_REPORT'] : sprintf($user->lang['LIST_REPORTS'], $log_count),
'USERNAME' => $userrow['username'],