Correct the email/SMS user profile settings to match the spec.

This commit is contained in:
Colin Kuskie 2009-02-26 21:42:21 -08:00
parent ad71df4e3f
commit 668b1e46e8
2 changed files with 6 additions and 22 deletions

View file

@ -4,26 +4,14 @@ use strict;
our $I18N = {
'receive inbox notifications' => {
message => q|Inbox notifications contain.|,
'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,
},
'short notification' => {
message => q|Short notification|,
context => q|An abbreviated, short message that they have an email.|,
lastUpdated => 1235685248,
},
'full message' => {
message => q|Full content from message|,
context => q|The entire content of the Inbox message.|,
lastUpdated => 1235685248,
},
'receive inbox sms' => {
message => q|Receive inbox notification via 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,
},

View file

@ -46,17 +46,13 @@ sub installUserProfileFields {
$session,
'receiveInboxEmailNotifications',
{
label => q!WebGUI::International::get('receive inbox notifications','Message_Center')!,
label => q!WebGUI::International::get('receive inbox emails','Message_Center')!,
visible => 1,
required => 0,
protected => 1,
editable => 1,
fieldType => 'radioList',
dataDefault => 0,
possibleValues => q!{
message => WebGUI::International::get('full message','Message_Center'),
note => WebGUI::International::get('short notification','Message_Center'),
}!,
fieldType => 'yesNo',
dataDefault => 1,
},
4,
);