mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Downloads: Fixes #1062 legacy icon path
This commit is contained in:
@@ -996,7 +996,7 @@ class download_shortcodes extends e_shortcode
|
|||||||
if (!$source) return " ";
|
if (!$source) return " ";
|
||||||
// list($ret[TRUE],$ret[FALSE]) = explode(chr(1), $source.chr(1)); //XXX ???
|
// list($ret[TRUE],$ret[FALSE]) = explode(chr(1), $source.chr(1)); //XXX ???
|
||||||
// if (!$ret[FALSE]) $ret[FALSE] = $ret[TRUE]; //XXX ???
|
// if (!$ret[FALSE]) $ret[FALSE] = $ret[TRUE]; //XXX ???
|
||||||
$parms = array('legacy'=> e_IMAGE."icons/");
|
$parms = array('legacy'=> "{e_IMAGE}icons/");
|
||||||
return e107::getParser()->toIcon($source, $parms);
|
return e107::getParser()->toIcon($source, $parms);
|
||||||
//return "<img src='".e_IMAGE."icons/{$ret[($count!=0)]}' alt='*'/>";
|
//return "<img src='".e_IMAGE."icons/{$ret[($count!=0)]}' alt='*'/>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user