1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

toGlyph tag cleanup

This commit is contained in:
Cameron
2018-09-09 10:16:55 -07:00
parent 7340ea8377
commit 69aa6711e9

View File

@@ -4119,9 +4119,9 @@ class e_parser
$style = (!empty($parm['style'])) ? "style='".$parm['style']."' " : '';
$class = (!empty($parm['class'])) ? $parm['class']." " : '';
$placeholder = isset($parm['placeholder']) ? $parm['placeholder'] : "<!-- -->";
$title = (!empty($parm['title'])) ? "title='".$this->toAttribute($parm['title'])."' " : '';
$title = (!empty($parm['title'])) ? " title='".$this->toAttribute($parm['title'])."' " : '';
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' {$style} {$title}>".$placeholder."</".$tag.">" ;
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' ".$style.$title.">".$placeholder."</".$tag.">" ;
$text .= ($options !== false) ? $options : "";
return $text;