From c3edbfa6f063adc28b332f2d9df75136e65f33f1 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Sat, 14 Jan 2006 22:57:19 +0000 Subject: Initial implementation of a log viewer into the MCP git-svn-id: file:///svn/phpbb/trunk@5460 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'phpBB/mcp.php') diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 04b4da545d..2eda2ad922 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -78,6 +78,12 @@ if ($action == 'merge_select') $mode = 'forum_view'; } +if ($mode == 'topic_logs') +{ + $id = 'logs'; + $quickmod = false; +} + // Topic view modes if (in_array($mode, array('split', 'split_all', 'split_beyond', 'merge', 'merge_posts'))) { @@ -163,10 +169,12 @@ if (!$quickmod) if (!$topic_id) { $module->set_display('topic_view', false); + $module->set_display('topic_logs', false); } if (!$forum_id) { $module->set_display('forum_view', false); + $module->set_display('forum_logs', false); } if (!$user_id && $username == '') { @@ -235,6 +243,16 @@ function _module_main_post_details_url() return extra_url(); } +function _module_logs_forum_view_url() +{ + return extra_url(); +} + +function _module_logs_topic_view_url() +{ + return extra_url(); +} + function extra_url() { global $forum_id, $topic_id, $post_id; -- cgit v1.2.1