diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-03-12 09:14:39 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-03-12 09:14:39 +0100 |
commit | 5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1 (patch) | |
tree | 37bc3db09c81a9970bf0148703130c677d9cccf3 /phpBB/viewtopic.php | |
parent | 1970ee9854393329a3f805742e6e0e693add71b5 (diff) | |
download | forums-5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1.tar forums-5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1.tar.gz forums-5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1.tar.bz2 forums-5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1.tar.xz forums-5da250148bc3a1a3a5be2c9fd9f6eb239d4410c1.zip |
[ticket/9657] Finish subsilver2 viewforum and viewtopic
PHPBB3-9657
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 69da62cecd..a73db3938d 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1665,7 +1665,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '', 'U_MCP_REPORT' => ($auth->acl_get('m_report', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', 'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', - 'U_MCP_RESTORE' => ($auth->acl_get('m_restore', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=deleted_posts&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', + 'U_MCP_RESTORE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=' . (($topic_data['topic_visibility'] != ITEM_DELETED) ? 'deleted_posts' : 'deleted_topics') . '&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '', 'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . '#p' . $row['post_id'], 'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$post_list[$i + 1]])) ? $rowset[$post_list[$i + 1]]['post_id'] : '', 'U_PREV_POST_ID' => $prev_post_id, |