tao-test/app/tao/views/templates/blocks/footer.tpl

35 lines
1.5 KiB
Smarty

<?php
use oat\tao\helpers\Layout;
use oat\tao\helpers\Template;
use oat\tao\helpers\ApplicationHelper;
?>
<footer aria-label="<?=__('About')?>" class="dark-bar">
<div class="lft">
© 2013 - <?= date('Y') ?> · <span class="tao-version"><?= ApplicationHelper::getVersionName() ?></span> ·
<a href="http://taotesting.com" target="_blank">Open Assessment Technologies S.A.</a>
· <?= __('All rights reserved.') ?>
<?php $releaseMsgData = Layout::getReleaseMsgData();
if ($releaseMsgData['msg'] && ($releaseMsgData['is-unstable'] || $releaseMsgData['is-sandbox'])): ?>
<span class="rgt">
<?php if ($releaseMsgData['is-unstable']): ?>
<span class="icon-warning"></span>
<?php endif; ?>
<?=$releaseMsgData['version-type']?> ·
<a href="<?=$releaseMsgData['link']?>" target="_blank"><?=$releaseMsgData['msg']?></a></span>
<?php endif; ?>
</div>
<div class="rgt">
<?php $operatedByData = Layout::getOperatedByData();
if (! empty($operatedByData['name'])): ?>
<?= __('Operated By ') ?>
<?php if (! empty($operatedByData['email'])): ?>
<a href="<?= $operatedByData['email'] ?>"><?= $operatedByData['name'] ?></a>
<?php else: ?>
<?= $operatedByData['name'] ?>
<?php endif; ?>
<?php endif; ?>
</div>
</footer>
<?php Template::inc('blocks/careers-js.tpl', 'tao'); ?>