PHPdoc Update
Remove unused variables from current_user_get_bug_filter
Remove Unused Variables from Mantis Core
Code Guidelines: Fix naming of variable '$result' to $t_result
Fix #16951: Remove hardcoded 'Due date was' string

Signed-off-by: Damien Regad <dregad@mantisbt.org>
More i18n-friendly string for overdue label

Using a parameter within the language string avoids hardcoding of text
elements' order, which is better for translators.

Fixes #16951
Remove hardcoded file size unit 'k'

Fixes #16970

Signed-off-by: Damien Regad <dregad@mantisbt.org>
New API functions to print maximum file size

- get_filesize_info() returns the file size in the desired unit
- print_max_filesize() prints the span tag with maximum file size in
  desired unit, including tooltip in bytes

Updated language strings, refactored code to use the new functions

Issue #16970
Fix #16986: file_download.php adds buffer trash to file contents
Fix #16989: The bug_get_bugnote_count() function in the bug API always returns 0
Code cleanup

- remove unneeded variables
- replace ternary operator with array_splice call
Merge pull request #140 from dregad/hardcoded-strings

Fix hardcoded strings
Install: Use PHP_EOL instead of '\n'
Install: escape strings in generated config_inc.php

Fixes #17012
Install: remove redundant db version info line
Install: fix HTML and layout

- added missing tr and td tags
- moved incorrectly placed closing form tag
- move config_inc.php table within cell of parent
- make final status and link a table instead of paragraph
CSS: fix padding for main menu items

Old CSS caused the menu item's link to extend from the right of the text
until the vertical bar, while the padding to the left was not
hyperlinked.

The item's text is now centered within the CSS box instead of
left-justified, fixing that behavior.
Increase size of bug jump form text field

Size of 4 was too small to fit the default 7-char bug id
Fix SQL injection vulnerability in adm_config_report.php

Jakub Galczyk (HauntIT blog http://hauntit.blogspot.com/) reported this
issue, introduced by f8a81a33880752364ea47bdd9a987bff986c81de in
MantisBT 1.2.13.

Root cause is the use of unsanitized inlined query parameters.

Fixes #17055
Incorrect project-specific where clause

If user has access to only one project (or if there is only one project
in bug tracker), helper_project_specific_where() function returned an
incorrect where clause when $project_id == ALL_PROJECTS.

Fixes #17073