1
0
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:
Cameron
2014-01-04 06:02:24 -08:00
parent e0754faca9
commit dd140d8e69
5 changed files with 29 additions and 22 deletions

View File

@@ -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)
{