Skip to content

fix(webserver): correct structural HTML errors in default template - #87

Merged
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:fix/structural-html-errors
Jun 11, 2026
Merged

fix(webserver): correct structural HTML errors in default template#87
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:fix/structural-html-errors

Conversation

@ngosang

@ngosang ngosang commented Jun 11, 2026

Copy link
Copy Markdown
Member

Fix several invalid-markup issues across the default template pages, with no visual or behavioral change intended:

- stats.php: the document went straight from </head> to <table> and ended at </html>; add the missing <body> and </body> tags.
- log.php: replace the invalid <code><pre> nesting with <pre> alone, and drop the <meta http-equiv="pragmas"> tag (a typo for "pragma", and redundant anyway since every response already carries Cache-Control: no-cache headers).
- amuleweb-main-search.php: the search results header <th> cells had no opening <tr>, and each result row was closed with a duplicated </tr></tr>.
- footer.php: add the missing </tr> before </table>.
- amuleweb-main-prefs.php: the "Page refresh interval" row content was missing its opening <tr>.
- amuleweb-main-dload.php: remove the duplicated attribute in the toolbar's <img img name=...> tags, a duplicated border="0" on the filter button image, and the empty onLoad=""/onload="" attributes.
- login.php: drop the stray valign="middle" from <body>, which is not a valid body attribute.

Fix several invalid-markup issues across the default template pages,
with no visual or behavioral change intended:

- stats.php: the document went straight from </head> to <table> and
  ended at </html>; add the missing <body> and </body> tags.
- log.php: replace the invalid <code><pre> nesting with <pre> alone,
  and drop the <meta http-equiv="pragmas"> tag (a typo for "pragma",
  and redundant anyway since every response already carries
  Cache-Control: no-cache headers).
- amuleweb-main-search.php: the search results header <th> cells had
  no opening <tr>, and each result row was closed with a duplicated
  </tr></tr>.
- footer.php: add the missing </tr> before </table>.
- amuleweb-main-prefs.php: the "Page refresh interval" row content was
  missing its opening <tr>.
- amuleweb-main-dload.php: remove the duplicated attribute in the
  toolbar's <img img name=...> tags, a duplicated border="0" on the
  filter button image, and the empty onLoad=""/onload="" attributes.
- login.php: drop the stray valign="middle" from <body>, which is not
  a valid body attribute.

Part of the P2 markup cleanup in .claude/WEBUI_MODERNIZATION.md
(item 11, "Structural HTML errors").
@ngosang
ngosang merged commit e368c48 into amule-org:master Jun 11, 2026
9 checks passed
@ngosang
ngosang deleted the fix/structural-html-errors branch June 11, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant