mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
Sort the registered actions list on the dev help page
This commit is contained in:
parent
94e597a895
commit
355d6fbb56
4 changed files with 12 additions and 7 deletions
|
@ -22,6 +22,7 @@
|
|||
- Improved recent changes links a bit.
|
||||
- Improved tabbing through the file upload form.
|
||||
- Changed the way users' data is stored to support arbitrary per-user data
|
||||
- Sorted list of registered actions on the dev help page
|
||||
|
||||
## Fixed
|
||||
- The login session lifetime is now configurable (defaults to 24 hours), so you won't keep getting logged out all the time (in theory). (#113)
|
||||
|
|
|
@ -4790,9 +4790,11 @@ register_module([
|
|||
}
|
||||
$content .= "\t\t\t<tr><th colspan='2' style='text-align: right;'>Total:</th><td>" . human_filesize($totalSize) . "</td></tr>\n";
|
||||
$content .= "\t\t</table>\n";
|
||||
$content .= "<h3>Registered Actions</h3>
|
||||
<p>The following actions are currently registered:</p>\n";
|
||||
$content .= "<p>" . implode(", ", array_keys(get_object_vars($actions))) . "</p>";
|
||||
$content .= "<h3>Registered Actions</h3>";
|
||||
$registeredActions = array_keys(get_object_vars($actions));
|
||||
sort($registeredActions);
|
||||
$content .= "<p>The following actions are currently registered:</p>\n";
|
||||
$content .= "<p>" . implode(", ", $registeredActions) . "</p>";
|
||||
$content .= "<h3>Environment</h3>\n";
|
||||
$content .= "<ul>\n";
|
||||
$content .= "<li>$settings->sitename's root directory is " . (!is_writeable(__DIR__) ? "not " : "") . "writeable.</li>\n";
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds a rather useful help page. Access through the 'help' action. This module also exposes help content added to Pepperminty Wiki's inbuilt invisible help section system.",
|
||||
"id": "page-help",
|
||||
"lastupdate": 1472230366,
|
||||
"lastupdate": 1486826875,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -49,9 +49,11 @@ register_module([
|
|||
}
|
||||
$content .= "\t\t\t<tr><th colspan='2' style='text-align: right;'>Total:</th><td>" . human_filesize($totalSize) . "</td></tr>\n";
|
||||
$content .= "\t\t</table>\n";
|
||||
$content .= "<h3>Registered Actions</h3>
|
||||
<p>The following actions are currently registered:</p>\n";
|
||||
$content .= "<p>" . implode(", ", array_keys(get_object_vars($actions))) . "</p>";
|
||||
$content .= "<h3>Registered Actions</h3>";
|
||||
$registeredActions = array_keys(get_object_vars($actions));
|
||||
sort($registeredActions);
|
||||
$content .= "<p>The following actions are currently registered:</p>\n";
|
||||
$content .= "<p>" . implode(", ", $registeredActions) . "</p>";
|
||||
$content .= "<h3>Environment</h3>\n";
|
||||
$content .= "<ul>\n";
|
||||
$content .= "<li>$settings->sitename's root directory is " . (!is_writeable(__DIR__) ? "not " : "") . "writeable.</li>\n";
|
||||
|
|
Loading…
Reference in a new issue