mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
lastmodified -> lastupdate
This commit is contained in:
parent
96a1b4db9b
commit
b9c06d35f3
2 changed files with 12 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a utility action (that anyone can use) called hash that hashes a given string. Useful when changing a user's password.",
|
"description": "Adds a utility action (that anyone can use) called hash that hashes a given string. Useful when changing a user's password.",
|
||||||
"id": "action-hash",
|
"id": "action-hash",
|
||||||
"lastmodified": 1429968727
|
"lastupdate": 1429968727
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Credits",
|
"name": "Credits",
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds the credits page. You *must* have this module :D",
|
"description": "Adds the credits page. You *must* have this module :D",
|
||||||
"id": "page-credits",
|
"id": "page-credits",
|
||||||
"lastmodified": 1428760042
|
"lastupdate": 1428760042
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page deleter",
|
"name": "Page deleter",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds an action to allow administrators to delete pages.",
|
"description": "Adds an action to allow administrators to delete pages.",
|
||||||
"id": "page-delete",
|
"id": "page-delete",
|
||||||
"lastmodified": 1428759115
|
"lastupdate": 1428759115
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page editor",
|
"name": "Page editor",
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Allows you to edit pages by adding the edit and save actions. You should probably include this one.",
|
"description": "Allows you to edit pages by adding the edit and save actions. You should probably include this one.",
|
||||||
"id": "page-edit",
|
"id": "page-edit",
|
||||||
"lastmodified": 1428758936
|
"lastupdate": 1428758936
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Help page",
|
"name": "Help page",
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds the help action. You really want this one.",
|
"description": "Adds the help action. You really want this one.",
|
||||||
"id": "page-help",
|
"id": "page-help",
|
||||||
"lastmodified": 1428759307
|
"lastupdate": 1428759307
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page list",
|
"name": "Page list",
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a page that lists all the pages in the index long with their metadata.",
|
"description": "Adds a page that lists all the pages in the index long with their metadata.",
|
||||||
"id": "page-list",
|
"id": "page-list",
|
||||||
"lastmodified": 1428758608
|
"lastupdate": 1428758608
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Login",
|
"name": "Login",
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
"description": "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||||
"id": "page-login",
|
"id": "page-login",
|
||||||
"lastmodified": 1428759587
|
"lastupdate": 1428759587
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Logout",
|
"name": "Logout",
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds an action to let users user out. For security reasons it is wise to add this module since logging in automatically opens a session that is valid for 30 days.",
|
"description": "Adds an action to let users user out. For security reasons it is wise to add this module since logging in automatically opens a session that is valid for 30 days.",
|
||||||
"id": "page-logout",
|
"id": "page-logout",
|
||||||
"lastmodified": 1428760035
|
"lastupdate": 1428760035
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page mover",
|
"name": "Page mover",
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds an action to allow administrators to move pages.",
|
"description": "Adds an action to allow administrators to move pages.",
|
||||||
"id": "page-move",
|
"id": "page-move",
|
||||||
"lastmodified": 1428760214
|
"lastupdate": 1428760214
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Update",
|
"name": "Update",
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds an update page that downloads the latest stable version of Pepperminty Wiki. This module is currently outdated as it doesn't save your module preferences.",
|
"description": "Adds an update page that downloads the latest stable version of Pepperminty Wiki. This module is currently outdated as it doesn't save your module preferences.",
|
||||||
"id": "page-update",
|
"id": "page-update",
|
||||||
"lastmodified": 1428760319
|
"lastupdate": 1428760319
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Page viewer",
|
"name": "Page viewer",
|
||||||
|
@ -85,6 +85,6 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Allows you to view pages. You should include this one.",
|
"description": "Allows you to view pages. You should include this one.",
|
||||||
"id": "page-view",
|
"id": "page-view",
|
||||||
"lastmodified": 1428757674
|
"lastupdate": 1428757674
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -11,7 +11,7 @@ function register_module($settings)
|
||||||
"author" => $settings["author"],
|
"author" => $settings["author"],
|
||||||
"description" => $settings["description"],
|
"description" => $settings["description"],
|
||||||
"id" => $settings["id"],
|
"id" => $settings["id"],
|
||||||
"lastmodified" => filemtime("modules/" . $settings["id"] . ".php")
|
"lastupdate" => filemtime("modules/" . $settings["id"] . ".php")
|
||||||
];
|
];
|
||||||
$module_index[] = $newmodule;
|
$module_index[] = $newmodule;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue