diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php
index f4155e266..cc63631c4 100644
--- a/e107_handlers/theme_handler.php
+++ b/e107_handlers/theme_handler.php
@@ -514,6 +514,7 @@ class themeHandler
'url' => $r['@attributes']['url'],
'author' => $r['@attributes']['author'],
'website' => $r['@attributes']['authorUrl'],
+ 'compatibility' => $r['@attributes']['compatibility'],
'description' => varset($r['description']),
);
@@ -645,15 +646,17 @@ class themeHandler
$website = ($theme['website'] ? "".$theme['website']."" : "");
$preview = "".($theme['preview'] ? "" : "
")."";
$description = vartrue($theme['description'],'');
-
+ $compat = (intval($theme['compatibility']) == 2) ? "".number_format($theme['compatibility'], 1, '.','')." Recommended!": vartrue(number_format($theme['compatibility'], 1, '.',''),'1.0');
+
+
$text = "
".$theme['name']." ".$theme['version']." | ||
---|---|---|
".TPVLAN_4.": | ".$author." | |
".TPVLAN_5.": | ".$website." | |
".TPVLAN_6.": | ".$theme['date']." | |
".TPVLAN_57.": | ".$compat." | |
Description: | ".$description." | |
".TPVLAN_5.": | ".$website." | |
".TPVLAN_6.": | ".$theme['date']." | |
".TPVLAN_7.": | ".$theme['info']." | |
".TPVLAN_7.": | ".strip_tags($theme['info'],'b')." | |
".LAN_CATEGORY.": | ".$theme['category']." | |
".TPVLAN_49.": | "; diff --git a/e107_languages/English/admin/lan_theme.php b/e107_languages/English/admin/lan_theme.php index 5345de5f4..9b8596a36 100644 --- a/e107_languages/English/admin/lan_theme.php +++ b/e107_languages/English/admin/lan_theme.php @@ -70,6 +70,8 @@ define("TPVLAN_53", "Suggested Plugins"); define("TPVLAN_54", "Menu Presets"); define("TPVLAN_55", "Default"); define("TPVLAN_56", "Visibility Filter"); +define("TPVLAN_57", "Compatibility"); + diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css index a0e8dc490..01de8c0c0 100644 --- a/e107_themes/bootstrap/admin_style.css +++ b/e107_themes/bootstrap/admin_style.css @@ -84,7 +84,7 @@ a.brand:hover img { } .modal { min-width:800px; left:42% } -.modal-header { padding-left:20px; background-image: -moz-linear-gradient(center top , rgb(253, 253, 253) 0%, rgb(234, 234, 234) 100%); } +.modal-header { border-bottom:1px solid #DDDDDD; padding-left:20px; background-image: -moz-linear-gradient(center top , rgb(253, 253, 253) 0%, rgb(234, 234, 234) 100%); } @media (min-width: 1500px) { |