Следуйте инструкциям в видео ниже, чтобы узнать, как установить наш сайт как веб-приложение на главный экран вашего устройства.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
<xf:macro name="svg_sound_notification_alerts">
    <xf:if is="in_array({$xf.options.svg_sound_notification_alerts}, (['icq', 'iphone', 'ok', 'viber', 'vk']))">
        <audio src="/styles/SoundNotification/sound/{$xf.options.svg_sound_notification_alerts}.mp3" autoplay></audio>
    <xf:elseif is="{$xf.options.svg_sound_notification_alerts_custom} && {$xf.options.svg_sound_notification_alerts} == 'custom'" />
        <audio src="{$xf.options.svg_sound_notification_alerts_custom}" autoplay></audio>   
    </xf:if>
</xf:macro>
<xf:macro name="svg_sound_notification_conversations">
    <xf:if is="in_array({$xf.options.svg_sound_notification_conversations}, (['icq', 'iphone', 'ok', 'viber', 'vk']))">
        <audio src="/styles/SoundNotification/sound/{$xf.options.svg_sound_notification_conversations}.mp3" autoplay></audio>
    <xf:elseif is="{$xf.options.svg_sound_notification_conv_custom} && {$xf.options.svg_sound_notification_conversations} == 'custom'" />
        <audio src="{$xf.options.svg_sound_notification_conv_custom}" autoplay></audio>   
    </xf:if>
</xf:macro><xf:macro name="svg_sound_notification_alerts">
    <xf:if is="in_array({$xf.options.svg_sound_notification_alerts}, (['icq', 'iphone', 'ok', 'viber', 'vk']))">
        <audio src="{$xf.options.boardUrl}/styles/SoundNotification/sound/{$xf.options.svg_sound_notification_alerts}.mp3" autoplay></audio>
    <xf:elseif is="{$xf.options.svg_sound_notification_alerts_custom} && {$xf.options.svg_sound_notification_alerts} == 'custom'" />
        <audio src="{$xf.options.svg_sound_notification_alerts_custom}" autoplay></audio>       
    </xf:if>
</xf:macro>
<xf:macro name="svg_sound_notification_conversations">
    <xf:if is="in_array({$xf.options.svg_sound_notification_conversations}, (['icq', 'iphone', 'ok', 'viber', 'vk']))">
        <audio src="{$xf.options.boardUrl}/styles/SoundNotification/sound/{$xf.options.svg_sound_notification_conversations}.mp3" autoplay></audio>
    <xf:elseif is="{$xf.options.svg_sound_notification_conv_custom} && {$xf.options.svg_sound_notification_conversations} == 'custom'" />
        <audio src="{$xf.options.svg_sound_notification_conv_custom}" autoplay></audio>       
    </xf:if>
</xf:macro>