1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

Moved printable button to bottom bar.

This commit is contained in:
Starbeamrainbowlabs 2016-03-12 17:55:35 +00:00
parent 4f2cbfbe30
commit 4e123577ce
4 changed files with 4 additions and 3 deletions

View file

@ -18,6 +18,7 @@
- Changed the default parser to parsedown. - Changed the default parser to parsedown.
- Removed parsedown from the `parser-parsedown` module and replaced it with code that automatically downloads parsedown and parsedown extra on the first run. - Removed parsedown from the `parser-parsedown` module and replaced it with code that automatically downloads parsedown and parsedown extra on the first run.
- Removed Slimdown add from the parsedown parser and replaced it with a custom extension of parsedown extra. - Removed Slimdown add from the parsedown parser and replaced it with a custom extension of parsedown extra.
- Moved printable button to bottom bar and changed display text to "Printable version".
## Fixed ## Fixed
- Removed debug statement from the redirect page module. - Removed debug statement from the redirect page module.

View file

@ -154,7 +154,6 @@ $settings->nav_links = [
"search", "search",
[ "Read", "index.php?page={page}" ], [ "Read", "index.php?page={page}" ],
[ "Edit", "index.php?action=edit&page={page}" ], [ "Edit", "index.php?action=edit&page={page}" ],
[ "Printable", "index.php?action=view&printable=yes&page={page}" ],
//"divider", //"divider",
[ "All Pages", "index.php?action=list" ], [ "All Pages", "index.php?action=list" ],
"menu" "menu"
@ -172,6 +171,7 @@ $settings->nav_links_extra = [
// An array of links in the above format that will be shown at the bottom of // An array of links in the above format that will be shown at the bottom of
// the page. // the page.
$settings->nav_links_bottom = [ $settings->nav_links_bottom = [
[ "🖶 Printable version", "index.php?action=view&printable=yes&page={page}" ],
[ "Credits", "index.php?action=credits" ], [ "Credits", "index.php?action=credits" ],
[ "Help", "index.php?action=help" ] [ "Help", "index.php?action=help" ]
]; ];

View file

@ -194,7 +194,7 @@
"author": "Johnny Broadway, Emanuil Rusev & Starbeamrainbowlabs", "author": "Johnny Broadway, Emanuil Rusev & Starbeamrainbowlabs",
"description": "An upgraded parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds a some weight to your installation, and also requires write access to the disk on first load.", "description": "An upgraded parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds a some weight to your installation, and also requires write access to the disk on first load.",
"id": "parser-parsedown", "id": "parser-parsedown",
"lastupdate": 1457796170, "lastupdate": 1457796287,
"optional": false "optional": false
} }
] ]

View file

@ -151,7 +151,6 @@ $settings->nav_links = [
"search", "search",
[ "Read", "index.php?page={page}" ], [ "Read", "index.php?page={page}" ],
[ "Edit", "index.php?action=edit&page={page}" ], [ "Edit", "index.php?action=edit&page={page}" ],
[ "Printable", "index.php?action=view&printable=yes&page={page}" ],
//"divider", //"divider",
[ "All Pages", "index.php?action=list" ], [ "All Pages", "index.php?action=list" ],
"menu" "menu"
@ -169,6 +168,7 @@ $settings->nav_links_extra = [
// An array of links in the above format that will be shown at the bottom of // An array of links in the above format that will be shown at the bottom of
// the page. // the page.
$settings->nav_links_bottom = [ $settings->nav_links_bottom = [
[ "🖶 Printable version", "index.php?action=view&printable=yes&page={page}" ],
[ "Credits", "index.php?action=credits" ], [ "Credits", "index.php?action=credits" ],
[ "Help", "index.php?action=help" ] [ "Help", "index.php?action=help" ]
]; ];