Add settings for inbox notifications/SMS.

This commit is contained in:
Colin Kuskie 2009-02-26 17:05:45 -08:00
parent b2419bffef
commit 180b454ce7
3 changed files with 39 additions and 2 deletions

View file

@ -287,6 +287,22 @@ sub definition {
hoverHelp=>$i18n->get('mail return path help'),
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
push(@fields, {
tab=>"misc",