mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Merge bf329709aa
into cb28304866
This commit is contained in:
commit
8d03f547db
3 changed files with 3 additions and 8 deletions
|
@ -2029,11 +2029,6 @@ function get_topic_icon ($topic, $is_unread = null)
|
|||
$folder = $images['folder_locked'];
|
||||
$folder_new = $images['folder_locked_new'];
|
||||
}
|
||||
else if ($topic['tracker_status'])
|
||||
{
|
||||
$folder = ($t_hot) ? $images['folder_dl_hot'] : $images['folder_dl'];
|
||||
$folder_new = ($t_hot) ? $images['folder_dl_hot_new'] : $images['folder_dl_new'];
|
||||
}
|
||||
|
||||
$folder_image = ($is_unread) ? $folder_new : $folder;
|
||||
}
|
||||
|
|
|
@ -14,13 +14,13 @@ $template->assign_vars(array('DL_BUTTONS' => false));
|
|||
|
||||
$count_mode = ($bb_cfg['bt_dl_list_only_count'] && !(@$_GET['dl'] === 'names'));
|
||||
|
||||
$dl_topic = ($t_data['tracker_status'] && !($bb_cfg['bt_dl_list_only_1st_page'] && $start));
|
||||
$dl_topic = !($bb_cfg['bt_dl_list_only_1st_page'] && $start);
|
||||
$show_dl_list = ($dl_topic && ($bb_cfg['bt_show_dl_list'] || ($bb_cfg['allow_dl_list_names_mode'] && @$_GET['dl'] === 'names')));
|
||||
$show_dl_buttons = ($dl_topic && $bb_cfg['bt_show_dl_list_buttons']);
|
||||
|
||||
// link to clear DL-List
|
||||
$template->assign_vars(array('S_DL_DELETE' => false));
|
||||
if ($is_auth['auth_mod'] && $t_data['tracker_status'])
|
||||
if ($is_auth['auth_mod'])
|
||||
{
|
||||
$s_dl_delete = "<a href=\"dl_list.php?mode=dl_delete&". POST_TOPIC_URL ."=$topic_id&sid=". $userdata['session_id'] .'">'. $lang['DL_LIST_DEL'] .'</a>';
|
||||
$template->assign_vars(array('S_DL_DELETE' => $s_dl_delete));
|
||||
|
|
|
@ -485,7 +485,7 @@ foreach ($topic_rowset as $topic)
|
|||
'ATTACH' => $topic['attach_ext_id'],
|
||||
'STATUS' => $topic['topic_status'],
|
||||
'TYPE' => $topic['topic_type'],
|
||||
'DL' => ($topic['tracker_status'] && !$forum_data['allow_reg_tracker']),
|
||||
'DL' => !$forum_data['allow_reg_tracker'],
|
||||
'POLL' => $topic['topic_vote'],
|
||||
'DL_CLASS' => isset($topic['dl_status']) ? $dl_link_css[$topic['dl_status']] : '',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue