MantisBT: master-2.25 abafd6b4

Author Committer Branch Timestamp Parent
dregad dregad master-2.25 2022-06-11 06:30 master 0c4ba874
Affected Issues  0030541: Impossibility of deleting attachment with form security validation turned on

Use standard table layout for proj_doc_page.php

Previously the files were presented with a hybrid layout using floating
<span> blocks within a table cell. The Use of print_form_buttons()
within the span tag generated invalid HTML, a problem that was fixed in
87ec8b45bca75ade53150f1f4b669604b71a67ad but that commit introduced a
regression because the CSRF token was not passed on so it was no longer
possible to delete documents.

We now switch to a fully tabular layout, moving the data within the
spans (project, creation date, action buttons) to their own columns and
adjust the markup to align to standard MantisBT UI.

Fixes 0030541

mod - proj_doc_page.php Diff File