diff --git a/e107_themes/bootstrap3/preview_frontend.png b/e107_themes/bootstrap3/preview_frontend.png index 2760087f8..adb8ca268 100644 Binary files a/e107_themes/bootstrap3/preview_frontend.png and b/e107_themes/bootstrap3/preview_frontend.png differ diff --git a/e107_themes/voux/install/install.xml b/e107_themes/voux/install/install.xml index 9bc55267e..901603494 100644 --- a/e107_themes/voux/install/install.xml +++ b/e107_themes/voux/install/install.xml @@ -8,6 +8,7 @@ 3 %d %b %Y + {e_THEME}voux/install/logo2B252832529.png 1 @@ -1081,6 +1082,17 @@ 0 + + + 1 + wmessage + 1145848343 + 1 + Hello World! + 0 +
Go to Admin area
[/html]]]>
+
+
1 diff --git a/e107_themes/voux/preview.png b/e107_themes/voux/preview.png index 2f8415269..236991d08 100644 Binary files a/e107_themes/voux/preview.png and b/e107_themes/voux/preview.png differ diff --git a/install.php b/install.php index 12022084d..bfb4c3d53 100644 --- a/install.php +++ b/install.php @@ -1112,42 +1112,46 @@ class e_install - - - - - - - - "; + + "; $themes = $this->get_themes(); foreach($themes as $val) { - if($val == 'bootstrap') + + if($val != 'bootstrap3' && $val != 'voux') { continue; - } - + } + $themeInfo = $this->get_theme_xml($val); $title = vartrue($themeInfo['@attributes']['name']); $category = vartrue($themeInfo['category']); + $preview = e_THEME.$val."/".$themeInfo['thumbnail']; + + if(!is_readable($preview)) + { + continue; + } + + $thumbnail = "".$val.""; + $selected = ($val == 'bootstrap3') ? " checked" : ""; $output .= " - - - - "; +
+ +
"; } $output .= " - -
".LANINS_115."".LANINS_116."
- - {$category}
+ @@ -2093,7 +2097,19 @@ function template_data() h4 { margin-left:10px; margin-bottom:20px; color:#181818; } #version { position:relative; left:50px; top:-20px; } .well { border-radius: 12px } - + + .theme-cell { margin-bottom:15px; padding-left:0; padding-right:5px } + .theme-cell .thumbnail { margin-bottom:5px; height:170px; width:auto } + .theme-cell h5 { padding-left:8px; margin-top:0; font-weight:bold } + + label.theme-selection > input { visibility: hidden; position: absolute; } + label.theme-selection > input + div{ cursor:pointer; border:2px solid transparent; border-radius:6px } + label.theme-selection > input:checked + div { border:2px solid #337ab7; } + label.theme-selection > input + div span { visibility: hidden; float:right; margin-right:10px; color:#337ab7 } + label.theme-selection > input:checked + div span { visibility: initial; } + + +