Bug #23175 » 15110-validation-sprites.patch

Administrator Admin, 2010-07-14 07:02

View differences:

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