mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Fix typo
This commit is contained in:
parent
f95e482d85
commit
b367ef42b0
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Settings GUI",
|
"name" => "Settings GUI",
|
||||||
"version" => "0.1.2",
|
"version" => "0.1.3",
|
||||||
"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,7 +36,7 @@ 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";
|
||||||
$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>";
|
||||||
|
|
||||||
$content .= "<button class='action-invindex-rebuild' title='Rebuilds the index that is consulted when searching the wiki. Hit this button if some pages are not showing up.'>Rebuild Search Index</button>\n";
|
$content .= "<button class='action-invindex-rebuild' title='Rebuilds the index that is consulted when searching the wiki. Hit this button if some pages are not showing up.'>Rebuild Search Index</button>\n";
|
||||||
|
@ -142,8 +142,6 @@ SCRIPT;
|
||||||
* ██ ██ ██ ██ ██ ██
|
* ██ ██ ██ ██ ██ ██
|
||||||
* ███████ ██ ██ ████ ███████
|
* ███████ ██ ██ ████ ███████
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
add_action("configure-save", function () {
|
add_action("configure-save", function () {
|
||||||
global $env, $settings, $paths, $defaultCSS;
|
global $env, $settings, $paths, $defaultCSS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue