Task #55602
closed
tceforms: Transfer creation of required-icons to t3skin
Added by Stefan Neufeind almost 11 years ago.
Updated over 9 years ago.
Description
Currently a hardcoded "clear.gif" is set for each tab-header in a tceform. That might be possible to remove. Then the funtionality to add this (and possibly other?) icons would need to be reworked to actually append the icon to the tab-header where needed. And in this step maybe we could even turn it into using a span and just defining the icons in CSS of t3skin - or possibly even using the t3skin-sprite in that context?
Some relevant lines for those who might like to further look into this ...
typo3/sysext/t3skin/Resources/Public/Css/structure/element_tceforms.css
16:img.t3-TCEforms-reqTabImg {
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
1748: $requiredIcon = '<img name="' . $id . '-' . $index . '-REQ" src="' . $GLOBALS['BACK_PATH'] . 'gfx/clear.gif" class="t3-TCEforms-reqTabImg" alt="" />';
typo3/sysext/backend/Classes/Form/FormEngine.php
5659: TBE_EDITOR.images.req.src = "' . IconUtility::skinImg($this->backPath, 'gfx/required_h.gif', '', 1) . '";
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js
263: element = nestedLevelName+'-REQ';
- Status changed from New to Accepted
- Assignee set to Benni Mack
- Status changed from Accepted to Closed
fixed in our next CMS 7 version!
Also available in: Atom
PDF