master settings page: fix invalid HTML that was causing layout issues

....especially when using the photo theme.
This commit is contained in:
Starbeamrainbowlabs 2020-05-09 15:43:12 +01:00
parent fd3edb4fcb
commit 6e3ec4863b
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ _Currently there aren't any plans to make another beta release. These changes wi
### Fixed
- Make `PEPPERMINT_THEME` environment variable work again when compiling on the command line
- Fixed invalid HTML that was causing layout issues on the master settings page
## v0.21-beta1

View File

@ -37,7 +37,7 @@ register_module([
$content = "<h1>Master Control Panel</h1>\n";
$content .= "<p>This page lets you configure $settings->sitename's master settings. Please be careful - you can break things easily on this page if you're not careful!</p>\n";
if(module_exists("feature-user-table"))
$content .= "<p><em>Looking to manage $settings->sitename's users? Try the <a href='?action=user-table'>user table</a> instead!</p>\n";
$content .= "<p><em>Looking to manage $settings->sitename's users? Try the <a href='?action=user-table'>user table</a> instead!</em></p>\n";
if(module_exists("feature-theme-gallery"))
$content .= "<p><em>Want to change $settings->sitename's theme? Try the <a href='?action=theme-gallery'>theme gallery</a>!</em></p>";
$content .= "<p>You're currently running Pepperminty Wiki $version+" . substr($commit, 0, 7) . ".</p>\n";