mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Allow Custom Menu-Images to be used in page-navigation template.
This commit is contained in:
@@ -2721,6 +2721,8 @@ class e_parser
|
||||
*/
|
||||
public function toIcon($icon='',$legacyPath ='')
|
||||
{
|
||||
|
||||
|
||||
if(!vartrue($icon))
|
||||
{
|
||||
return;
|
||||
@@ -2730,10 +2732,12 @@ class e_parser
|
||||
{
|
||||
return $this->toGlyph($icon);
|
||||
}
|
||||
|
||||
|
||||
if($icon[0] == '{')
|
||||
{
|
||||
$path = $this->replaceConstants($icon,'full');
|
||||
// $path = $this->replaceConstants($icon,'full');
|
||||
$path = $this->thumbUrl($icon);
|
||||
|
||||
}
|
||||
elseif($legacyPath)
|
||||
{
|
||||
|
Reference in New Issue
Block a user