mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Added option for themes to load only the css or js portion of a library via theme.xml attribute. See bootstrap5/theme.xml for an example.
Empty comments in glyphs removed due to conflict with Fontawesome JS. Tests updated.
This commit is contained in:
@@ -3888,7 +3888,7 @@ class e_parse
|
||||
$idAtt = (!empty($parm['id'])) ? "id='" . $parm['id'] . "' " : '';
|
||||
$style = (!empty($parm['style'])) ? "style='" . $parm['style'] . "' " : '';
|
||||
$class = (!empty($parm['class'])) ? $parm['class'] . ' ' : '';
|
||||
$placeholder = isset($parm['placeholder']) ? $parm['placeholder'] : '<!-- -->';
|
||||
$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 . $title . '>' . $placeholder . '</' . $tag . '>';
|
||||
|
Reference in New Issue
Block a user