mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Fix for font-awesome overlay issue. Renamed glyph() as toGlyph() for consistency.
This commit is contained in:
@@ -196,7 +196,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
function sc_cmenutitle($parm='')
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$title = $tp->glyph($this->page['menu_title']); // (preg_replace('/i_([\w]*)/',"<i class='i_$1'></i>",$this->page['menu_title']);
|
||||
$title = $tp->toGlyph($this->page['menu_title']); // (preg_replace('/i_([\w]*)/',"<i class='i_$1'></i>",$this->page['menu_title']);
|
||||
|
||||
return $tp->toHTML($title, true, 'TITLE');
|
||||
}
|
||||
|
Reference in New Issue
Block a user