raspisms/templates/incs/footer.php

28 lines
1.1 KiB
PHP
Raw Normal View History

2019-10-29 14:57:13 +01:00
<footer class="text-center">
2019-11-29 06:02:13 +01:00
RaspiSMS a été créé pour vous par le site <a href="https://raspberry-pi.fr">Raspberry Pi FR</a>, site dédié à la Raspberry Pi<br/>
2020-02-21 02:58:54 +01:00
Copyright 2014-<?= date('Y'); ?>. RaspiSMS est un programme sous <a href="https://www.gnu.org/licenses/gpl.txt" rel="nofollow">licence GNU GPL V3</a>.<br/>
2019-11-07 17:52:33 +01:00
</footer>
2019-11-11 04:05:26 +01:00
<?php if ($_SESSION['user']['settings']['sms_reception_sound'] ?? false) { ?>
2019-10-29 14:57:13 +01:00
<audio id="reception-sound">
2019-11-08 19:18:08 +01:00
<source src="<?php echo HTTP_PWD_SOUND; ?>/receptionSound.ogg" type="audio/ogg">
<source src="<?php echo HTTP_PWD_SOUND; ?>/receptionSound.mp3" type="audio/mpeg">
<source src="<?php echo HTTP_PWD_SOUND; ?>/receptionSound.wav" type="audio/wav">
2019-10-29 14:57:13 +01:00
</audio>
<?php } ?>
2019-11-09 03:35:12 +01:00
<?php if (ENV == 'dev') { ?>
2019-10-29 14:57:13 +01:00
<script>
2019-11-09 03:35:12 +01:00
<?php while ($message = \FlashMessage\FlashMessage::next()) { ?>
2019-11-12 17:37:20 +01:00
alert('<?php $this->s($message['type'] . ' : ' . $message['text']); ?>');
2019-10-29 14:57:13 +01:00
<?php } ?>
</script>
<?php } ?>
2019-11-29 03:07:31 +01:00
<?php if (! ($_SESSION['user']['settings']['display_help'] ?? false)) { ?>
<style>.help {display: none;}</style>
<?php } ?>
2019-11-07 17:52:33 +01:00
2019-10-29 14:57:13 +01:00
</body>
</html>