diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-01-14 22:57:19 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-01-14 22:57:19 +0000 |
commit | c3edbfa6f063adc28b332f2d9df75136e65f33f1 (patch) | |
tree | ed22c801135a11b8c28445d3996819723c4b6cff /phpBB/mcp.php | |
parent | 49b29c03ce8d00b207e91456be91a255a9730594 (diff) | |
download | forums-c3edbfa6f063adc28b332f2d9df75136e65f33f1.tar forums-c3edbfa6f063adc28b332f2d9df75136e65f33f1.tar.gz forums-c3edbfa6f063adc28b332f2d9df75136e65f33f1.tar.bz2 forums-c3edbfa6f063adc28b332f2d9df75136e65f33f1.tar.xz forums-c3edbfa6f063adc28b332f2d9df75136e65f33f1.zip |
Initial implementation of a log viewer into the MCP
git-svn-id: file:///svn/phpbb/trunk@5460 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r-- | phpBB/mcp.php | 18 |
1 files changed, 18 insertions, 0 deletions
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; |