[FOLLOWUP][TASK] Refactor formengine required handling 88/41488/3
authorBenjamin Mack <benni@typo3.org>
Thu, 16 Jul 2015 16:15:50 +0000 (18:15 +0200)
committerBenjamin Mack <benni@typo3.org>
Thu, 16 Jul 2015 16:18:16 +0000 (18:18 +0200)
Remove leftover styles.

Resolves: #67354
Releases: master
Change-Id: Iac6607b0efbb3b59f120d163418e78b84eff9123
Reviewed-on: http://review.typo3.org/41488
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php
typo3/sysext/backend/Resources/Private/Templates/DocumentTemplate/Collapse.html

index b0492c3..87647c5 100644 (file)
@@ -579,9 +579,7 @@ class InlineRecordContainer extends AbstractContainer {
                        $hookObj->renderForeignRecordHeaderControl_postProcess($parentUid, $foreign_table, $rec, $config, $isVirtualRecord, $cells);
                }
 
-               $out = '
-                       <!-- CONTROL PANEL: ' . $foreign_table . ':' . $rec['uid'] . ' -->
-                       <img name="' . $nameObjectFtId . '_req" src="clear.gif" alt="" />';
+               $out = '';
                if (!empty($cells)) {
                        $out .= ' <div class="btn-group btn-group-sm" role="group">' . implode('', $cells) . '</div>';
                }
index bfd40f3..d97de39 100644 (file)
@@ -374,7 +374,6 @@ class PaletteAndSingleContainer extends AbstractContainer {
                $content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">';
                $content[] =    '<label class="t3js-formengine-label">';
                $content[] =            $label;
-               $content[] =            '<img name="req_' . $this->globalOptions['table'] . '_' . $this->globalOptions['databaseRow']['uid'] . '_' . $fieldName . '" src="clear.gif" class="t3js-formengine-field-required" alt="" />';
                $content[] =    '</label>';
                $content[] =    $element['fieldHtml'];
                $content[] = '</div>';
index 3d63bfc..ae0ed4c 100644 (file)
@@ -8,7 +8,6 @@
                                                        <f:format.raw>{item.icon}</f:format.raw>
                                                </f:if>
                                                {item.label}
-                                               <img name="{id}-{iteration.cycle}-REQ" src="{BACK_PATH}gfx/clear.gif" class="t3-TCEforms-reqTabImg" alt="" />
                                                <f:if condition="{item.requiredIcon}">
                                                        <f:format.raw>{item.requiredIcon}</f:format.raw>
                                                </f:if>