1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +02:00

Fixes #2896 - Glyphs browser issue.

This commit is contained in:
Cameron 2017-12-03 09:50:44 -08:00
parent ecf22cb1ba
commit 8f8d22215b

View File

@ -1599,8 +1599,8 @@ class media_admin_ui extends e_admin_ui
{
$items[] = array(
'previewUrl' => 'fa fa-'.$val,
'saveValue' => $val.'.glyph',
'thumbUrl' => $val,
'saveValue' => 'fa-'.$val.'.glyph',
'thumbUrl' => 'fa-'.$val,
'title' => $val,
'slideCaption' => 'Font-Awesome 4',
'slideCategory' => 'font-awesome'
@ -1617,6 +1617,7 @@ class media_admin_ui extends e_admin_ui
foreach($custom as $glyphConfig)
{
$tmp = e107::getMedia()->getGlyphs($glyphConfig,$glyphConfig['prefix']);
if(!empty($tmp))
@ -1624,7 +1625,7 @@ class media_admin_ui extends e_admin_ui
foreach($tmp as $val)
{
$items[] = array(
'previewUrl' => $val,
'previewUrl' => $glyphConfig['class']." ".$val,
'saveValue' => $val.'.glyph',
'thumbUrl' => $val,
'title' => $val,