Add settings for inbox notifications/SMS.
This commit is contained in:
parent
b2419bffef
commit
180b454ce7
3 changed files with 39 additions and 2 deletions
|
|
@ -287,6 +287,22 @@ sub definition {
|
||||||
hoverHelp=>$i18n->get('mail return path help'),
|
hoverHelp=>$i18n->get('mail return path help'),
|
||||||
defaultValue=>$setting->get("mailReturnPath")
|
defaultValue=>$setting->get("mailReturnPath")
|
||||||
});
|
});
|
||||||
|
push(@fields, {
|
||||||
|
tab => 'messaging',
|
||||||
|
fieldType => 'email',
|
||||||
|
name => 'smsGateway',
|
||||||
|
label => $i18n->get('sms gateway', 'Message_Center'),
|
||||||
|
hoverHelp => $i18n->get('sms gateway help', 'Message_Center'),
|
||||||
|
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'),
|
||||||
|
});
|
||||||
# misc
|
# misc
|
||||||
push(@fields, {
|
push(@fields, {
|
||||||
tab=>"misc",
|
tab=>"misc",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package WebGUI::ProfileCategory;
|
package WebGUI::ProfileCategory;
|
||||||
|
|
||||||
|
|
||||||
=head1 LEGAL
|
=head1 LEGAL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,34 @@ our $I18N = {
|
||||||
lastUpdated => 1235685248,
|
lastUpdated => 1235685248,
|
||||||
},
|
},
|
||||||
|
|
||||||
'receive inbox emails' => {
|
'receive inbox sms' => {
|
||||||
message => q|Receive inbox notification via SMS?|,
|
message => q|Receive inbox notification via SMS?|,
|
||||||
context => q|Allows a user to choose how they get notified about things in their Inbox.|,
|
context => q|Allows a user to choose how they get notified about things in their Inbox.|,
|
||||||
lastUpdated => 1235685248,
|
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 always just send notifications about Inbox messages, instead of the message itself?|,
|
||||||
|
lastUpdated => 1235696295,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue