2022-01-24 22:02:17 +03:00
|
|
|
<?php
|
2023-12-31 21:46:27 +03:00
|
|
|
|
2022-01-24 22:02:17 +03:00
|
|
|
/**
|
|
|
|
* Local variables.
|
|
|
|
*
|
|
|
|
* @var bool $display_login_button
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-11-12 10:38:20 +03:00
|
|
|
<div id="frame-footer">
|
|
|
|
<small>
|
|
|
|
<span class="footer-powered-by">
|
2023-12-31 21:46:27 +03:00
|
|
|
<?= lang("powered_by") ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="footer-options">
|
2021-11-23 10:34:03 +03:00
|
|
|
<span id="select-language" class="badge bg-secondary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-language me-2"></i>
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= ucfirst(config('language')) ?>
|
|
|
|
</span>
|
2023-12-31 21:46:27 +03:00
|
|
|
|
|
|
|
<?php if ($display_login_button) : ?>
|
|
|
|
<a class="backend-link badge bg-primary text-decoration-none px-2" href="<?= session('user_id') ? site_url('calendar') : site_url('login') ?>">
|
2022-01-24 22:02:17 +03:00
|
|
|
<i class="fas fa-sign-in-alt me-2"></i>
|
|
|
|
<?= session('user_id') ? lang('backend_section') : lang('login') ?>
|
|
|
|
</a>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</span>
|
|
|
|
</small>
|
|
|
|
</div>
|