1
0
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:
Cameron
2017-04-05 12:42:42 -07:00
parent e17316eab7
commit 674fde0525
6 changed files with 173 additions and 65 deletions

View File

@@ -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');