Commit b96f7574 authored by Benni Mack's avatar Benni Mack
Browse files

[FOLLOWUP][TASK] Refactor formengine required handling

Remove leftover styles.

Resolves: #67354
Releases: master
Change-Id: Iac6607b0efbb3b59f120d163418e78b84eff9123
Reviewed-on: http://review.typo3.org/41488

Reviewed-by: Benni Mack's avatarBenjamin Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenjamin Mack <benni@typo3.org>
parent 318bcc79
...@@ -579,9 +579,7 @@ class InlineRecordContainer extends AbstractContainer { ...@@ -579,9 +579,7 @@ class InlineRecordContainer extends AbstractContainer {
$hookObj->renderForeignRecordHeaderControl_postProcess($parentUid, $foreign_table, $rec, $config, $isVirtualRecord, $cells); $hookObj->renderForeignRecordHeaderControl_postProcess($parentUid, $foreign_table, $rec, $config, $isVirtualRecord, $cells);
} }
$out = ' $out = '';
<!-- CONTROL PANEL: ' . $foreign_table . ':' . $rec['uid'] . ' -->
<img name="' . $nameObjectFtId . '_req" src="clear.gif" alt="" />';
if (!empty($cells)) { if (!empty($cells)) {
$out .= ' <div class="btn-group btn-group-sm" role="group">' . implode('', $cells) . '</div>'; $out .= ' <div class="btn-group btn-group-sm" role="group">' . implode('', $cells) . '</div>';
} }
......
...@@ -374,7 +374,6 @@ class PaletteAndSingleContainer extends AbstractContainer { ...@@ -374,7 +374,6 @@ class PaletteAndSingleContainer extends AbstractContainer {
$content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">'; $content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">';
$content[] = '<label class="t3js-formengine-label">'; $content[] = '<label class="t3js-formengine-label">';
$content[] = $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[] = '</label>';
$content[] = $element['fieldHtml']; $content[] = $element['fieldHtml'];
$content[] = '</div>'; $content[] = '</div>';
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
<f:format.raw>{item.icon}</f:format.raw> <f:format.raw>{item.icon}</f:format.raw>
</f:if> </f:if>
{item.label} {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:if condition="{item.requiredIcon}">
<f:format.raw>{item.requiredIcon}</f:format.raw> <f:format.raw>{item.requiredIcon}</f:format.raw>
</f:if> </f:if>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment