1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 06:33:22 +02:00

Fix for Icon paths.

This commit is contained in:
Cameron
2014-01-15 04:02:05 -08:00
parent c567fd265b
commit e323418ab2
4 changed files with 45 additions and 26 deletions

View File

@@ -904,8 +904,8 @@ class download_shortcodes extends e_shortcode
if (!$source) return " ";
// list($ret[TRUE],$ret[FALSE]) = explode(chr(1), $source.chr(1)); //XXX ???
// if (!$ret[FALSE]) $ret[FALSE] = $ret[TRUE]; //XXX ???
return e107::getParser()->toIcon($source, e_IMAGE."icons/");
$parms = array('legacy'=> e_IMAGE."icons/");
return e107::getParser()->toIcon($source, $parms);
//return "<img src='".e_IMAGE."icons/{$ret[($count!=0)]}' alt='*'/>";
}