Commit 1d39413e authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[TASK] Remove legacy styling in Web->Template module

Some values (bgColor4) for rendering the tree in the Web->Template module
are never used, and are removed as they are not in use anymore since TYPO3 v7.

Resolves: #84856
Releases: master
Change-Id: Ie3cd0d1e36de29036dc1442849f7fbd76548fd93
Reviewed-on: https://review.typo3.org/56794


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 33f1f91c
......@@ -583,13 +583,11 @@ page.10.value = HELLO WORLD!
$statusCheckedIcon = $this->moduleTemplate->getIconFactory()
->getIcon('status-status-checked', Icon::SIZE_SMALL)->render();
$i = 0;
foreach ($pArray as $k => $v) {
if (MathUtility::canBeInterpretedAsInteger($k)) {
$line = [];
$key = $k . '_';
$line['marginLeft'] = $c * 20;
$line['class'] = ($i++ % 2 === 0 ? 'bgColor4' : 'bgColor6');
$line['pageTitle'] = GeneralUtility::fixed_lgd_cs($pArray[$k], 30);
$line['icon'] = $this->moduleTemplate->getIconFactory()
->getIconForRecord(
......
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