diff --git a/module/index/control.php b/module/index/control.php index ff3463abac..fba20d067b 100644 --- a/module/index/control.php +++ b/module/index/control.php @@ -33,11 +33,13 @@ class index extends control */ public function index($open = '') { + $latestVersionList = array(); + if(isset($this->config->global->latestVersionList)) $latestVersionList = json_decode($this->config->global->latestVersionList); + $this->view->open = helper::safe64Decode($open); $this->view->title = $this->lang->index->common; - if(!isset($this->config->global->latestVersionList)) $latestVersionList = '[]'; - $this->view->latestVersionList = json_decode($this->config->global->latestVersionList); + $this->view->latestVersionList = $latestVersionList; $this->display(); } diff --git a/module/index/css/index.css b/module/index/css/index.css index a79b127045..9b53c0d9db 100644 --- a/module/index/css/index.css +++ b/module/index/css/index.css @@ -64,9 +64,13 @@ body.menu-hide {padding-left: 0;} #globalSearchDiv{width:50%; float: right; margin-right: 4px;} @media screen and (max-height: 768px) { - #globalSearchDiv{width:60%;} + #globalSearchDiv{width: 60%;} +} +#globalSearchDiv .input-group{width: 82%; float: right; margin-top: 2px;} +@media screen and (max-height: 768px) +{ + #globalSearchDiv .input-group{width: 100%;} } -#globalSearchDiv .input-group{width: 70%; float: right; margin-top: 2px;} #globalSearchInput{height: 28px; padding-left: 10px;} #globalSearchButton{height: 28px;} diff --git a/module/index/lang/de.php b/module/index/lang/de.php index ca1866ec49..0eae8e49cc 100644 --- a/module/index/lang/de.php +++ b/module/index/lang/de.php @@ -17,3 +17,4 @@ $lang->index->actions = 'Operating'; $lang->index->upgrade = 'Upgrade'; $lang->index->log = 'Log'; $lang->index->detailed = 'Details'; +$lang->index->please = 'Please visit the official website'; diff --git a/module/index/lang/en.php b/module/index/lang/en.php index ca1866ec49..0eae8e49cc 100644 --- a/module/index/lang/en.php +++ b/module/index/lang/en.php @@ -17,3 +17,4 @@ $lang->index->actions = 'Operating'; $lang->index->upgrade = 'Upgrade'; $lang->index->log = 'Log'; $lang->index->detailed = 'Details'; +$lang->index->please = 'Please visit the official website'; diff --git a/module/index/lang/fr.php b/module/index/lang/fr.php index f0ae938e35..443d32879a 100644 --- a/module/index/lang/fr.php +++ b/module/index/lang/fr.php @@ -17,3 +17,4 @@ $lang->index->actions = 'Operating'; $lang->index->upgrade = 'Upgrade'; $lang->index->log = 'Log'; $lang->index->detailed = 'Details'; +$lang->index->please = 'Please visit the official website'; diff --git a/module/index/lang/vi.php b/module/index/lang/vi.php index 19c365d782..d27bc1b602 100644 --- a/module/index/lang/vi.php +++ b/module/index/lang/vi.php @@ -17,3 +17,4 @@ $lang->index->actions = 'Operating'; $lang->index->upgrade = 'Upgrade'; $lang->index->log = 'Log'; $lang->index->detailed = 'Details'; +$lang->index->please = 'Please visit the official website'; diff --git a/module/index/lang/zh-cn.php b/module/index/lang/zh-cn.php index 87445d7c52..e1aa51738d 100644 --- a/module/index/lang/zh-cn.php +++ b/module/index/lang/zh-cn.php @@ -17,3 +17,4 @@ $lang->index->actions = '操作'; $lang->index->upgrade = '升级'; $lang->index->log = '日志'; $lang->index->detailed = '详情'; +$lang->index->please = '请访问官网'; diff --git a/module/index/view/index.html.php b/module/index/view/index.html.php index 30d4a32a62..1a287ae8dd 100644 --- a/module/index/view/index.html.php +++ b/module/index/view/index.html.php @@ -88,8 +88,10 @@ js::set('defaultOpen', $open);