aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-12-21 10:37:50 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-12-21 10:37:50 +0000
commit515085a2a2d4b06989566a60b8add3fa4864f1e3 (patch)
tree9000d688dc33511560a9d08191b87d1340f70af3 /phpBB/mcp.php
parent2e1eef2713f7891ce9d78736ceae6d2faf93fc4b (diff)
downloadforums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar
forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.gz
forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.bz2
forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.tar.xz
forums-515085a2a2d4b06989566a60b8add3fa4864f1e3.zip
- some fixes
- important bugfix for the mcp and determining allowed ids in general (if global announcements are included) git-svn-id: file:///svn/phpbb/trunk@6787 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 7886091081..6ec68d6c82 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -227,24 +227,35 @@ $module->display($module->get_page_title(), false);
/**
* Functions used to generate additional URL paramters
*/
-function _module_main_url($mode)
+function _module__url($mode, &$module_row)
{
return extra_url();
}
-function _module_logs_url($mode)
+function _module_main_url($mode, &$module_row)
+{
+ return extra_url();
+}
+
+function _module_logs_url($mode, &$module_row)
+{
+ return extra_url();
+}
+
+function _module_ban_url($mode, &$module_row)
{
return extra_url();
}
function extra_url()
{
- global $forum_id, $topic_id, $post_id;
+ global $forum_id, $topic_id, $post_id, $user_id;
$url_extra = '';
$url_extra .= ($forum_id) ? "&amp;f=$forum_id" : '';
$url_extra .= ($topic_id) ? "&amp;t=$topic_id" : '';
$url_extra .= ($post_id) ? "&amp;p=$post_id" : '';
+ $url_extra .= ($user_id) ? "&amp;u=$user_id" : '';
return $url_extra;
}