From 27a4ac604fda94dedc8edeea0300cdcafbd58f90 Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 6 Mar 2026 09:03:17 +0100 Subject: [PATCH] Fix typo --- tpl_header.php | 129 ++++++++++++++++++++++--------------------------- 1 file changed, 59 insertions(+), 70 deletions(-) diff --git a/tpl_header.php b/tpl_header.php index f663014..7025d19 100755 --- a/tpl_header.php +++ b/tpl_header.php @@ -6,20 +6,6 @@ // must be run from within DokuWiki if (!defined('DOKU_INC')) die(); - -$siteToolsHtml = (new \dokuwiki\Menu\SiteMenu())->getListItems('action '); -$userToolsHtml = ''; -if ($conf['useacl']) { - $userToolsHtml = (new \dokuwiki\Menu\UserMenu())->getListItems('action '); -} - -$breadcrumbsHtml = ''; -if ($conf['youarehere']) { - $breadcrumbsHtml = tpl_youarehere(null, true); -} -if (!$breadcrumbsHtml && $conf['breadcrumbs']) { - $breadcrumbsHtml = tpl_breadcrumbs(null, true); -} ?> @@ -27,73 +13,76 @@ if (!$breadcrumbsHtml && $conf['breadcrumbs']) { - +
+ -
-
-

' . - '' . $conf['title'] . '', - 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"' - ); - ?>

+ // display logo and wiki title in a link to the home page + tpl_link( + wl(), + '' . + '' . $conf['title'] . '', + 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"' + ); + ?> + +

+ +
- - - -
+
+ + +
+

+
    + '; + tpl_userinfo(); /* 'Logged in as ...' */ + echo ''; + } + echo (new \dokuwiki\Menu\UserMenu())->getListItems('action '); + ?> +
+
+ -
+ +

- - -
- - - - -
- -
    - -
- - - - - - - -
-

-
    - -
-
- -
-
- -
getDropdown($lang['tools']); ?>
+
    + getListItems('action '); ?> +
+
+ + + + +