[BUGFIX] Fix links to backend admin / frontend website in Install Tool 03/53803/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 24 Aug 2017 19:28:15 +0000 (21:28 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 28 Aug 2017 15:12:58 +0000 (17:12 +0200)
The install tool (/typo3/install.php) is at the same directory location
as the backend interface. The links are fixed to point to the correct
locations.
Remove an obsolete f:if along the way, this partial is only loaded
in non backend context anyway.

Resolves: #82199
Related: #76084
Releases: master
Change-Id: I73ff8b0a3bd22827fa2a2c319b0e0bb2ad4e5afa
Reviewed-on: https://review.typo3.org/53803
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/install/Resources/Private/Partials/Action/Common/ModuleMenu.html

index 09c7e01..bd41219 100644 (file)
                                </f:comment>
                        </ul>
                </li>
-               <f:if condition="{contextService.backendContext}">
-                       <f:then></f:then>
-                       <f:else>
-                               <li class="modulemenu-group expanded" id="web" data-modulename="web" data-navigationcomponentid="" data-navigationframescript="" data-navigationframescriptparameters="">
-                                       <ul class="modulemenu-group-container">
-                                               <li class="modulemenu-item t3js-mainmodule ">
-                                                       <a class="modulemenu-item-link" href="../../../index.php" class="btn btn-default btn-block">
-                                                               <span class="modulemenu-icon modulemenu-item-icon">
-                                                                       <span class="t3js-icon icon icon-size-default icon-state-default icon-module-system_extinstall" data-identifier="module-system_extinstall">
-                                                                               <span class="icon-markup">
-                                                                                       <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M9 10v4H2V2h7v4h1V1.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V10H9z"></path><path d="M10.983 5.041a.5.5 0 0 1 .812-.39l3.7 2.96a.5.5 0 0 1 0 .78l-3.7 2.96a.5.5 0 0 1-.812-.39V9H6V7h4.983V5.041z"></path></g></svg>
-                                                                               </span>
-                                                                       </span>
+               <li class="modulemenu-group expanded" id="context" data-modulename="context" data-navigationcomponentid="" data-navigationframescript="" data-navigationframescriptparameters="">
+                       <ul class="modulemenu-group-container">
+                               <li class="modulemenu-item t3js-mainmodule ">
+                                       <a class="modulemenu-item-link" href="index.php">
+                                               <span class="modulemenu-icon modulemenu-item-icon">
+                                                       <span class="t3js-icon icon icon-size-default icon-state-default icon-module-system_extinstall" data-identifier="module-system_extinstall">
+                                                               <span class="icon-markup">
+                                                                       <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M9 10v4H2V2h7v4h1V1.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V10H9z"></path><path d="M10.983 5.041a.5.5 0 0 1 .812-.39l3.7 2.96a.5.5 0 0 1 0 .78l-3.7 2.96a.5.5 0 0 1-.812-.39V9H6V7h4.983V5.041z"></path></g></svg>
                                                                </span>
-                                                               <span class="modulemenu-item-title">Backend admin</span>
-                                                       </a>
-                                               </li>
-                                               <li class="modulemenu-item t3js-mainmodule ">
-                                                       <a class="modulemenu-item-link" href="../../../../index.php" class="btn btn-default btn-block">
-                                                               <span class="modulemenu-icon modulemenu-item-icon">
-                                                                       <span class="t3js-icon icon icon-size-default icon-state-default icon-module-system_extinstall" data-identifier="module-system_extinstall">
-                                                                               <span class="icon-markup">
-                                                                                       <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M9 10v4H2V2h7v4h1V1.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V10H9z"></path><path d="M10.983 5.041a.5.5 0 0 1 .812-.39l3.7 2.96a.5.5 0 0 1 0 .78l-3.7 2.96a.5.5 0 0 1-.812-.39V9H6V7h4.983V5.041z"></path></g></svg>
-                                                                               </span>
-                                                                       </span>
+                                                       </span>
+                                               </span>
+                                               <span class="modulemenu-item-title">Backend admin</span>
+                                       </a>
+                               </li>
+                               <li class="modulemenu-item t3js-mainmodule ">
+                                       <a class="modulemenu-item-link" href="../index.php">
+                                               <span class="modulemenu-icon modulemenu-item-icon">
+                                                       <span class="t3js-icon icon icon-size-default icon-state-default icon-module-system_extinstall" data-identifier="module-system_extinstall">
+                                                               <span class="icon-markup">
+                                                                       <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M9 10v4H2V2h7v4h1V1.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V10H9z"></path><path d="M10.983 5.041a.5.5 0 0 1 .812-.39l3.7 2.96a.5.5 0 0 1 0 .78l-3.7 2.96a.5.5 0 0 1-.812-.39V9H6V7h4.983V5.041z"></path></g></svg>
                                                                </span>
-                                                               <span class="modulemenu-item-title">Frontend website</span>
-                                                       </a>
-                                               </li>
-                                       </ul>
+                                                       </span>
+                                               </span>
+                                               <span class="modulemenu-item-title">Frontend website</span>
+                                       </a>
                                </li>
-                       </f:else>
-               </f:if>
+                       </ul>
+               </li>
        </ul>
 </div>