* change for show mhtml only in mobile.
This commit is contained in:
@@ -43,7 +43,7 @@ include '../../common/view/header.lite.html.php';
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="attr"></td>
|
||||
<td><?php echo html::checkBox('keepLogin', $lang->user->keepLogin, $keepLogin);?></td>
|
||||
<td id="keeplogin"><?php echo html::checkBox('keepLogin', $lang->user->keepLogin, $keepLogin);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center'>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ if(!isset($config->installed) or !$config->installed) die(header('location: inst
|
||||
|
||||
/* Detect mobile. */
|
||||
$mobile = $app->loadClass('mobile');
|
||||
if($mobile->isMobile() or $mobile->isTablet())
|
||||
if(!$mobile->isTablet())
|
||||
{
|
||||
$config->default->view = 'mhtml';
|
||||
helper::setViewType();
|
||||
|
||||
Reference in New Issue
Block a user