mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Admin-ui: Carousel option added for use with Grid.
This commit is contained in:
@@ -4003,8 +4003,11 @@ class e_parser
|
||||
// e107::getDebug()->log($file);
|
||||
// e107::getDebug()->log($parm);
|
||||
|
||||
|
||||
if(strpos($file,'e_MEDIA')!==false || strpos($file,'e_THEME')!==false || strpos($file,'e_PLUGIN')!==false || strpos($file,'{e_IMAGE}')!==false) //v2.x path.
|
||||
if(strpos($file,'http')===0)
|
||||
{
|
||||
$path = $file;
|
||||
}
|
||||
elseif(strpos($file,'e_MEDIA')!==false || strpos($file,'e_THEME')!==false || strpos($file,'e_PLUGIN')!==false || strpos($file,'{e_IMAGE}')!==false) //v2.x path.
|
||||
{
|
||||
|
||||
if(!isset($parm['w']) && !isset($parm['h']))
|
||||
@@ -4031,10 +4034,6 @@ class e_parser
|
||||
}
|
||||
|
||||
}
|
||||
elseif(strpos($file,'http')===0)
|
||||
{
|
||||
$path = $file;
|
||||
}
|
||||
elseif($file[0] === '{') // Legacy v1.x path. Example: {e_PLUGIN}myplugin/images/fixedimage.png
|
||||
{
|
||||
$path = $tp->replaceConstants($file,'abs');
|
||||
|
Reference in New Issue
Block a user