[FEATURE] Improve usability for BE database thumbnails/file icons 56/20456/5
authorPatrick Broens <patrick@patrickbroens.nl>
Sat, 12 Oct 2013 22:20:18 +0000 (00:20 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 13 Oct 2013 00:50:05 +0000 (02:50 +0200)
commitbedddf2e0fb50b0ebe3751f8563ee8021c945303
tree970aa6c4450d1713b287593c85ec1fc7efa5e13b
parent04cca5ffd6dcb912e23f26cf01e71eb7ea7fed99
[FEATURE] Improve usability for BE database thumbnails/file icons

The backend produces thumbnails/file icons/truetype font previews which
come from a database row. The usability for these images can be improved
by showing the file name or title on hover using the title attribute.
Currently only the thumbnail/icon is produced and more information can
only be read by clicking the icon or opening the record, like in the
content element File Links.

This patch changes the alt attribute to the alternative text and adds the
title attribute for these images. When no title has been given for a file
record, the file name will be used instead.

Change-Id: I23b761fb204dda2c200f3ea57961cc017840fcac
Fixes: #47709
Releases: 6.2
Reviewed-on: https://review.typo3.org/20456
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Classes/Utility/BackendUtility.php