This commit is contained in:
Roman Kelesidis 2024-01-27 22:27:41 +07:00
parent 492d9a6c32
commit e87ce2b018
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ if ($show_dl_list)
$template->assign_block_vars('dl_users.users_row', array(
'DL_OPTION_NAME' => $lang[strtoupper($desc)],
'DL_OPTION_USERS' => $dl_cat[$i],
'DL_COUNT' => $dl_count[$i],
'DL_COUNT' => declension((int)$dl_count[$i], 'times'),
'DL_USERS_DIV_STYLE' => $dl_users_div_style,
));
}
@ -104,7 +104,7 @@ if ($show_dl_list)
}
$template->assign_block_vars('dl_counts.count_row', array(
'DL_OPTION_NAME' => $lang[strtoupper($desc)],
'DL_OPTION_USERS' => $dl_count[$i],
'DL_OPTION_USERS' => declension((int)$dl_count[$i], 'times'),
));
}
}

View File

@ -20,7 +20,7 @@ $(document).ready(function(){
<!-- BEGIN dl_users -->
<!-- BEGIN users_row -->
<tr>
<td width="5%" class="nowrap"><span title=" {dl_users.users_row.DL_COUNT} "><b>{dl_users.users_row.DL_OPTION_NAME}</b></span></td>
<td width="5%" class="nowrap"><span title="{dl_users.users_row.DL_OPTION_NAME}: {dl_users.users_row.DL_COUNT}"><b>{dl_users.users_row.DL_OPTION_NAME}</b></span></td>
<td width="95%" class="tLeft med pad_4"><div style="{dl_users.users_row.DL_USERS_DIV_STYLE}"><b>{dl_users.users_row.DL_OPTION_USERS}</b></div></td>
</tr>
<!-- END users_row -->