1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

Add section to help on commenting

This commit is contained in:
Starbeamrainbowlabs 2017-06-18 15:53:21 +01:00
parent e01f8d9852
commit 967eb1ad13
6 changed files with 11 additions and 7 deletions

View file

@ -2115,7 +2115,7 @@ register_module([
"description" => "Adds threaded comments to the bottom of every page.",
"id" => "feature-comments",
"code" => function() {
global $env;
global $env, $settings;
/**
* @api {post} ?action=comment Comment on a page
@ -2308,6 +2308,8 @@ REPLYJS;
page_renderer::AddJSSnippet($reply_js_snippet);
}
add_help_section("29-commenting", "Commenting", "<p>$settings->sitename has a threaded commenting system on every page. You can find it below each page's content, and can either leave a new comment, or reply to an existing one. If you reply to an existing one, then the authors of all the comments above yours will get notified by email of your reply - so long as they have an email address registered in their preferences.</p>");
}
]);

View file

@ -50,7 +50,7 @@
"author": "Starbeamrainbowlabs",
"description": "Adds threaded comments to the bottom of every page.",
"id": "feature-comments",
"lastupdate": 1495481379,
"lastupdate": 1497797540,
"optional": false
},
{

View file

@ -1,12 +1,12 @@
<?php
register_module([
"name" => "Page Comments",
"version" => "0.2",
"version" => "0.2.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds threaded comments to the bottom of every page.",
"id" => "feature-comments",
"code" => function() {
global $env;
global $env, $settings;
/**
* @api {post} ?action=comment Comment on a page
@ -199,6 +199,8 @@ REPLYJS;
page_renderer::AddJSSnippet($reply_js_snippet);
}
add_help_section("29-commenting", "Commenting", "<p>$settings->sitename has a threaded commenting system on every page. You can find it below each page's content, and can either leave a new comment, or reply to an existing one. If you reply to an existing one, then the authors of all the comments above yours will get notified by email of your reply - so long as they have an email address registered in their preferences.</p>");
}
]);

View file

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Uploader",
"version" => "0.5.8",
"version" => "0.5.9",
"author" => "Starbeamrainbowlabs",
"description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.",
"id" => "feature-upload",

View file

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "User Preferences",
"version" => "0.2.1",
"version" => "0.3.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds a user preferences page, letting pople do things like change their email address and password.",
"id" => "feature-user-preferences",

View file

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Page viewer",
"version" => "0.16.4",
"version" => "0.16.5",
"author" => "Starbeamrainbowlabs",
"description" => "Allows you to view pages. You really should include this one.",
"id" => "page-view",