]> git.mxchange.org Git - friendica.git/commitdiff
Feature for desktop-notifications
authorFlxAlbroscheit <felix@artplantation.de>
Tue, 31 Mar 2015 00:06:07 +0000 (02:06 +0200)
committerFlxAlbroscheit <felix@artplantation.de>
Tue, 31 Mar 2015 00:06:07 +0000 (02:06 +0200)
see issue #1163

mod/settings.php

index b01c4fabde7b2f3cc7714f21ce33ff2fbf26040c..93109fc0cf959b0af21bac2243de9fd028d13a25 100644 (file)
@@ -1182,6 +1182,10 @@ function settings_content(&$a) {
                '$notify7'  => array('notify7', t('You are tagged in a post'), ($notify & NOTIFY_TAGSELF), NOTIFY_TAGSELF, ''),
                '$notify8'  => array('notify8', t('You are poked/prodded/etc. in a post'), ($notify & NOTIFY_POKE), NOTIFY_POKE, ''),
 
+               '$desktop_notifications' => t('Activate desktop notifications'),
+                '$desktop_notifications_note' => t('Note: This is an experimental feature, as being not supported by each browser'),
+                '$desktop_notifications_success_message' => t('You will now receive desktop notifications!'),
+                
                '$email_textonly' => array('email_textonly', t('Text-only notification emails'),
                                                                        get_pconfig(local_user(),'system','email_textonly'),
                                                                        t('Send text only notification emails, without the html part')),