From e5d40c9a7e6c9e54acc1faa3017e19db507cce13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Thu, 16 Mar 2017 13:25:51 +0100 Subject: [PATCH] Do not show a tab if the content is falsy There may be occasions where plugin does not wish to show any output for the current user/page. In that case the tab should not be shown at all. SPR-895 --- tpl/nav-meta-box.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tpl/nav-meta-box.php b/tpl/nav-meta-box.php index 77328c5..c83145d 100755 --- a/tpl/nav-meta-box.php +++ b/tpl/nav-meta-box.php @@ -9,6 +9,9 @@ $tabs = \dokuwiki\template\sprintdoc\Template::getInstance()->getMetaBoxTabs();
  •  
  • '; echo '