The following patch changes HTML table rendering in views:
- changes '<td><center><b>T</b></center></td>' nonsense to nice '<th>T</th>' in headers (the most important change, allows table theming)
- changes all '<centers>' in tables to ' style="text-align: center;"', in some places removing them entirely ('center' is a deprecated HTML element)
- changes ' width="X%" to ' style="width:X%"' (same as above)
- splits some gigantic php code lines in table views. (self explanatory)
I tested everything the patch touches except "fragers" subpage and guilds joining (couldn't figure out how to setup it). Everything else looks good.
Also, magiclevel highscores don't work, but it is independent of the patch.
View attachment modern.patch.txt
- changes '<td><center><b>T</b></center></td>' nonsense to nice '<th>T</th>' in headers (the most important change, allows table theming)
- changes all '<centers>' in tables to ' style="text-align: center;"', in some places removing them entirely ('center' is a deprecated HTML element)
- changes ' width="X%" to ' style="width:X%"' (same as above)
- splits some gigantic php code lines in table views. (self explanatory)
I tested everything the patch touches except "fragers" subpage and guilds joining (couldn't figure out how to setup it). Everything else looks good.
Also, magiclevel highscores don't work, but it is independent of the patch.
View attachment modern.patch.txt