mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
587799a438
commit
7d87a6f57a
@ -81,6 +81,7 @@ if ($show_dl_list)
|
||||
}
|
||||
}
|
||||
|
||||
$dl_count_mode_cnt = 0;
|
||||
foreach ($dl_status_css as $i => $desc)
|
||||
{
|
||||
if ($dl_cat[$i] && !$count_mode)
|
||||
@ -102,12 +103,17 @@ if ($show_dl_list)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
$dl_count_mode_cnt++;
|
||||
}
|
||||
$template->assign_block_vars('dl_counts.count_row', array(
|
||||
'DL_OPTION_NAME' => $lang[strtoupper($desc)],
|
||||
'DL_OPTION_USERS' => $dl_count[$i],
|
||||
));
|
||||
}
|
||||
}
|
||||
$template->assign_vars(array('HIDE_DL_COUNT_EMPTY' => (bool)($count_mode && $dl_count_mode_cnt == 0)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -26,6 +26,7 @@ $(document).ready(function(){
|
||||
<!-- END users_row -->
|
||||
<!-- END dl_users -->
|
||||
|
||||
<!-- IF not HIDE_DL_COUNT_EMPTY -->
|
||||
<!-- BEGIN dl_counts -->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
@ -40,6 +41,7 @@ $(document).ready(function(){
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END dl_counts -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF SHOW_DL_LIST_TOR_INFO -->
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user