1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Fix for glyph rendering in admin.

This commit is contained in:
Cameron
2017-01-01 09:07:02 -08:00
parent 882efff6ec
commit 062f80d1b0
4 changed files with 8 additions and 3 deletions

View File

@@ -341,6 +341,11 @@ class cpage_shortcodes extends e_shortcode
function sc_cmenuicon($parm='')
{
if($parm === 'css')
{
return str_replace(".glyph", "", $this->var['menu_icon']);
}
return e107::getParser()->toIcon($this->var['menu_icon'], array('space'=>' '));
}