diff --git a/e107_admin/theme.php b/e107_admin/theme.php
index eb21a5a93..e44df3e6d 100644
--- a/e107_admin/theme.php
+++ b/e107_admin/theme.php
@@ -252,9 +252,11 @@ function theme_adminmenu()
$var['convert']['link'] = e_SELF."?mode=convert";
// $selected = (e_QUERY) ? e_QUERY : "main";
+ $icon = e107::getParser()->toIcon('e-themes-24');
+ $caption = $icon."".TPVLAN_26."";
- e107::getNav()->admin(TPVLAN_26, $mode, $var);
+ e107::getNav()->admin($caption, $mode, $var);
}
class theme_builder
diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php
index 2b3bbec5d..f9d979bda 100644
--- a/e107_handlers/theme_handler.php
+++ b/e107_handlers/theme_handler.php
@@ -1677,14 +1677,16 @@ class themeHandler
{
$thumbPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
$previewPath = e_THEME.$theme['path'] ."/".$theme['thumbnail'];
+ $class = 'admin-theme-preview';
}
else
{
$thumbPath = e_IMAGE_ABS."admin_images/nopreview.png";
$previewPath = e_BASE."index.php?themepreview.".$theme['id'];
+ $class = 'admin-theme-nopreview';
}
- $thumbnail = "
";
+ $thumbnail = "
";
if($_GET['mode'] == 'online')
diff --git a/e107_images/admin_images/nopreview.png b/e107_images/admin_images/nopreview.png
index c3881027f..0d5b79bfa 100644
Binary files a/e107_images/admin_images/nopreview.png and b/e107_images/admin_images/nopreview.png differ
diff --git a/e107_themes/bootstrap3/admin_style.css b/e107_themes/bootstrap3/admin_style.css
index 787d48aad..705ed4c83 100644
--- a/e107_themes/bootstrap3/admin_style.css
+++ b/e107_themes/bootstrap3/admin_style.css
@@ -710,6 +710,7 @@ i.S24 {
i.e-news-24{ background-position: -1442px 0; }
i.e-custom-24{ background-position: -639px 0; }
+i.e-themes-24 {background-position: -639px 0; }
i.e-add-32{ background-position: 0 0; width: 32px; height: 32px; }
i.e-adminlogs-32{ background-position: -37px 0; width: 32px; height: 32px; }
@@ -1254,6 +1255,9 @@ li.rssRow > div {
.admin-theme-thumb { position:relative; width:100%; height:130px;overflow:hidden;border:1px solid black; margin:0; margin-bottom:10px; padding:0; }
.admin-theme-thumb:hover { opacity:0.4 }
.admin-theme-thumb img { position:absolute; height:130px; left:-10px; min-width:110%; }
+.admin-theme-nopreview { opacity: 0.3 }
+
+
.admin-theme-options {
transition: opacity .20s ease-in-out;
@@ -1303,7 +1307,7 @@ li.after-submit:hover { background-color: #337AB7; color:white }
.plugin-manager .fa-refresh { padding-top: 4px }
-.admin-left-panel .panel-title span { display: inline-block; vertical-align: middle; color:white;text-shadow:0 1px 1px #000}
+.admin-left-panel .panel-title span { display: inline-block; vertical-align: middle; }
.admin-left-panel .panel-title .S24, .admin-left-panel .panel-title img { margin-right:6px; width:24px; height:24px; vertical-align:middle}