mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Add say hi button to firstrun wizard :D - closes #175
This commit is contained in:
parent
52cb0d02dc
commit
60cca5a5e2
4 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
This file holds the changelog for Pepperminty Wiki. This is the master list of things that have changed (second only to the commit history!) - though the information for any particular release can also be found in the description of it's page for every release made on GitHub too.
|
This file holds the changelog for Pepperminty Wiki. This is the master list of things that have changed (second only to the commit history!) - though the information for any particular release can also be found in the description of it's page for every release made on GitHub too.
|
||||||
|
|
||||||
|
## v0.20-beta2
|
||||||
|
|
||||||
## v0.20-beta1
|
## v0.20-beta1
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
"version": "0.1",
|
"version": "0.1",
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Displays a special page to aid in setting up a new wiki for the first time.",
|
"description": "Displays a special page to aid in setting up a new wiki for the first time.",
|
||||||
"lastupdate": 1568802471,
|
"lastupdate": 1574596170,
|
||||||
"optional": false,
|
"optional": false,
|
||||||
"extra_data": []
|
"extra_data": []
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,7 +33,7 @@ register_module([
|
||||||
* ██ ██ ██ ██ ███████ ██ ██ ██ ██████ ██ ████
|
* ██ ██ ██ ██ ███████ ██ ██ ██ ██████ ██ ████
|
||||||
*/
|
*/
|
||||||
add_action("firstrun", function() {
|
add_action("firstrun", function() {
|
||||||
global $settings, $settingsFilename;
|
global $settings, $settingsFilename, $version;
|
||||||
|
|
||||||
if($settings->firstrun_complete) {
|
if($settings->firstrun_complete) {
|
||||||
http_response_code(400);
|
http_response_code(400);
|
||||||
|
@ -74,6 +74,7 @@ register_module([
|
||||||
$result = "<h1>Welcome!</h1>
|
$result = "<h1>Welcome!</h1>
|
||||||
<p>Welcome to Pepperminty Wiki.</p>
|
<p>Welcome to Pepperminty Wiki.</p>
|
||||||
<p>Fill out the below form to get your wiki up and running!</p>
|
<p>Fill out the below form to get your wiki up and running!</p>
|
||||||
|
<p>Optionally, <a target='_blank' href='https://starbeamrainbowlabs.com/blog/viewtracker.php?action=record&post-id=pepperminty-wiki/$version&format=text'>click this link</a> to say hi and let Starbeamrainbowlabs know that you're setting up a new Pepperminty Wiki $version instance.</p>
|
||||||
<form method='post' action='?action=firstrun-complete'>
|
<form method='post' action='?action=firstrun-complete'>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Authorisation</legend>
|
<legend>Authorisation</legend>
|
||||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
||||||
v0.20-beta1
|
v0.20-beta2
|
||||||
|
|
Loading…
Reference in a new issue