Redesign - popravki napak - popravek predogleda mobilne teme
This commit is contained in:
parent
1c1f971790
commit
cc211e6b8e
@ -415,7 +415,6 @@ class HeaderController extends Controller
|
|||||||
|
|
||||||
public function themeEditor($themePreview = false){
|
public function themeEditor($themePreview = false){
|
||||||
|
|
||||||
if (isset($_GET['theme'])) $themePreview = true; // to ne bo vec
|
|
||||||
if (isset($_GET['theme-preview']) && $_GET['theme-preview'] == '1') $themePreview = true; // to je pri urejanju CSSa da se refresha mimo cachea
|
if (isset($_GET['theme-preview']) && $_GET['theme-preview'] == '1') $themePreview = true; // to je pri urejanju CSSa da se refresha mimo cachea
|
||||||
|
|
||||||
$row = SurveyInfo::getSurveyRow();
|
$row = SurveyInfo::getSurveyRow();
|
||||||
@ -423,7 +422,8 @@ class HeaderController extends Controller
|
|||||||
if (isset($_GET['theme_profile'])) {
|
if (isset($_GET['theme_profile'])) {
|
||||||
$row['skin_profile'] = (int)$_GET['theme_profile'];
|
$row['skin_profile'] = (int)$_GET['theme_profile'];
|
||||||
}
|
}
|
||||||
if (isset($_GET['theme'])) {//to ne bo vec
|
if (isset($_GET['theme'])) {
|
||||||
|
$themePreview = true;
|
||||||
$row['skin'] = str_replace('.css', '', $_GET['theme']);
|
$row['skin'] = str_replace('.css', '', $_GET['theme']);
|
||||||
$row['skin_profile'] = 0;
|
$row['skin_profile'] = 0;
|
||||||
}
|
}
|
||||||
@ -620,6 +620,7 @@ class HeaderController extends Controller
|
|||||||
if (isset($_GET['theme'])) {
|
if (isset($_GET['theme'])) {
|
||||||
$themePreview = true;
|
$themePreview = true;
|
||||||
$row['mobile_skin'] = str_replace('.css', '', $_GET['theme']);
|
$row['mobile_skin'] = str_replace('.css', '', $_GET['theme']);
|
||||||
|
$row['skin_profile_mobile'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user