mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Allow title to be set in toGlyph()
This commit is contained in:
parent
a661709164
commit
5ee15f10ef
@ -4119,8 +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'])."' " : '';
|
||||
|
||||
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' {$style}>".$placeholder."</".$tag.">" ;
|
||||
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' {$style} {$title}>".$placeholder."</".$tag.">" ;
|
||||
$text .= ($options !== false) ? $options : "";
|
||||
|
||||
return $text;
|
||||
|
Loading…
x
Reference in New Issue
Block a user