mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-15 07:18:41 +00:00
c49b69aa86
Let's welcome brand new look made by Bootstrap 4! Not only website but also our logo is being flat now. The new logo uses blue as main color, to be different from original. For us, it also shows the project has up to a new stage. We hope that the project will get better and better. BREAKING CHANGE: The path for users to place their images is renamed. Logos are saved as new names too. Users should move "pictures" to "images". Any modifications should suit the Bootstrap 4's standard.
30 lines
1.5 KiB
PHP
30 lines
1.5 KiB
PHP
<?php
|
|
if (!isset($ShowPageFooter)) {
|
|
$ShowPageFooter = true;
|
|
}
|
|
?>
|
|
</div>
|
|
<?php if ($ShowPageFooter): ?>
|
|
<div class="uoj-footer">
|
|
<div class="btn-group dropright mb-3">
|
|
<button type="button" class="btn btn-sm btn-outline-secondary dropdown-toggle" data-toggle="dropdown">
|
|
<span class="glyphicon glyphicon-globe"></span> <?= UOJLocale::get('_common_name') ?>
|
|
</button>
|
|
<div class="dropdown-menu">
|
|
<a class="dropdown-item" href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'zh-cn'))) ?>">中文</a>
|
|
<a class="dropdown-item" href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>">English</a>
|
|
</div>
|
|
</div>
|
|
|
|
<ul class="list-inline"><li class="list-inline-item"><?= UOJConfig::$data['profile']['oj-name'] ?></li></ul>
|
|
<?php if (UOJConfig::$data['profile']['ICP-license'] != '' && preg_match_all('/(\d+\.?\d+)/', UOJConfig::$data['profile']['ICP-license'], $ICP_number)): ?>
|
|
<p><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<?= $ICP_number[0][0] ?>" style="text-decoration:none;"><img src="http://uoj.ac/pictures/beian.png" /> <?= UOJConfig::$data['profile']['ICP-license'] ?></a></p>
|
|
<?php endif ?>
|
|
<p><?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?> | <a href="https://github.com/UniversalOJ/UOJ-System" target="_blank"><?= UOJLocale::get('opensource project') ?></a></p>
|
|
</div>
|
|
<?php endif ?>
|
|
</div>
|
|
<!-- /container -->
|
|
</body>
|
|
</html>
|