mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 20:48:40 +00:00
style: change language jack buttons' link
Some of the pictures of the original UOJ system uses the picture bed that belongs to the real UOJ which set up by vfleaking. But it may not work on some situations of the community version. This commit added language flag pictures and changed the link to those pictures.
This commit is contained in:
parent
b77834a182
commit
fd77267e3f
@ -7,14 +7,14 @@
|
|||||||
<?php if ($ShowPageFooter): ?>
|
<?php if ($ShowPageFooter): ?>
|
||||||
<div class="uoj-footer">
|
<div class="uoj-footer">
|
||||||
<p>
|
<p>
|
||||||
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'zh-cn'))) ?>"><img src="//img.uoj.ac/utility/flags/24/cn.png" alt="中文" /></a>
|
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'zh-cn'))) ?>"><img src="/pictures/lang/cn.png" alt="中文" /></a>
|
||||||
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>"><img src="//img.uoj.ac/utility/flags/24/gb.png" alt="English" /></a>
|
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>"><img src="/pictures/lang/gb.png" alt="English" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li><?= UOJConfig::$data['profile']['oj-name'] ?></li>
|
<li><?= UOJConfig::$data['profile']['oj-name'] ?></li>
|
||||||
<?php if (UOJConfig::$data['profile']['ICP-license']!=''): ?>
|
<?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"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></li>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
BIN
uoj/1/pictures/lang/cn.png
Normal file
BIN
uoj/1/pictures/lang/cn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 604 B |
BIN
uoj/1/pictures/lang/gb.png
Normal file
BIN
uoj/1/pictures/lang/gb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user