style(uoj/1/app): modify some page footer views

Add translations to some footer texts.
Open external links to the new blank view.
This commit is contained in:
Masco Skray 2019-04-18 11:10:53 +08:00
parent 2dc8e74fc1
commit 2565c18256
3 changed files with 8 additions and 4 deletions

View File

@ -62,5 +62,7 @@ return [
'enter your QQ' => 'Enter your QQ',
'refuse to answer' => 'Refuse to answer',
'male' => 'Male',
'female' => 'Female'
'female' => 'Female',
'server time' => 'Server Time',
'opensource project' => 'OpenSource Project'
];

View File

@ -62,5 +62,7 @@ return [
'enter your QQ' => '输入QQ',
'refuse to answer' => '拒绝回答',
'male' => '男',
'female' => '女'
'female' => '女',
'server time' => '服务器时间',
'opensource project' => '开源项目'
];

View File

@ -14,11 +14,11 @@
<ul class="list-inline">
<li><?= UOJConfig::$data['profile']['oj-name'] ?></li>
<?php if (UOJConfig::$data['profile']['ICP-license'] != ''): ?> |
<li><a href="http://www.miitbeian.gov.cn"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></li>
<li><a href="http://www.miitbeian.gov.cn" target="_blank"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></li>
<?php endif ?>
</ul>
<p>Server time: <?= UOJTime::$time_now_str ?> | <a href="http://github.com/UniversalOJ/UOJ-System">开源项目</a></p>
<p><?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?> | <a href="http://github.com/UniversalOJ/UOJ-System" target="_blank"><?= UOJLocale::get('opensource project') ?></a></p>
</div>
<?php endif ?>
</div>