Pruning out notifications code from SMS.
This commit is contained in:
parent
8413d2337f
commit
e70494900a
3 changed files with 14 additions and 69 deletions
|
|
@ -291,28 +291,10 @@ sub definition {
|
||||||
tab => 'messaging',
|
tab => 'messaging',
|
||||||
fieldType => 'email',
|
fieldType => 'email',
|
||||||
name => 'smsGateway',
|
name => 'smsGateway',
|
||||||
label => $i18n->get('sms gateway', 'Message_Center'),
|
label => $i18n->get('sms gateway'),
|
||||||
hoverHelp => $i18n->get('sms gateway help', 'Message_Center'),
|
hoverHelp => $i18n->get('sms gateway help'),
|
||||||
defaultValue => $setting->get('smsGateway'),
|
defaultValue => $setting->get('smsGateway'),
|
||||||
});
|
});
|
||||||
push(@fields, {
|
|
||||||
tab => 'messaging',
|
|
||||||
fieldType => 'yesNo',
|
|
||||||
name => 'sendInboxNotificationsOnly',
|
|
||||||
label => $i18n->get('send inbox notifications only', 'Message_Center'),
|
|
||||||
hoverHelp => $i18n->get('send inbox notifications only help', 'Message_Center'),
|
|
||||||
defaultValue => $setting->get('sendInboxNotificationsOnly'),
|
|
||||||
});
|
|
||||||
push(@fields, {
|
|
||||||
tab => 'messaging',
|
|
||||||
fieldType => 'template',
|
|
||||||
#1234567890123456789012
|
|
||||||
name => 'inboxNotification00001',
|
|
||||||
label => $i18n->get('inbox notification template', 'Message_Center'),
|
|
||||||
hoverHelp => $i18n->get('inbox notification template help', 'Message_Center'),
|
|
||||||
defaultValue => $setting->get('inboxNotificationTemplateId'),
|
|
||||||
namespace => 'Account/Inbox/Notification',
|
|
||||||
});
|
|
||||||
# misc
|
# misc
|
||||||
push(@fields, {
|
push(@fields, {
|
||||||
tab=>"misc",
|
tab=>"misc",
|
||||||
|
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
package WebGUI::i18n::English::Message_Center;
|
|
||||||
|
|
||||||
use strict;
|
|
||||||
|
|
||||||
our $I18N = {
|
|
||||||
|
|
||||||
'receive inbox emails' => {
|
|
||||||
message => q|Receive Inbox message notifications via email?|,
|
|
||||||
context => q|Allows a user to choose how they get notified about things in their Inbox.|,
|
|
||||||
lastUpdated => 1235685248,
|
|
||||||
},
|
|
||||||
|
|
||||||
'receive inbox sms' => {
|
|
||||||
message => q|Receive Inbox message notifications via SMS?|,
|
|
||||||
context => q|Allows a user to choose how they get notified about things in their Inbox.|,
|
|
||||||
lastUpdated => 1235685248,
|
|
||||||
},
|
|
||||||
|
|
||||||
'sms gateway' => {
|
|
||||||
message => q|SMS gateway|,
|
|
||||||
context => q|email to SMS/text email address for this site.|,
|
|
||||||
lastUpdated => 1235685248,
|
|
||||||
},
|
|
||||||
|
|
||||||
'sms gateway help' => {
|
|
||||||
message => q|The email address that this site would use to send an SMS message.|,
|
|
||||||
lastUpdated => 1235695517,
|
|
||||||
},
|
|
||||||
|
|
||||||
'send inbox notifications only' => {
|
|
||||||
message => q|Send only Inbox notifications|,
|
|
||||||
context => q|Site setting. A notification is a short message that something is in the Inbox.|,
|
|
||||||
lastUpdated => 1235685248,
|
|
||||||
},
|
|
||||||
|
|
||||||
'send inbox notifications only help' => {
|
|
||||||
message => q|Should WebGUI just send notifications about Inbox messages, instead of the message itself?|,
|
|
||||||
lastUpdated => 1235696295,
|
|
||||||
},
|
|
||||||
|
|
||||||
'inbox notification' => {
|
|
||||||
message => q|You have a new message in your Inbox.|,
|
|
||||||
lastUpdated => 1235708853,
|
|
||||||
},
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
1;
|
|
||||||
#vim:ft=perl
|
|
||||||
|
|
@ -4338,6 +4338,18 @@ Users may override this setting in their profile.
|
||||||
'recaptcha public key' => {
|
'recaptcha public key' => {
|
||||||
message => 'reCAPTCHA Public Key'
|
message => 'reCAPTCHA Public Key'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'sms gateway' => {
|
||||||
|
message => q|SMS gateway|,
|
||||||
|
context => q|email to SMS/text email address for this site.|,
|
||||||
|
lastUpdated => 1235685248,
|
||||||
|
},
|
||||||
|
|
||||||
|
'sms gateway help' => {
|
||||||
|
message => q|The email address that this site would use to send an SMS message.|,
|
||||||
|
lastUpdated => 1235695517,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue