mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 12:23:38 +03:00
31 lines
977 B
PHP
31 lines
977 B
PHP
<?php
|
|
/**
|
|
* Local variables.
|
|
*
|
|
* @var bool $display_login_button
|
|
*/
|
|
?>
|
|
|
|
<div id="frame-footer">
|
|
<small>
|
|
<span class="footer-powered-by">
|
|
Powered By
|
|
<a href="https://easyappointments.org" target="_blank">Easy!Appointments</a>
|
|
</span>
|
|
|
|
<span class="footer-options">
|
|
<span id="select-language" class="badge bg-secondary">
|
|
<i class="fas fa-language me-2"></i>
|
|
<?= ucfirst(config('language')) ?>
|
|
</span>
|
|
|
|
<?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'); ?>">
|
|
<i class="fas fa-sign-in-alt me-2"></i>
|
|
<?= session('user_id') ? lang('backend_section') : lang('login') ?>
|
|
</a>
|
|
<?php endif ?>
|
|
</span>
|
|
</small>
|
|
</div>
|