diff --git a/e107_admin/theme.php b/e107_admin/theme.php
index b3933ad48..247f63f17 100644
--- a/e107_admin/theme.php
+++ b/e107_admin/theme.php
@@ -76,7 +76,8 @@ if(!empty($_GET['action']))
case 'info':
$string = base64_decode($_GET['src']);
parse_str($string,$p);
- echo $themec->renderThemeInfo($p);
+ $themeInfo = e107::getSession()->get('thememanager/online/'.intval($p['id']));
+ echo $themec->renderThemeInfo($themeInfo);
break;
diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php
index bd06edffe..3aa1fe41d 100644
--- a/e107_handlers/theme_handler.php
+++ b/e107_handlers/theme_handler.php
@@ -818,14 +818,14 @@ class themeHandler
function renderThemeInfo($theme)
{
-
+
global $pref;
$author = ($theme['email'] ? "".$theme['author']."" : $theme['author']);
$website = ($theme['website'] ? "".$theme['website']."" : "");
- $preview = "".($theme['preview'] ? "" : "
")."";
+// $preview = "".($theme['preview'] ? "
" : "
")."";
$description = vartrue($theme['description'],'');
- $compat = (intval($theme['compatibility']) == 2) ? "".number_format($theme['compatibility'], 1, '.','')." ".TPVLAN_78."": vartrue(number_format($theme['compatibility'], 1, '.',''),'1.0');
- $price = (!empty($theme['price'])) ? " ".$theme['price']."" : "".TPVLAN_77."";
+ $compat = (intval($theme['compatibility']) == 2) ? "".number_format($theme['compatibility'], 1, '.','')." ".TPVLAN_77."": vartrue(number_format($theme['compatibility'], 1, '.',''),'1.0');
+ $price = (!empty($theme['price'])) ? " ".$theme['price']."" : "".TPVLAN_76."";
$text = "