From 5a4f17c2980672b19cb52df4db48030016838024 Mon Sep 17 00:00:00 2001
From: Andreas Fernandez <a.fernandez@scripting-base.de>
Date: Thu, 5 May 2016 09:21:30 +0200
Subject: [PATCH] [BUGFIX] Fix paths of icons in EXT:form wizard

Resolves: #76055
Related: #75633
Releases: master
Change-Id: I906008bc39104df17f5ee9185f8a9aeaa5a34446
Reviewed-on: https://review.typo3.org/48014
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
---
 Build/Resources/Public/Less/form.less         | 46 +++++++++----------
 .../sysext/form/Resources/Public/Css/form.css | 46 +++++++++----------
 2 files changed, 46 insertions(+), 46 deletions(-)

diff --git a/Build/Resources/Public/Less/form.less b/Build/Resources/Public/Less/form.less
index 1f30ccfba04e..c913bc4733c4 100644
--- a/Build/Resources/Public/Less/form.less
+++ b/Build/Resources/Public/Less/form.less
@@ -266,7 +266,7 @@
 }
 
 .x-grid-panel .remove {
-  background-image: url("../../Images/remove.gif");
+  background-image: url("../Images/remove.gif");
   width: 15px;
   height: 16px;
 }
@@ -449,12 +449,12 @@
 #formwizard-left .x-accordion-hd .x-tool-toggle {
   margin: 0;
   float: left;
-  background-image: url("../../Images/module-menu-down.png");
+  background-image: url("../Images/module-menu-down.png");
   background-position: 0 4px;
 }
 
 #formwizard-left .x-panel-collapsed .x-accordion-hd .x-tool-toggle {
-  background-image: url("../../Images/module-menu-right.png");
+  background-image: url("../Images/module-menu-right.png");
   background-position: 1px 3px;
 }
 
@@ -518,75 +518,75 @@
 
 /* form elements in left panel */
 .formwizard-left-elements-basic-button {
-  background-image: url("../../Images/ui-button.png");
+  background-image: url("../Images/ui-button.png");
 }
 
 .formwizard-left-elements-basic-checkbox {
-  background-image: url("../../Images/ui-check-box.png");
+  background-image: url("../Images/ui-check-box.png");
 }
 
 .formwizard-left-elements-basic-fieldset {
-  background-image: url("../../Images/ui-group-box.png");
+  background-image: url("../Images/ui-group-box.png");
 }
 
 .formwizard-left-elements-basic-fileupload {
-  background-image: url("../../Images/drive-upload.png");
+  background-image: url("../Images/drive-upload.png");
 }
 
 .formwizard-left-elements-basic-hidden {
-  background-image: url("../../Images/ui-text-field-hidden.png");
+  background-image: url("../Images/ui-text-field-hidden.png");
 }
 
 .formwizard-left-elements-basic-password {
-  background-image: url("../../Images/ui-text-field-password.png");
+  background-image: url("../Images/ui-text-field-password.png");
 }
 
 .formwizard-left-elements-basic-radio {
-  background-image: url("../../Images/ui-radio-button.png");
+  background-image: url("../Images/ui-radio-button.png");
 }
 
 .formwizard-left-elements-basic-reset {
-  background-image: url("../../Images/broom.png");
+  background-image: url("../Images/broom.png");
 }
 
 .formwizard-left-elements-basic-select {
-  background-image: url("../../Images/ui-combo-box.png");
+  background-image: url("../Images/ui-combo-box.png");
 }
 
 .formwizard-left-elements-basic-submit {
-  background-image: url("../../Images/ui-button-default.png");
+  background-image: url("../Images/ui-button-default.png");
 }
 
 .formwizard-left-elements-basic-textarea {
-  background-image: url("../../Images/ui-scroll-pane-text.png");
+  background-image: url("../Images/ui-scroll-pane-text.png");
 }
 
 .formwizard-left-elements-basic-textline {
-  background-image: url("../../Images/ui-text-field.png");
+  background-image: url("../Images/ui-text-field.png");
 }
 
 .formwizard-left-elements-predefined-checkboxgroup {
-  background-image: url("../../Images/ui-check-boxes.png");
+  background-image: url("../Images/ui-check-boxes.png");
 }
 
 .formwizard-left-elements-predefined-email {
-  background-image: url("../../Images/mail.png");
+  background-image: url("../Images/mail.png");
 }
 
 .formwizard-left-elements-predefined-name {
-  background-image: url("../../Images/user-silhouette.png");
+  background-image: url("../Images/user-silhouette.png");
 }
 
 .formwizard-left-elements-predefined-radiogroup {
-  background-image: url("../../Images/ui-radio-buttons.png");
+  background-image: url("../Images/ui-radio-buttons.png");
 }
 
 .formwizard-left-elements-content-header {
-  background-image: url("../../Images/edit-heading.png");
+  background-image: url("../Images/edit-heading.png");
 }
 
 .formwizard-left-elements-content-textblock {
-  background-image: url("../../Images/edit-textblock.png");
+  background-image: url("../Images/edit-textblock.png");
 }
 
 #formwizard-left .x-form-text {
@@ -603,7 +603,7 @@
 
 /* icon in element field for applying entered text */
 #formwizard-left .x-form-field-wrap .x-form-submit-trigger {
-  background-image: url("../../Images/submit-trigger.gif");
+  background-image: url("../Images/submit-trigger.gif");
 }
 
 /* right panel */
