* adjust the logic of mobile access.
This commit is contained in:
@@ -702,6 +702,8 @@ class user extends control
|
||||
$this->view->demoUsers = $demoUsers;
|
||||
}
|
||||
|
||||
$this->app->loadLang('misc');
|
||||
$this->view->noGDLib = sprintf($this->lang->misc->noGDLib, common::getSysURL() . $this->config->webRoot);
|
||||
$this->view->title = $this->lang->user->login;
|
||||
$this->view->referer = $this->referer;
|
||||
$this->view->s = zget($this->config->global, 'sn');
|
||||
|
||||
@@ -54,7 +54,7 @@ $lang->user->update = "Upgrade";
|
||||
$lang->user->delete = "Delete";
|
||||
$lang->user->browse = "Browse";
|
||||
$lang->user->login = "Login";
|
||||
$lang->user->mobileLogin = "Mobile Login";
|
||||
$lang->user->mobileLogin = "Mobile";
|
||||
$lang->user->userView = "User view";
|
||||
$lang->user->editProfile = "Edit profile";
|
||||
$lang->user->editPassword = "Change password";
|
||||
|
||||
@@ -25,7 +25,13 @@ include '../../common/view/header.lite.html.php';
|
||||
</ul>
|
||||
<div class="droppanel" id="qrcode">
|
||||
<h4><i class="icon-mobile-phone icon-large"></i> <?php echo $lang->user->mobileLogin ?></h4>
|
||||
<img src="<?php commonModel::getQRCodeLink(); ?>" alt="">
|
||||
<?php if(extension_loaded('gd')):?>
|
||||
<img src='<?php echo $this->createLink('misc', 'qrcode');?>' />
|
||||
<?php else:?>
|
||||
<table width='300' class='mt-10px bd-none'>
|
||||
<tr><td><?php echo $noGDLib;?></td></tr>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user