raspisms/templates/incs/footer.php

24 lines
958 B
PHP
Raw Normal View History

2019-10-29 14:57:13 +01:00
<footer class="text-center">
RaspiSMS a été créé pour vous par le site <a href="http://raspbian-france.fr">Raspbian-France</a>, site dédié à la Raspberry Pi<br/>
Copyright 2014. RaspiSMS est un programme sous <a href="https://www.gnu.org/licenses/gpl.txt" rel="nofollow">licence GNU GPL</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-10-29 14:57:13 +01:00
alert('<?php echo $message['type'] . ' : ' . $message['text']; ?>');
<?php } ?>
</script>
<?php } ?>
2019-11-07 17:52:33 +01:00
2019-10-29 14:57:13 +01:00
</body>
</html>