Ajout activation/desactivation son sur reception message

This commit is contained in:
OsaAjani 2015-12-09 20:15:22 +01:00
parent e80adddf93
commit afdd5b5a01
3 changed files with 28 additions and 6 deletions

View file

@ -2,10 +2,12 @@
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/>
</footer>
<audio id="reception-sound">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.ogg" type="audio/ogg">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.mp3" type="audio/mpeg">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.wav" type="audio/wav">
</audio>
<?php if (RASPISMS_SETTINGS_SMS_RECEPTION_SOUND) { ?>
<audio id="reception-sound">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.ogg" type="audio/ogg">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.mp3" type="audio/mpeg">
<source src="<?php echo HTTP_PWD; ?>sounds/receptionSound.wav" type="audio/wav">
</audio>
<?php } ?>
</body>
</html>