mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Add section to help on commenting
This commit is contained in:
parent
e01f8d9852
commit
967eb1ad13
6 changed files with 11 additions and 7 deletions
|
@ -2115,7 +2115,7 @@ register_module([
|
||||||
"description" => "Adds threaded comments to the bottom of every page.",
|
"description" => "Adds threaded comments to the bottom of every page.",
|
||||||
"id" => "feature-comments",
|
"id" => "feature-comments",
|
||||||
"code" => function() {
|
"code" => function() {
|
||||||
global $env;
|
global $env, $settings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @api {post} ?action=comment Comment on a page
|
* @api {post} ?action=comment Comment on a page
|
||||||
|
@ -2308,6 +2308,8 @@ REPLYJS;
|
||||||
page_renderer::AddJSSnippet($reply_js_snippet);
|
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>");
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds threaded comments to the bottom of every page.",
|
"description": "Adds threaded comments to the bottom of every page.",
|
||||||
"id": "feature-comments",
|
"id": "feature-comments",
|
||||||
"lastupdate": 1495481379,
|
"lastupdate": 1497797540,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Page Comments",
|
"name" => "Page Comments",
|
||||||
"version" => "0.2",
|
"version" => "0.2.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds threaded comments to the bottom of every page.",
|
"description" => "Adds threaded comments to the bottom of every page.",
|
||||||
"id" => "feature-comments",
|
"id" => "feature-comments",
|
||||||
"code" => function() {
|
"code" => function() {
|
||||||
global $env;
|
global $env, $settings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @api {post} ?action=comment Comment on a page
|
* @api {post} ?action=comment Comment on a page
|
||||||
|
@ -199,6 +199,8 @@ REPLYJS;
|
||||||
page_renderer::AddJSSnippet($reply_js_snippet);
|
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>");
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Uploader",
|
"name" => "Uploader",
|
||||||
"version" => "0.5.8",
|
"version" => "0.5.9",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.",
|
"description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.",
|
||||||
"id" => "feature-upload",
|
"id" => "feature-upload",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "User Preferences",
|
"name" => "User Preferences",
|
||||||
"version" => "0.2.1",
|
"version" => "0.3.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds a user preferences page, letting pople do things like change their email address and password.",
|
"description" => "Adds a user preferences page, letting pople do things like change their email address and password.",
|
||||||
"id" => "feature-user-preferences",
|
"id" => "feature-user-preferences",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Page viewer",
|
"name" => "Page viewer",
|
||||||
"version" => "0.16.4",
|
"version" => "0.16.5",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Allows you to view pages. You really should include this one.",
|
"description" => "Allows you to view pages. You really should include this one.",
|
||||||
"id" => "page-view",
|
"id" => "page-view",
|
||||||
|
|
Loading…
Reference in a new issue