aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
commit7e25c8d9cc255fbe460c2a970ad7da241c0880bb (patch)
tree89bb537574b06359d58f515a07fa6e37b6c63cf9 /phpBB/includes/mcp
parentf15d6862ae4a62421da83e10dfdeb7153756af1a (diff)
downloadforums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.gz
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.bz2
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.xz
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.zip
- added a few missing log variables
- include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now) - added check to cron.php - added database_gc config variable - recalculate binary trees every once a week ;) git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp')
-rwxr-xr-xphpBB/includes/mcp/mcp_logs.php2
-rwxr-xr-xphpBB/includes/mcp/mcp_notes.php7
2 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_logs.php b/phpBB/includes/mcp/mcp_logs.php
index f77e65f003..36cb33b816 100755
--- a/phpBB/includes/mcp/mcp_logs.php
+++ b/phpBB/includes/mcp/mcp_logs.php
@@ -28,6 +28,8 @@ class mcp_logs
global $auth, $db, $user, $template;
global $config, $phpbb_root_path, $phpEx, $SID;
+ $user->add_lang('acp/common');
+
$action = request_var('action', array('' => ''));
if (is_array($action))
diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php
index b8280d4a9b..0bc6a28f3f 100755
--- a/phpBB/includes/mcp/mcp_notes.php
+++ b/phpBB/includes/mcp/mcp_notes.php
@@ -45,11 +45,14 @@ class mcp_notes
);
$this->tpl_name = 'mcp_notes_front';
- break;
+ break;
+
case 'user_notes':
+ $user->add_lang('acp/common');
+
mcp_notes_user_view($id, $mode, $action);
$this->tpl_name = 'mcp_notes_user';
- break;
+ break;
}
}
}