diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-06-25 10:24:56 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-09 18:44:41 +0200 |
commit | 1f87b25709500917438b4588dbf9377f90fbc252 (patch) | |
tree | bca0ad46e45510d5b55f2f8614e8df91f0b64a9b /phpBB | |
parent | 9f20ff7b9e998688c06737a546fbcaabd87b22ef (diff) | |
download | forums-1f87b25709500917438b4588dbf9377f90fbc252.tar forums-1f87b25709500917438b4588dbf9377f90fbc252.tar.gz forums-1f87b25709500917438b4588dbf9377f90fbc252.tar.bz2 forums-1f87b25709500917438b4588dbf9377f90fbc252.tar.xz forums-1f87b25709500917438b4588dbf9377f90fbc252.zip |
[ticket/12591] Introduce a BC fallback
PHPBB3-12591
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/template/navbar_header.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index 7aa5ded752..9584aaf415 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -189,8 +189,10 @@ <span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemtype="https://schema.org/Thing" itemprop="item" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> <!-- BEGIN navlinks --> + {% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %} + {% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %} <!-- EVENT overall_header_navlink_prepend --> - <span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{navlinks.U_BREADCRUMB}" itemtype="https://schema.org/Thing" itemprop="item"><span itemprop="name">{navlinks.BREADCRUMB_NAME}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> + <span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span> <!-- EVENT overall_header_navlink_append --> <!-- END navlinks --> <!-- EVENT overall_header_breadcrumb_append --> |