mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Add a more obvious link to the user table at the top of the master settings page
This commit is contained in:
parent
1367641b58
commit
e37541d606
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
|
||||||
- Extra data is packed into a zip archive, which is packed into `index.php` via [`__halt_compiler();`](https://devdocs.io/php/function.halt-compiler)
|
- Extra data is packed into a zip archive, which is packed into `index.php` via [`__halt_compiler();`](https://devdocs.io/php/function.halt-compiler)
|
||||||
- See `parser-parsedown` and `page-edit` for examples on how to use it.
|
- See `parser-parsedown` and `page-edit` for examples on how to use it.
|
||||||
- [Module API] Added new `delete_recursive()` function.
|
- [Module API] Added new `delete_recursive()` function.
|
||||||
|
- Added a new obvious link to the user table at the top of the master settings page.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Core sharding: split `core.php` into multiple files
|
- Core sharding: split `core.php` into multiple files
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Settings GUI",
|
"name" => "Settings GUI",
|
||||||
"version" => "0.1.3",
|
"version" => "0.1.4",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "The module everyone has been waiting for! Adds a web based gui that lets mods change the wiki settings.",
|
"description" => "The module everyone has been waiting for! Adds a web based gui that lets mods change the wiki settings.",
|
||||||
"id" => "feature-guiconfig",
|
"id" => "feature-guiconfig",
|
||||||
|
@ -36,6 +36,8 @@ register_module([
|
||||||
|
|
||||||
$content = "<h1>Master Control Panel</h1>\n";
|
$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";
|
$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>You're currently running Pepperminty Wiki $version+" . substr($commit, 0, 7) . ".</p>\n";
|
$content .= "<p>You're currently running Pepperminty Wiki $version+" . substr($commit, 0, 7) . ".</p>\n";
|
||||||
$content .= "<h2>Actions</h2>";
|
$content .= "<h2>Actions</h2>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue