View Issue Details

IDProjectCategoryView StatusLast Update
0024621mantisbthtmlpublic2018-07-21 08:19
ReporterBenStoever Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.15.0 
Summary0024621: Closing </div> tag missing in sign up page
Description

There seems to be a closing </div> tag missing in the signup page (https://www.mantisbt.org/bugs/signup_page.php) and probably also in other pages the use the same functions from the layout API (e.g., login).

Steps To Reproduce

Run a validator with the sing up URL, e.g.:

https://validator.w3.org/nu/?useragent=Validator.nu%2FLV+http%3A%2F%2Fvalidator.w3.org%2Fservices&amp;acceptlanguage=&amp;doc=https%3A%2F%2Fwww.mantisbt.org%2Fbugs%2Fsignup_page.php

Errors 16 and 17 report the problem:

Error: End tag for body seen, but there were unclosed elements.
From line 124, column 1; to line 124, column 7
</script>↩</body>↩

17.Error: Unclosed element div.
From line 39, column 1; to line 39, column 48
↩</style>↩<div class="main-container" id="main-container">↩<div

Additional Information

I came across this when adjusting the HTML code of MantisBT for use within our system and corporate design. For me, inserting an additional "echo '</div>';" before "layout_body_javascript();" in the function "layout_login_page_end()" in "core/layout_api.php" fixed the problem, but I'm not sure if that is the optimal position to put it.

TagsNo tags attached.

Activities

BenStoever

BenStoever

2018-07-21 08:17

reporter   ~0060288

Last edited: 2018-07-21 08:19

View 2 revisions

The large font sizes in "steps to reproduce" are not intended. Actually I wanted to put in horizontal lines. It seems like I do not have the privileges to edit this anymore.

Issue History

Date Modified Username Field Change
2018-07-21 08:14 BenStoever New Issue
2018-07-21 08:17 BenStoever Note Added: 0060288
2018-07-21 08:19 BenStoever Note Edited: 0060288 View Revisions