mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fix for glyph rendering in admin.
This commit is contained in:
parent
882efff6ec
commit
062f80d1b0
@ -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'=>' '));
|
||||
}
|
||||
|
||||
|
@ -3610,7 +3610,7 @@ class e_parser
|
||||
}
|
||||
else
|
||||
{
|
||||
$prefix = 'icon-';
|
||||
// $prefix = 'icon-';
|
||||
$tag = 'i';
|
||||
}
|
||||
|
||||
|
@ -4348,8 +4348,7 @@ e107::getDebug()->log($sc_parameters);
|
||||
|
||||
case 'icon':
|
||||
|
||||
$parms['size'] = '2x';
|
||||
$value = $tp->toIcon($value,$parms);
|
||||
$value = "<span class='icon-preview'>".$tp->toIcon($value,$parms)."</span>";
|
||||
|
||||
break;
|
||||
|
||||
|
@ -316,6 +316,7 @@ input[type="radio"]:checked, input[type="radio"]:checked + span { opacity:1.0;
|
||||
label.legacy { margin-left:5px;margin-right:10px; display: inline-block; }
|
||||
|
||||
/* Core Icons & Image Buttons */
|
||||
.icon-preview { font-size: 2em}
|
||||
img.icon { border: 0px; vertical-align: middle; }
|
||||
img.icon.list,
|
||||
input.action { margin: 0px 3px }
|
||||
|
Loading…
x
Reference in New Issue
Block a user