* Finish task#54979.

This commit is contained in:
leiyong
2022-05-26 07:28:03 +00:00
parent d8846c045e
commit ea4eb1d2de
8 changed files with 94 additions and 7 deletions
+9 -7
View File
@@ -961,13 +961,15 @@ class user extends control
else
{
$this->loadModel('misc');
$this->view->noGDLib = sprintf($this->lang->misc->noGDLib, common::getSysURL() . $this->config->webRoot, '', false, true);
$this->view->title = $this->lang->user->login;
$this->view->referer = $this->referer;
$this->view->s = zget($this->config->global, 'sn', '');
$this->view->keepLogin = $this->cookie->keepLogin ? $this->cookie->keepLogin : 'off';
$this->view->rand = $this->user->updateSessionRandom();
$this->view->unsafeSites = $this->misc->checkOneClickPackage();
$this->loadModel('extension');
$this->view->noGDLib = sprintf($this->lang->misc->noGDLib, common::getSysURL() . $this->config->webRoot, '', false, true);
$this->view->title = $this->lang->user->login;
$this->view->referer = $this->referer;
$this->view->s = zget($this->config->global, 'sn', '');
$this->view->keepLogin = $this->cookie->keepLogin ? $this->cookie->keepLogin : 'off';
$this->view->rand = $this->user->updateSessionRandom();
$this->view->unsafeSites = $this->misc->checkOneClickPackage();
$this->view->plugins = $this->extension->getExpirePlugins();
$this->display();
}
}