diff --git a/Changelog.md b/Changelog.md index 029384e..feb8733 100644 --- a/Changelog.md +++ b/Changelog.md @@ -18,6 +18,7 @@ - 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 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 - Removed debug statement from the redirect page module. diff --git a/build/index.php b/build/index.php index 22fae29..f10c937 100644 --- a/build/index.php +++ b/build/index.php @@ -154,7 +154,6 @@ $settings->nav_links = [ "search", [ "Read", "index.php?page={page}" ], [ "Edit", "index.php?action=edit&page={page}" ], - [ "Printable", "index.php?action=view&printable=yes&page={page}" ], //"divider", [ "All Pages", "index.php?action=list" ], "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 // the page. $settings->nav_links_bottom = [ + [ "🖶 Printable version", "index.php?action=view&printable=yes&page={page}" ], [ "Credits", "index.php?action=credits" ], [ "Help", "index.php?action=help" ] ]; diff --git a/module_index.json b/module_index.json index 0eb6b9d..53e9a99 100644 --- a/module_index.json +++ b/module_index.json @@ -194,7 +194,7 @@ "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.", "id": "parser-parsedown", - "lastupdate": 1457796170, + "lastupdate": 1457796287, "optional": false } ] \ No newline at end of file diff --git a/settings.fragment.php b/settings.fragment.php index 95eead6..9768672 100644 --- a/settings.fragment.php +++ b/settings.fragment.php @@ -151,7 +151,6 @@ $settings->nav_links = [ "search", [ "Read", "index.php?page={page}" ], [ "Edit", "index.php?action=edit&page={page}" ], - [ "Printable", "index.php?action=view&printable=yes&page={page}" ], //"divider", [ "All Pages", "index.php?action=list" ], "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 // the page. $settings->nav_links_bottom = [ + [ "🖶 Printable version", "index.php?action=view&printable=yes&page={page}" ], [ "Credits", "index.php?action=credits" ], [ "Help", "index.php?action=help" ] ];