mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
New template var for future use.
git-svn-id: file:///svn/phpbb/trunk@3600 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -77,7 +77,7 @@ if (isset($_GET['view']) && empty($post_id))
|
||||
redirect("viewtopic.$phpEx$SID&p=" . $row['post_id'] . "#" . $row['post_id']);
|
||||
}
|
||||
|
||||
redirect("index.$phpEx");
|
||||
redirect("index.$phpEx$SID");
|
||||
}
|
||||
else if ($_GET['view'] == 'next' || $_GET['view'] == 'previous')
|
||||
{
|
||||
@@ -347,6 +347,7 @@ $template->assign_vars(array(
|
||||
'S_TOPIC_ACTION' => "viewtopic.$phpEx$SID&t=" . $topic_id . "&start=$start",
|
||||
'S_TOPIC_MOD' => ($topic_mod != '') ? '<select name="mode">' . $topic_mod . '</select>' : '',
|
||||
'S_MOD_ACTION' => "mcp.$phpEx?sid=" . $user->session_id . "&t=$topic_id&quickmod=1",
|
||||
|
||||
'S_WATCH_TOPIC' => $s_watching_topic,
|
||||
'S_SHOW_SEARCHBOX' => ($auth->acl_gets('f_search', 'm_', 'a_', $forum_id)) ? true : false,
|
||||
'S_SEARCHBOX_ACTION' => "search.$phpEx$SID&f=$forum_id",
|
||||
@@ -843,11 +844,18 @@ if ($row = $db->sql_fetchrow($result))
|
||||
'YIM_IMG' => $user_cache[$poster_id]['yim_img'],
|
||||
'YIM' => $user_cache[$poster_id]['yim'],
|
||||
|
||||
'S_POST_REPORTED' => (!empty($row['post_reported']) && $auth->acl_gets('m_', 'a_', $forum_id)) ? TRUE : FALSE,
|
||||
'U_REPORT' => "report.$phpEx$SID&p=" . $row['post_id'],
|
||||
'U_MCP_REPORT' => "mcp.$phpEx$SID&mode=post_details&p=" . $row['post_id'],
|
||||
// no img yet as I could not get the subSilver to work with PSP - Ashe
|
||||
'REPORT_IMG' => $user->img('icon_report', $user->lang['REPORT_TO_ADMIN']),
|
||||
|
||||
'POST_ICON' => (!empty($row['icon_id'])) ? '<img src="' . $config['icons_path'] . '/' . $icons[$row['icon_id']]['img'] . '" width="' . $icons[$row['icon_id']]['width'] . '" height="' . $icons[$row['icon_id']]['height'] . '" alt="" title="" />' : '',
|
||||
|
||||
'L_MINI_POST_ALT' => $mini_post_alt,
|
||||
|
||||
'S_ROW_COUNT' => $i++,
|
||||
'S_POST_APPROVED' => (!empty($row['post_approved'])) ? TRUE : FALSE,
|
||||
|
||||
'U_MINI_POST' => $mini_post_url,
|
||||
'U_POST_ID' => $u_post_id
|
||||
|
Reference in New Issue
Block a user