From 6b6e2bd6f7c3480955ad930b85c690650a3228ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Fri, 19 Jan 2018 11:52:30 +0100 Subject: [PATCH] refactor: use the new menu classes from master if available This is still fully compatible with the current stable Frusterick Manners, however these old method calls should be removed after the release of Greebo. --- main.php | 9 ++++++- tpl/main-sidebar-nav.php | 44 +++++++++++++++++++++-------------- tpl/nav-page-tools.php | 12 ++++++---- tpl/nav-usertools-buttons.php | 40 +++++++++++++++++++++++++++---- 4 files changed, 78 insertions(+), 27 deletions(-) diff --git a/main.php b/main.php index 7374d5f..ca30f2e 100755 --- a/main.php +++ b/main.php @@ -140,7 +140,14 @@ $classWideContent = ($ACT === "show") ? "": "wide-content "; diff --git a/tpl/main-sidebar-nav.php b/tpl/main-sidebar-nav.php index a084504..7157957 100644 --- a/tpl/main-sidebar-nav.php +++ b/tpl/main-sidebar-nav.php @@ -12,14 +12,19 @@ @@ -34,15 +39,20 @@ diff --git a/tpl/nav-page-tools.php b/tpl/nav-page-tools.php index c261be0..bf4e352 100755 --- a/tpl/nav-page-tools.php +++ b/tpl/nav-page-tools.php @@ -11,12 +11,16 @@ if (!defined('DOKU_INC')) { diff --git a/tpl/nav-usertools-buttons.php b/tpl/nav-usertools-buttons.php index c321a85..f93cbb4 100755 --- a/tpl/nav-usertools-buttons.php +++ b/tpl/nav-usertools-buttons.php @@ -6,7 +6,19 @@