@@ -664,7 +664,7 @@
   display: none;
   z-index: 1;
   padding: 4px 3px 12px;
-  background-image: url("../../Images/tooltip.png");
+  background-image: url("../Images/tooltip.png");
 }
 
 #fake-form .formwizard-element.hover > div.buttongroup,
diff --git a/typo3/sysext/form/Resources/Public/Css/form.css b/typo3/sysext/form/Resources/Public/Css/form.css
index 7575d459e8e4..79c44639a7ac 100644
--- a/typo3/sysext/form/Resources/Public/Css/form.css
+++ b/typo3/sysext/form/Resources/Public/Css/form.css
@@ -235,7 +235,7 @@
   border: none;
 }
 .x-grid-panel .remove {
-  background-image: url("../../Images/remove.gif");
+  background-image: url("../Images/remove.gif");
   width: 15px;
   height: 16px;
 }
@@ -382,11 +382,11 @@
 #formwizard-left .x-accordion-hd .x-tool-toggle {
   margin: 0;
   float: left;
-  background-image: url("../../Images/module-menu-down.png");
+  background-image: url("../Images/module-menu-down.png");
   background-position: 0 4px;
 }
 #formwizard-left .x-panel-collapsed .x-accordion-hd .x-tool-toggle {
-  background-image: url("../../Images/module-menu-right.png");
+  background-image: url("../Images/module-menu-right.png");
   background-position: 1px 3px;
 }
 #formwizard-left .x-accordion-hd .x-panel-header-text {
@@ -439,58 +439,58 @@
 }
 /* form elements in left panel */
 .formwizard-left-elements-basic-button {
-  background-image: url("../../Images/ui-button.png");
+  background-image: url("../Images/ui-button.png");
 }
 .formwizard-left-elements-basic-checkbox {
-  background-image: url("../../Images/ui-check-box.png");
+  background-image: url("../Images/ui-check-box.png");
 }
 .formwizard-left-elements-basic-fieldset {
-  background-image: url("../../Images/ui-group-box.png");
+  background-image: url("../Images/ui-group-box.png");
 }
 .formwizard-left-elements-basic-fileupload {
-  background-image: url("../../Images/drive-upload.png");
+  background-image: url("../Images/drive-upload.png");
 }
 .formwizard-left-elements-basic-hidden {
-  background-image: url("../../Images/ui-text-field-hidden.png");
+  background-image: url("../Images/ui-text-field-hidden.png");
 }
 .formwizard-left-elements-basic-password {
-  background-image: url("../../Images/ui-text-field-password.png");
+  background-image: url("../Images/ui-text-field-password.png");
 }
 .formwizard-left-elements-basic-radio {
-  background-image: url("../../Images/ui-radio-button.png");
+  background-image: url("../Images/ui-radio-button.png");
 }
 .formwizard-left-elements-basic-reset {
-  background-image: url("../../Images/broom.png");
+  background-image: url("../Images/broom.png");
 }
 .formwizard-left-elements-basic-select {
-  background-image: url("../../Images/ui-combo-box.png");
+  background-image: url("../Images/ui-combo-box.png");
 }
 .formwizard-left-elements-basic-submit {
-  background-image: url("../../Images/ui-button-default.png");
+  background-image: url("../Images/ui-button-default.png");
 }
 .formwizard-left-elements-basic-textarea {
-  background-image: url("../../Images/ui-scroll-pane-text.png");
+  background-image: url("../Images/ui-scroll-pane-text.png");
 }
 .formwizard-left-elements-basic-textline {
-  background-image: url("../../Images/ui-text-field.png");
+  background-image: url("../Images/ui-text-field.png");
 }
 .formwizard-left-elements-predefined-checkboxgroup {
-  background-image: url("../../Images/ui-check-boxes.png");
+  background-image: url("../Images/ui-check-boxes.png");
 }
 .formwizard-left-elements-predefined-email {
-  background-image: url("../../Images/mail.png");
+  background-image: url("../Images/mail.png");
 }
 .formwizard-left-elements-predefined-name {
-  background-image: url("../../Images/user-silhouette.png");
+  background-image: url("../Images/user-silhouette.png");
 }
 .formwizard-left-elements-predefined-radiogroup {
-  background-image: url("../../Images/ui-radio-buttons.png");
+  background-image: url("../Images/ui-radio-buttons.png");
 }
 .formwizard-left-elements-content-header {
-  background-image: url("../../Images/edit-heading.png");
+  background-image: url("../Images/edit-heading.png");
 }
 .formwizard-left-elements-content-textblock {
-  background-image: url("../../Images/edit-textblock.png");
+  background-image: url("../Images/edit-textblock.png");
 }
 #formwizard-left .x-form-text {
   height: 17px;
@@ -503,7 +503,7 @@
 }
 /* icon in element field for applying entered text */
 #formwizard-left .x-form-field-wrap .x-form-submit-trigger {
-  background-image: url("../../Images/submit-trigger.gif");
+  background-image: url("../Images/submit-trigger.gif");
 }
 /* right panel */
 #formwizard-right {
@@ -554,7 +554,7 @@
   display: none;
   z-index: 1;
   padding: 4px 3px 12px;
-  background-image: url("../../Images/tooltip.png");
+  background-image: url("../Images/tooltip.png");
 }
 #fake-form .formwizard-element.hover > div.buttongroup,
 #fake-form .formwizard-element.active > div.buttongroup {
-- 
GitLab