diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index 50a1a1381..a59f45c32 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -947,7 +947,8 @@ class themeHandler $info_icon = "".E_32_CAT_ABOUT.""; // $preview_icon = "".E_32_SEARCH.""; $admin_icon = ($pref['admintheme'] != $theme['path'] ) ? "\n" : E_32_TRUE; - + $price = ''; + if(substr($theme['thumbnail'],0,4) == 'http') { $thumbPath = $theme['thumbnail']; @@ -984,7 +985,8 @@ class themeHandler } //XXX modal-Cache is currently enabled by default. Awaiting inclusion of data-cache feature. // See here: https://github.com/twitter/bootstrap/pull/4224 - + $price = ($theme['price'] > 0) ? " ".$theme['price']."" : "".Free.""; + } $preview_icon = "".E_32_SEARCH.""; @@ -1009,7 +1011,7 @@ class themeHandler // Choose a Theme to Install. - $price = ($theme['price'] > 0) ? " ".$theme['price']."" : "".Free.""; + if(!$mode)