aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-27 03:26:33 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-27 03:26:33 +0000
commit9833d0f01276f4e35e374dc0ad5b6640e64d8438 (patch)
tree7fe8e4d4920de92f2edb403879f1bf0164e21da8 /phpBB/mcp.php
parentf334d54feb139f6fc4726c7f4c14bb3125c49774 (diff)
downloadforums-9833d0f01276f4e35e374dc0ad5b6640e64d8438.tar
forums-9833d0f01276f4e35e374dc0ad5b6640e64d8438.tar.gz
forums-9833d0f01276f4e35e374dc0ad5b6640e64d8438.tar.bz2
forums-9833d0f01276f4e35e374dc0ad5b6640e64d8438.tar.xz
forums-9833d0f01276f4e35e374dc0ad5b6640e64d8438.zip
Still playing around with permissions in MCP - should be fixed shortly
git-svn-id: file:///svn/phpbb/trunk@3560 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 99daa4b74e..0ffa62c8e0 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -253,7 +253,7 @@ $not_moderator = FALSE;
if ($forum_id > 0)
{
- if ($auth->acl_gets($acl_list, $forum_id))
+ if ($auth->acl_gets($acl_list_src, $forum_id))
{
$forum_id_list[] = $forum_id;
}
@@ -272,7 +272,7 @@ if ($topic_id_sql)
while ($row = $db->sql_fetchrow($result))
{
- if ($auth->acl_gets($acl_list, $row['forum_id']))
+ if ($auth->acl_gets($acl_list_src, $row['forum_id']))
{
$forum_id_list[] = $row['forum_id'];
$topic_id_list[] = $row['topic_id'];
@@ -297,7 +297,7 @@ if ($post_id_sql)
while ($row = $db->sql_fetchrow($result))
{
- if ($auth->acl_gets($acl_list, $row['forum_id']))
+ if ($auth->acl_gets($acl_list_src, $row['forum_id']))
{
$forum_id_list[] = $row['forum_id'];
$topic_id_list[] = $row['topic_id'];
@@ -623,7 +623,7 @@ switch ($mode)
case 'topic_view':
mcp_header('mcp_topic.html', TRUE);
- $posts_per_page = (!empty($_REQUEST['posts_per_page'])) ? intval($_REQUEST['posts_per_page']) : 0;
+ $posts_per_page = (isset($_REQUEST['posts_per_page'])) ? intval($_REQUEST['posts_per_page']) : $config['posts_per_page'];
// Post ordering options
$previous_days = array(0 => $user->lang['ALL_POSTS'], 1 => $user->lang['1_DAY'], 7 => $user->lang['7_DAYS'], 14 => $user->lang['2_WEEKS'], 30 => $user->lang['1_MONTH'], 90 => $user->lang['3_MONTHS'], 180 => $user->lang['6_MONTHS'], 364 => $user->lang['1_YEAR']);
@@ -1819,7 +1819,7 @@ function very_temporary_lang_strings()
'POSTS_PER_PAGE_EXPLAIN' => '(Set to 0 to view all posts)',
'MERGE_TOPIC' => 'Merge topic',
- 'MERGE_TOPIC_EXPLAIN' => 'Pour selected posts into another topic, that\'s like baking a cake',
+ 'MERGE_TOPIC_EXPLAIN' => 'Using the form below you can merge selected posts into another topic. These posts will not be reordered and will appear as if the users posted them to the new topic. Please enter the destination topic id or click on the "Select" button to search for one',
'MERGE_TOPIC_ID' => 'Destination topic id',
'MERGE_POSTS' => 'Merge posts',