Add invitation sound check into the installation process

This commit is contained in:
Fedor A. Fetisov 2021-08-29 23:36:35 +03:00
parent 6d4c438d62
commit 756014d568
3 changed files with 6 additions and 0 deletions

View File

@ -25,5 +25,9 @@
$('#check-new-message').click(function() {
Mibew.Utils.playSound('../sounds/new_message');
});
$('#check-invitation').click(function() {
Mibew.Utils.playSound('../sounds/invite');
});
});
})(Mibew, jQuery);

View File

@ -10,6 +10,7 @@
<ul>
<li><a id="check-new-visitor" href="javascript:void(0)">{{l10n "New Visitor"}}</a></li>
<li><a id="check-new-message" href="javascript:void(0)">{{l10n "New Message"}}</a></li>
<li><a id="check-invitation" href="javascript:void(0)">{{l10n "Invitation"}}</a></li>
</ul>
<br />
<span class="warning">{{l10n "For security reasons you should remove install.php file from your server."}}</span>

View File

@ -10,6 +10,7 @@
<ul>
<li><a id="check-new-visitor" href="javascript:void(0)">{{l10n "New Visitor"}}</a></li>
<li><a id="check-new-message" href="javascript:void(0)">{{l10n "New Message"}}</a></li>
<li><a id="check-invitation" href="javascript:void(0)">{{l10n "Invitation"}}</a></li>
</ul>
<br />
<span class="warning">{{l10n "For security reasons you should remove install.php file from your server."}}</span>