1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Fix for font-awesome overlay issue. Renamed glyph() as toGlyph() for consistency.

This commit is contained in:
Cameron
2013-07-12 13:52:39 -07:00
parent 917bbef849
commit ddbbfef54f
7 changed files with 38 additions and 17 deletions

View File

@@ -522,13 +522,13 @@ class e_form
$thpath = isset($sc_parameters['nothumb']) || vartrue($hide) ? $default : $default_thumb;
$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' >";
if($glyph = $tp->glyph($default_url))
if($glyph = $tp->toGlyph($default_url))
{
$label .= $glyph;
}
else
{
$label .= "<img src='{$default_url}' alt='{$default_url}' />";
$label .= $tp->toIcon($default_url);
}
$label .= "
@@ -2611,7 +2611,7 @@ class e_form
case 'icon':
if($glyph = $tp->glyph($value))
if($glyph = $tp->toGlyph($value))
{
$value = $glyph;
}