1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-21 16:13:00 +00:00

Add say hi button to firstrun wizard :D - closes #175

This commit is contained in:
Starbeamrainbowlabs 2019-11-24 11:50:49 +00:00
parent 52cb0d02dc
commit 60cca5a5e2
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
4 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# 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.
## v0.20-beta2
## v0.20-beta1

View file

@ -75,7 +75,7 @@
"version": "0.1",
"author": "Starbeamrainbowlabs",
"description": "Displays a special page to aid in setting up a new wiki for the first time.",
"lastupdate": 1568802471,
"lastupdate": 1574596170,
"optional": false,
"extra_data": []
},

View file

@ -33,7 +33,7 @@ register_module([
* ██ ██ ██ ██ ███████ ██ ██ ██ ██████ ██ ████
*/
add_action("firstrun", function() {
global $settings, $settingsFilename;
global $settings, $settingsFilename, $version;
if($settings->firstrun_complete) {
http_response_code(400);
@ -74,6 +74,7 @@ register_module([
$result = "<h1>Welcome!</h1>
<p>Welcome to Pepperminty Wiki.</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'>
<fieldset>
<legend>Authorisation</legend>

View file

@ -1 +1 @@
v0.20-beta1
v0.20-beta2