View Issue Details

IDProjectCategoryView StatusLast Update
0024621mantisbthtmlpublic2023-10-31 16:32
ReporterBenStoever Assigned Todregad  
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version2.15.0 
Target Version2.26.0Fixed in Version2.26.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
&lt;/script>↩&lt;/body>↩

17.Error: Unclosed element div.
From line 39, column 1; to line 39, column 48
↩&lt;/style>↩&lt;div class=&quot;main-container&quot; id=&quot;main-container&quot;>↩&lt;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

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.

dregad

dregad

2022-06-03 12:42

developer   ~0066687

Thanks for the bug report.

Related Changesets

MantisBT: master e03cf73b

2022-06-03 12:41

dregad


Details Diff
Fix indentation and add missing </div> tag

Fixes 0024621
Affected Issues
0024621
mod - signup_page.php Diff File