[BUGFIX] Add page.target to external links in fluid_styled_content 49/50449/2
authorMichael Oehlhof <typo3@oehlhof.de>
Mon, 31 Oct 2016 09:36:58 +0000 (10:36 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 2 Nov 2016 01:28:26 +0000 (02:28 +0100)
Resolves: #78006
Releases: master
Change-Id: I1e1caf13e4b8da7ed1a6253c3004fe2b94593aa1
Reviewed-on: https://review.typo3.org/50449
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
12 files changed:
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Directory.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-0.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-1.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-2.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-3.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-4.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-5.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-6.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-7.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-8.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-categorized_content.html
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-categorized_pages.html

index 8230bbf..1da2ec7 100644 (file)
@@ -4,7 +4,7 @@
                <ul>
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index a8d26ef..8970b5d 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-0">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index a231f7c..8b764c8 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-1">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index fc24b75..e8e0de8 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-2">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index 7381dac..d8715f8 100644 (file)
@@ -7,7 +7,7 @@
                                        <f:if condition="{contentElements}">
                                                <f:for each="{contentElements}" as="contentElement">
                                                        <li>
-                                                               <f:link.page pageUid="{page.uid}" section="c{contentElement.uid}">
+                                                               <f:link.page pageUid="{page.uid}" section="c{contentElement.uid}" target="{page.target}">
                                                                        {contentElement.header}
                                                                </f:link.page>
                                                        </li>
index 019c8fc..0f54944 100644 (file)
@@ -4,7 +4,7 @@
                <dl class="ce-menu ce-menu-4">
                        <f:for each="{pages}" as="page">
                                <dt>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index 66ebdfb..df24f4b 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-5">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index ed96866..0e50f4d 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-6">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index fe51e44..b9a5027 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-7">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
@@ -20,7 +20,7 @@
                                                <ul>
                                                        <f:for each="{contentElements}" as="contentElement">
                                                                <li>
-                                                                       <f:link.page pageUid="{page.uid}" section="c{contentElement.uid}">
+                                                                       <f:link.page pageUid="{page.uid}" section="c{contentElement.uid}" target="{page.target}">
                                                                                {contentElement.header}
                                                                        </f:link.page>
                                                                </li>
index 17eac7f..4d308a6 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-8">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}
index c047003..8beb723 100644 (file)
@@ -5,7 +5,7 @@
                        <f:for each="{contentElements}" as="contentElement">
                                <f:if condition="{contentElement.header}">
                                        <li>
-                                               <f:link.page pageUid="{contentElement.pid}" section="c{contentElement.uid}">
+                                               <f:link.page pageUid="{contentElement.pid}" section="c{contentElement.uid}" target="{page.target}">
                                                        {contentElement.header}
                                                </f:link.page>
                                        </li>
index b4a5e04..0b3d969 100644 (file)
@@ -4,7 +4,7 @@
                <ul class="ce-menu ce-menu-9">
                        <f:for each="{pages}" as="page">
                                <li>
-                                       <f:link.page pageUid="{page.uid}">
+                                       <f:link.page pageUid="{page.uid}" target="{page.target}">
                                                <f:if condition="{page.nav_title}">
                                                        <f:then>
                                                                {page.nav_title}