Project

General

Profile

Bug #23175 » 15110-validation-sprites.patch

Administrator Admin, 2010-07-14 07:02

View differences:

t3lib/class.t3lib_iconworks.php (working copy)
* @param string $tagName (optional) the name of the HTML element that should be used (span by default)
*/
protected static function buildSpriteHtmlIconTag(array $tagAttributes, $innerHtml = ' ', $tagName = 'span') {
$innerHtml = (empty($innerHtml) ? ' ' : $innerHtml);
$attributes = '';
foreach ($tagAttributes as $attribute => $value) {
$attributes .= ' ' . htmlspecialchars($attribute) . '="' . htmlspecialchars($value) . '"';
(1-1/2)