diff --git a/library/preprocessor.php b/library/preprocessor.php index 54c30a5c7..1edd091de 100644 --- a/library/preprocessor.php +++ b/library/preprocessor.php @@ -160,11 +160,6 @@ define('__TEXTCUBE_SKIN_CUSTOM_DIR__',__TEXTCUBE_SKIN_DIR__.'/customize'); $context->setProperty('blog.displaymode','desktop'); } -if ($browserUtil->isMobile() == true) { - $context->setProperty('blog.workmode','standard'); -} else { - $context->setProperty('blog.workmode','enhanced'); -} /// Reading necessary file list require_once (ROOT.'/library/include.'.$uri->uri['interfaceType'].'.php'); /// Loading files. @@ -174,6 +169,12 @@ if ($context->getProperty('blog.displaymode','desktop')=='mobile') { $context->setProperty('skin.skin','lucid'); } +if ($browserUtil->isMobile() == true) { + $context->setProperty('blog.workmode','standard'); + $context->setProperty('blog.displaymode','mobile'); +} else { + $context->setProperty('blog.workmode','enhanced'); +} /// Setting global variables //if($context->getProperty('service.legacyMode') == true) { $legacy = Model_LegacySupport::getInstance(); diff --git a/library/view/replyEditorView.php b/library/view/replyEditorView.php index b732406af..96cc3aeef 100644 --- a/library/view/replyEditorView.php +++ b/library/view/replyEditorView.php @@ -31,7 +31,7 @@ <?php echo $pageHeadTitle ;?> - +