Fix workflow transition to status reopened always checked

In manage_config_workflow_page.php, the code was always showing the
'reopened' states as checked regardless of the actual values stored in
the database.

This was due to storing the 'reopened' label within the array of values
used to build the table to display, which consequently were always set.

The code that initializes the labels has been removed from function
parse_workflow(), and the logic is now handled directly in show_flag(),
with globally initialized variables for better performance.

Fixes #12129
Localisation updates from http://translatewiki.net.
Localisation updates from http://translatewiki.net.
Fix #14122: Revised message for error 2800

The message now reflects the fact that an invalid security token error
is often triggered because of a session timeout.
Documentation update

Referenced several missing options in the Configuration / Webserver
section of the Admin guide
Documentation update: new 'Troubleshooting' chapter in Admin guide

The purpose of this new chapter is to provide additional information to
the Administrator regarding known issues and standard application errors
in MantisBT.
Improved get_status_option_list() function

Previous behavior to return all available values for the status enum
when the workflow is not set for the given status, could potentially
result in a security issue (letting the user bypass the workflow). The
function now returns an empty array in this case, leaving it up to the
caller to handle a possibly empty list.

Simplified and optimized the test in the foreach loop.

Do not add 'closed' status to the list if it is the current status.

Added PHPdoc function header.

Affects #11661, #14156
Add 'Close' button for bugs

This commit introduces a new 'Close' button in the View Issue Details
page, making it easier and more intuitive for reporters to close their
own issues (when $g_allow_reporter_close = ON).

It also improves the access level verifications, simplifies the code and
makes it more readable by using standard access check functions.

This is an improvement over the functionality implemented in #11502 not
only in terms of usability, but also for security as in some specific
cases users could actually bypass the workflow.

Fixes #14156
Localisation updates from http://translatewiki.net.
Fix #14105: Access to undefined variable in bugnote_api.php
Localisation updates from http://translatewiki.net.
Fix #14188: SOAP update function accesses undefined variable in error handling
Use BugData object as function param for several functions

Commit 0ec4563af05e02dfe9d82238f3f1634fd3884b0e introduced an undefined
variable warning, due to removal of a call to bug_get_field function to
retrieve the project_id. This could actually cause the incorrect status
to be retrieved in html_button_bug_reopen() and html_button_bug_close(),
potentially allowing users to close or reopen issues when they are not
entitled to.

Instead of adding the function call back as it was, the code was
modified to use a BugData object instead of a bug id as parameter for
several functions in access_api.php and html_api.php, resulting in
simpler and more efficient code thanks to fewer calls to bug_get() and
bug_get_field().

Fixes #14191, Affects #14156
Update the bug's Last Update timestamp when editing a bugnote

Fixes #7633
Documentation: added error 1502 in Troubleshooting guide

Affects #13850, #14189 and several other issues (see related).
Document g_email_send_using_cronjob

#14039: Error when performing tag operations on bugs 
Fix 0013542: ... try to open an iframe and fail

    Replace iframe by include
Fix_0014193:graph_unreadable_date_axis

This correction is about use of "eczlibrary" (not JpGraph)

In "View Issues" > "Graph", the date axis is "2012-0.." and the title is really big.

I fixe axisSpace, modify axis angle, and define maxHeight for the title.
Localisation updates from http://translatewiki.net.
Small changes to include global categories in graph
and to hide empty values

Fixes #012293