Refactor the default peppermint.json nav more menu value

....but the supporting backend code isn't there yet.
This commit is contained in:
Starbeamrainbowlabs 2019-08-29 00:16:13 +01:00
parent 0427f8818f
commit 2c37d77f82
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 50 additions and 42 deletions

View File

@ -69,52 +69,60 @@
],
"menu"
]},
"nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": [
[
"⌛ Page History",
"?action=history&page={page}"
"nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": {
"Page": [
[
"⌛ Page History",
"?action=history&page={page}"
],
[
"📤 Upload",
"index.php?action=upload"
]
],
[
"🎫 All Tags",
"index.php?action=list-tags"
"Navigation": [
[
"🎫 All Tags",
"index.php?action=list-tags"
],
[
"🎊 Random Page",
"?action=random"
],
[
"📅 Recent changes",
"?action=recent-changes"
]
],
[
"👥 All Users",
"index.php?action=user-list"
"Wiki": [
[
"📊 Statistics",
"?action=stats"
],
[
"👥 All Users",
"index.php?action=user-list"
]
],
[
"🎊 Random Page",
"?action=random"
],
[
"🗓 Recent changes",
"?action=recent-changes"
],
[
"📊 Statistics",
"?action=stats"
],
[
"🌥 Upload",
"index.php?action=upload"
],
[
"◆ 🚫 Delete",
"index.php?action=delete&page={page}"
],
[
"◆ 🚠 Move",
"index.php?action=move&page={page}"
],
[
"◆ 🔐 Toggle Protection",
"index.php?action=protect&page={page}"
],
[
"◆ 🔧 Edit master settings",
"index.php?action=configure"
"Moderator": [
[
"◆ 🚫 Delete",
"index.php?action=delete&page={page}"
],
[
"◆ 🚠 Move",
"index.php?action=move&page={page}"
],
[
"◆ 🔐 Toggle Protection",
"index.php?action=protect&page={page}"
],
[
"◆ 🔧 Edit master settings",
"index.php?action=configure"
]
]
]},
} },
"nav_links_bottom": { "type": "nav", "description": "An array of links in the above format that will be shown at the bottom of the page.", "default": [
[
"🖨 Printable version",