Skip to content

Commit

Permalink
refs #1725 : modified - pop-up window looked ugly on mobile.
Browse files Browse the repository at this point in the history
 -
  • Loading branch information
inureyes committed Jan 5, 2015
1 parent a612fec commit 550d5dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions library/preprocessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion library/view/replyEditorView.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<html>
<head>
<title><?php echo $pageHeadTitle ;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" name="viewport" content="initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $service['path'] . $adminSkinSetting['skin'];?>/popup-comment.css" />
<script type="text/javascript">
//<![CDATA[
Expand Down

0 comments on commit 550d5dc

Please sign in to comment.