Revert "Updated"

This reverts commit 903b50f740.
This commit is contained in:
Roman Kelesidis 2023-10-30 17:25:42 +07:00
parent aaff47b8a9
commit 474130fd73
4 changed files with 21 additions and 21 deletions

View File

@ -260,11 +260,11 @@ function search_attachments($order_by, &$total_rows)
{
if ($search_count_smaller != '')
{
$where_sql[] = ' (a.download_count <= ' . (int) $search_count_smaller . ') ';
$where_sql[] = ' (a.download_count < ' . (int) $search_count_smaller . ') ';
}
else if ($search_count_greater != '')
{
$where_sql[] = ' (a.download_count >= ' . (int) $search_count_greater . ') ';
$where_sql[] = ' (a.download_count > ' . (int) $search_count_greater . ') ';
}
}
@ -273,18 +273,18 @@ function search_attachments($order_by, &$total_rows)
{
if ($search_size_smaller != '')
{
$where_sql[] = ' (a.filesize <= ' . (int) $search_size_smaller . ') ';
$where_sql[] = ' (a.filesize < ' . (int) $search_size_smaller . ') ';
}
else if ($search_size_greater != '')
{
$where_sql[] = ' (a.filesize >= ' . (int) $search_size_greater . ') ';
$where_sql[] = ' (a.filesize > ' . (int) $search_size_greater . ') ';
}
}
// Search Attachment Time
if ($search_days_greater != '')
{
$where_sql[] = ' (a.filetime <= ' . ( TIMENOW - ((int) $search_days_greater * 86400)) . ') ';
$where_sql[] = ' (a.filetime < ' . ( TIMENOW - ((int) $search_days_greater * 86400)) . ') ';
}
// Search Forum
@ -350,4 +350,4 @@ function limit_array($array, $start, $pagelimit)
}
return $limit_array;
}
}

View File

@ -2212,11 +2212,11 @@ $lang['FILECOMMENT'] = 'File Comment';
// Control Panel -> Search
$lang['SEARCH_WILDCARD_EXPLAIN'] = 'Use * as a wildcard for partial matches';
$lang['SIZE_SMALLER_THAN'] = 'Attachment size smaller than (or equal) (in bytes)';
$lang['SIZE_GREATER_THAN'] = 'Attachment size greater than (or equal) (in bytes)';
$lang['COUNT_SMALLER_THAN'] = 'Download count is smaller than (or equal)';
$lang['COUNT_GREATER_THAN'] = 'Download count is greater than (or equal)';
$lang['MORE_DAYS_OLD'] = 'More than (or equal) this many days old';
$lang['SIZE_SMALLER_THAN'] = 'Attachment size smaller than (bytes)';
$lang['SIZE_GREATER_THAN'] = 'Attachment size greater than (bytes)';
$lang['COUNT_SMALLER_THAN'] = 'Download count is smaller than';
$lang['COUNT_GREATER_THAN'] = 'Download count is greater than';
$lang['MORE_DAYS_OLD'] = 'More than this many days old';
$lang['NO_ATTACH_SEARCH_MATCH'] = 'No Attachments met your search criteria';
// Control Panel -> Statistics

View File

@ -2212,11 +2212,11 @@ $lang['FILECOMMENT'] = 'Комментарий к файлу';
// Control Panel -> Search
$lang['SEARCH_WILDCARD_EXPLAIN'] = 'Используйте *, если не знаете точного названия';
$lang['SIZE_SMALLER_THAN'] = 'Приложение меньше чем (либо равно) (в байтах)';
$lang['SIZE_GREATER_THAN'] = 'Приложение больше чем (либо равно) (в байтах)';
$lang['COUNT_SMALLER_THAN'] = 'Количество скачиваний меньше чем (либо равно)';
$lang['COUNT_GREATER_THAN'] = 'Количество скачиваний больше чем (либо равно)';
$lang['MORE_DAYS_OLD'] = 'Старее, чем (либо равно) это количество дней';
$lang['SIZE_SMALLER_THAN'] = 'Приложение меньше чем (в байтах)';
$lang['SIZE_GREATER_THAN'] = 'Приложение больше чем (в байтах)';
$lang['COUNT_SMALLER_THAN'] = 'Количество скачиваний меньше чем';
$lang['COUNT_GREATER_THAN'] = 'Количество скачиваний больше чем';
$lang['MORE_DAYS_OLD'] = 'Старее, чем это количество дней';
$lang['NO_ATTACH_SEARCH_MATCH'] = 'Не найдено ни одного приложения, которое бы отвечало Вашему поиску';
// Control Panel -> Statistics

View File

@ -2212,11 +2212,11 @@ $lang['FILECOMMENT'] = 'Коментар до файлу';
// Control Panel -> Search
$lang['SEARCH_WILDCARD_EXPLAIN'] = 'Використовуйте *, якщо не знаєте точної назви';
$lang['SIZE_SMALLER_THAN'] = 'Додаток менше ніж (або дорівнює) (в байтах)';
$lang['SIZE_GREATER_THAN'] = 'Додаток більше ніж (або дорівнює) (в байтах)';
$lang['COUNT_SMALLER_THAN'] = 'Кількість скачувань менше ніж (або дорівнює)';
$lang['COUNT_GREATER_THAN'] = 'Кількість скачувань більше ніж (або дорівнює)';
$lang['MORE_DAYS_OLD'] = 'Старіше, ніж (або дорівнює) ця кількість днів';
$lang['SIZE_SMALLER_THAN'] = 'Додаток менше ніж (в байтах)';
$lang['SIZE_GREATER_THAN'] = 'Додаток більше ніж (в байтах)';
$lang['COUNT_SMALLER_THAN'] = 'Кількість скачувань менше ніж';
$lang['COUNT_GREATER_THAN'] = 'Кількість скачувань більше ніж';
$lang['MORE_DAYS_OLD'] = 'Старіше, ніж ця кількість днів';
$lang['NO_ATTACH_SEARCH_MATCH'] = 'Не знайдено жодного додатка, яке б відповідало Вашому пошуку';
// Control Panel -> Statistics