From 5919e2bdb16ab71402b2eca961283f033d633b2c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 6 Aug 2020 23:24:22 +0200 Subject: [PATCH] Added rel attribute for external links in menus --- com.woltlab.wcf/templates/__menu.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl index fcc255f6b0..aec0b7c406 100644 --- a/com.woltlab.wcf/templates/__menu.tpl +++ b/com.woltlab.wcf/templates/__menu.tpl @@ -4,7 +4,7 @@ {foreach from=$menuItemNodeList item=menuItemNode}
  • - isExternalLink()}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}> + getURL() appendClassname=false}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}> {$menuItemNode->getTitle()} {if $menuItemNode->getOutstandingItems() > 0} {#$menuItemNode->getOutstandingItems()} -- 2.20.1