[BUGFIX] Wrong file icon in info popup 19/27819/4
authorFrans Saris <franssaris@gmail.com>
Mon, 24 Feb 2014 20:55:40 +0000 (21:55 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 8 Mar 2014 16:31:30 +0000 (17:31 +0100)
commite5b5fea68a4410d791ed39c0a82cba10145dae26
tree507b67eeebfa4388d6fa7968498ad899eb0eba96
parentb2a9cad21e50c6be306382b5830c2f6eabe2491d
[BUGFIX] Wrong file icon in info popup

In the info popup of a file/folder the wrong icon is shown.

This patch changes it so IconUtility::getSpriteIconForResource()
is used and moves the rendering of the header to the
DocumentTemplate.

Resolves: #56251
Releases: 6.2
Change-Id: I7fc40af85b8bc623112bcec29c2409221a937718
Reviewed-on: https://review.typo3.org/27819
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php