mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/11241] Consolidate topic actions into "Topic tools" dropdown.
PHPBB3-11241
This commit is contained in:
@@ -1384,16 +1384,17 @@ if (sizeof($attach_list))
|
||||
}
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_HAS_ATTACHMENTS' => $topic_data['topic_attachment'],
|
||||
));
|
||||
|
||||
$methods = phpbb_gen_download_links('topic_id', $topic_id, $phpbb_root_path, $phpEx);
|
||||
foreach ($methods as $method)
|
||||
{
|
||||
$template->assign_block_vars('dl_method', $method);
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_HAS_ATTACHMENTS' => $topic_data['topic_attachment'],
|
||||
'U_DOWNLOAD_ALL_ATTACHMENTS' => $methods[0]['LINK'],
|
||||
));
|
||||
|
||||
// Instantiate BBCode if need be
|
||||
if ($bbcode_bitfield !== '')
|
||||
{
|
||||
|
Reference in New Issue
Block a user