S2OJ/uoj/1/app/views/page-footer.php
AdemJensen fd77267e3f 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.
2017-06-29 17:32:46 +08:00

28 lines
981 B
PHP

<?php
if (!isset($ShowPageFooter)) {
$ShowPageFooter = true;
}
?>
</div>
<?php if ($ShowPageFooter): ?>
<div class="uoj-footer">
<p>
<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="/pictures/lang/gb.png" alt="English" /></a>
</p>
<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>
<?php endif ?>
</ul>
<p>Server time: <?= UOJTime::$time_now_str ?> | <a href="http://github.com/UniversalOJ/UOJ-System">开源项目</a></p>
</div>
<?php endif ?>
</div>
<!-- /container -->
</body>
</html>