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:
parent
ecf22cb1ba
commit
8f8d22215b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user