Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces.

This commit is contained in:
Frank Dillon 2008-11-15 11:39:23 +00:00
commit 4ff722bd5d
56 changed files with 6954 additions and 1090 deletions

View file

@ -0,0 +1,14 @@
package WebGUI::i18n::English::Account_Profile;
use strict;
our $I18N = {
'Error: Cannot instantiate template' => {
message => q{Error: Cannot instantiate template %s for class %s},
lastUpdated => 1225724810,
context => q{Error message in Account.pm},
},
};
1;

View file

@ -0,0 +1,253 @@
package WebGUI::i18n::English::Account_Friends;
use strict;
our $I18N = {
'title' => {
message => q{Friends},
lastUpdated => 1225724810,
context => q{Tab label for Friends Account pluggin},
},
'friends style template label' => {
message => q|Style Template|,
lastUpdated => 1119068809
},
'friends style template hoverHelp' => {
message => q|Select a style template from the list to enclose friends in.|,
lastUpdated => 1119068809
},
'friends layout template label' => {
message => q|Edit Layout Template|,
lastUpdated => 1119068809
},
'friends layout template hoverHelp' => {
message => q{Choose a layout from the list to display the various account pluggins that are editable by the current user as well as the contents of the one currently chosen},
lastUpdated => 1119068809
},
'friends view template label' => {
message => q|View Template|,
lastUpdated => 1119068809
},
'friends view template hoverHelp' => {
message => q|Choose the main template for viewing friends|,
lastUpdated => 1119068809
},
'friends edit template label' => {
message => q|Edit Template|,
lastUpdated => 1119068809
},
'friends edit template hoverHelp' => {
message => q|Choose the template for editing friends|,
lastUpdated => 1119068809
},
'friends send request template label' => {
message => q|Send Friends Request Template|,
lastUpdated => 1119068809
},
'friends send request template hoverHelp' => {
message => q|Choose the template for sending friends requests|,
lastUpdated => 1119068809
},
'friends confirm template label' => {
message => q|Friends Request Confirm Template|,
lastUpdated => 1119068809
},
'friends confirm template hoverHelp' => {
message => q|Choose the template for displaying confirmation that a friends request has been sent|,
lastUpdated => 1119068809
},
'friends remove confirm template label' => {
message => q|Friends Removal Confirm Template|,
lastUpdated => 1119068809
},
'friends remove confirm template hoverHelp' => {
message => q|Choose the template for displaying confirmation that you wish to remove a friend|,
lastUpdated => 1119068809
},
'friends error template label' => {
message => q|Error Template|,
lastUpdated => 1119068809
},
'friends error template hoverHelp' => {
message => q|Choose the template for displaying friends errors|,
lastUpdated => 1119068809
},
'back label' => {
message => q{back to site},
lastUpdated => 1119068809
},
'edit my profile' => {
message => q|edit my profile|,
lastUpdated => 1068703399
},
'profile as others label' => {
message => q{view my profile as others see it},
lastUpdated => 1119068809
},
'error label' => {
message => q{Error},
lastUpdated => 1225724810,
},
'member since' => {
message => q{Member Since },
lastUpdated => 1119068809
},
'add to network label' => {
message => q{Add to Network},
lastUpdated => 1119068809
},
'back to profile label' => {
message => q{back to profile},
lastUpdated => 1225724810,
},
'adding user message' => {
message => q{You are adding <strong>%s</strong> to your network.},
lastUpdated => 1225724810,
},
'sending to message' => {
message => q{The following message will be sent along with your invitation:},
lastUpdated => 1225724810,
},
'default friend comments' => {
message => q{%s,
I'd like you to be a part of my friends network.
Thanks,
%s},
lastUpdated => 1225724810,
},
'send invite button label' => {
message => q{Send Invitation},
lastUpdated => 1225724810,
},
'cancel button label' => {
message => q{Cancel},
lastUpdated => 1225724810,
},
'error user is already friend' => {
message => q{This user is already a member of your friends network},
lastUpdated => 1181493546,
},
'error user is already invited' => {
message => q{You have already sent an invitation for this user to join your friends network},
lastUpdated => 1181493546,
},
'does not want to be a friend' => {
message => q{This user prefers not to be added as a friend.},
lastUpdated => 1186264488,
},
'' => {
message => q{},
lastUpdated => 1225724810,
},
'back to user profile' => {
message => q{back to users profile},
lastUpdated => 1225724810,
},
'message sent label' => {
message => q{Friends Request Sent},
lastUpdated => 1181019679,
},
'add to friends confirmation' => {
message => q{An email has been sent to %s for your request to be added to your friends network.},
lastUpdated => 1186030776,
},
'send private message label' => {
message => q{Send Private Message},
lastUpdated => 1186030776,
},
'send private message label' => {
message => q{Send Private Message},
lastUpdated => 1186030776,
},
'remove from friends label' => {
message => q{Remove From Friends},
lastUpdated => 1186030776,
},
'no friend selected' =>{
message => q{You have not selected friend to be removed from your friends list},
lastUpdated => 1186030776,
},
'not a friend error' =>{
message => q{The user you have selected to remove is not in your friends list.},
lastUpdated => 1186030776,
},
'remove confirm label' =>{
message => q{Remove Friend Confirmation},
lastUpdated => 1186030776,
},
'remove confirm message' =>{
message => q{Are you sure you want remove %s from your friends list?},
lastUpdated => 1186030776,
},
'remove confirm yes' =>{
message => q{yes, remove this user},
lastUpdated => 1186030776,
},
'remove confirm no' =>{
message => q{no, I made a mistake},
lastUpdated => 1186030776,
},
'friend removed' =>{
message => q{%s was removed from your friends list},
lastUpdated => 1186030776,
},
'no access' =>{
message => q{You do not have permission to view this user's friends list},
lastUpdated => 1186030776,
},
'friends is off' =>{
message => q{You do not have friends enabled. In order to see this page you must edit your profile and enable the friends setting.},
lastUpdated => 1186030776,
},
};
1;

View file

@ -0,0 +1,360 @@
package WebGUI::i18n::English::Account_Inbox;
use strict;
our $I18N = {
'title' => {
message => q{Inbox},
lastUpdated => 1225724810,
context => q{Tab label for Inbox Account pluggin},
},
'inbox style template label' => {
message => q|Style Template|,
lastUpdated => 1119068809
},
'inbox style template hoverHelp' => {
message => q|Select a style template from the list to enclose the inbox in.|,
lastUpdated => 1119068809
},
'inbox layout template label' => {
message => q|Edit Layout Template|,
lastUpdated => 1119068809
},
'inbox layout template hoverHelp' => {
message => q{Choose a layout from the list to display the various account pluggins that are editable by the current user as well as the contents of the one currently chosen},
lastUpdated => 1119068809
},
'inbox view template label' => {
message => q|View Template|,
lastUpdated => 1119068809
},
'inbox view template hoverHelp' => {
message => q|Choose the main template for viewing the inbox|,
lastUpdated => 1119068809
},
'inbox view message template label' => {
message => q|View Message Template|,
lastUpdated => 1119068809
},
'inbox view message template hoverHelp' => {
message => q|Choose the template for viewing a message in the inbox|,
lastUpdated => 1119068809
},
'inbox message confirm template label' => {
message => q|Inbox Message Confirm Template|,
lastUpdated => 1119068809
},
'inbox message confirm template hoverHelp' => {
message => q|Choose the template for displaying confirmation that a message has been sent|,
lastUpdated => 1119068809
},
'inbox error message template label' => {
message => q|Inbox Error Message Template|,
lastUpdated => 1119068809
},
'inbox error message template hoverHelp' => {
message => q|Choose the template for viewing inbox errors|,
lastUpdated => 1119068809
},
'inbox manage invitations template label' => {
message => q|Manage Invitations Template|,
lastUpdated => 1119068809
},
'inbox manage invitations template hoverHelp' => {
message => q|Choose the template to user for managing invitations|,
lastUpdated => 1119068809
},
'invitation confirm message template label' => {
message => q|Invitation Confirmation Message Template|,
lastUpdated => 1119068809
},
'invitation confirm message template hoverHelp' => {
message => q|Choose the template for viewing invitation confirmations|,
lastUpdated => 1119068809
},
'inbox view invitation template label' => {
message => q|View Invitation Template|,
lastUpdated => 1119068809
},
'inbox view invitation template hoverHelp' => {
message => q|Choose the template for viewing an invitation|,
lastUpdated => 1119068809
},
'subject label' => {
message => q|Subject|,
lastUpdated => 1119068809
},
'status label' => {
message => q{Status},
lastUpdated => 1119068809
},
'date label' => {
message => q{Date},
lastUpdated => 1119068809
},
'received label' => {
message => q{Received},
lastUpdated => 1119068809
},
'recipients label' => {
message => q{Add Recipients},
lastUpdated => 1119068809
},
'from label' => {
message => q{From},
lastUpdated => 1119068809
},
'to label' => {
message => q{To},
lastUpdated => 1119068809
},
'member since' => {
message => q{Member Since },
lastUpdated => 1119068809
},
'delete label' => {
message => q{Delete},
lastUpdated => 1119068809
},
'view my profile' => {
message => q{view my profile as others see it},
lastUpdated => 1119068809
},
'messages label' => {
message => q{Messages},
lastUpdated => 1119068809
},
'invitations label' => {
message => q{Invitations},
lastUpdated => 1119068809
},
'previous label' => {
message => q{Previous},
lastUpdated => 1119068809
},
'next label' => {
message => q{Next},
lastUpdated => 1119068809
},
'reply label' => {
message => q{Reply},
lastUpdated => 1119068809
},
'delete label' => {
message => q{Delete},
lastUpdated => 1119068809
},
'cancel label' => {
message => q{Cancel},
lastUpdated => 1119068809
},
'back label' => {
message => q{Back to Inbox},
lastUpdated => 1119068809
},
'new message label' => {
message => q{New Message},
lastUpdated => 1119068809
},
'send label' => {
message => q{Send},
lastUpdated => 1181019679,
},
'no access' => {
message => q{You do not have permission to view this message.},
lastUpdated => 1119068809
},
'no reply error' => {
message => q{You do not have permission to reply to this message.},
lastUpdated => 1119068809
},
'system message error' => {
message => q{This message was sent by the system and cannot be replied to},
lastUpdated => 1119068809
},
'message does not exist' => {
message => q{The message you are trying to view has been deleted.},
lastUpdated => 1119068809
},
'message count' => {
message => q{messages},
lastUpdated => 1119068809
},
'compose message label' => {
message => q{Compose new message},
lastUpdated => 1119068809
},
'reply message label' => {
message => q{Reply to message},
lastUpdated => 1119068809
},
'no self error' => {
message => q|You may not send messages to yourself.|,
lastUpdated => 1181019679,
},
'no friends error' => {
message => q{You do not have any active friends in the system. If you wish to send a new private message to a user without having to locate their profile, you must first add them as a friend.},
lastUpdated => 1181019679,
},
'no friends hover' => {
message => q{You must have active friends in the system if you wish to send new private messages without having to first locate their profile},
lastUpdated => 1181019679,
},
'no subject error' => {
message => q{You have not entered a subject for this message},
lastUpdated => 1181019679,
},
'no message error' => {
message => q{You have not entered a message},
lastUpdated => 1181019679,
},
'no user error' => {
message => q{You have not selected anyone to send this message to},
lastUpdated => 1181019679,
},
'blocked error' => {
message => q|This user does not wish to receive private messages.|,
lastUpdated => 1181019679,
},
'remove text' => {
message => q{remove},
lastUpdated => 1181019679,
},
'update label' => {
message => q{Update},
lastUpdated => 1181019679,
},
'message sent label' => {
message => q{Message Sent},
lastUpdated => 1181019679,
},
'message sent text' => {
message => q{Your message has been sent successfully},
lastUpdated => 1181019679,
},
'error label' => {
message => q{Error},
lastUpdated => 1225724810,
},
'invitation label' => {
message => q{Invitation},
lastUpdated => 1225724810,
},
'invitation count' => {
message => q{invitations},
lastUpdated => 1225724810,
},
'invitation message' => {
message => q{%s has invited you to join their friends newtork},
lastUpdated => 1225724810,
},
'no invitations' => {
message => q{You have no outstanding friends invitations},
lastUpdated => 1225724810,
},
'accept button label' => {
message => q{Accept},
lastUpdated => 1225724810,
},
'deny button label' => {
message => q{Deny},
lastUpdated => 1225724810,
},
'invitation confirm label' => {
message => q{Invitation Notices Sent},
lastUpdated => 1225724810,
},
'invitation confirm message' => {
message => q{The following users were notified:},
lastUpdated => 1225724810,
},
'invitations back label' => {
message => q{back to invitations},
lastUpdated => 1225724810,
},
'invitation does not exist' => {
message => q{The invitation you are trying to view has already been approved or denied.},
lastUpdated => 1119068809
},
'no access to invitation' => {
message => q{You do not have permission to view this invitation.},
lastUpdated => 1119068809
},
'inviter no longer exists' => {
message => q{The user who sent this invitation is no longer a member of the site.},
lastUpdated => 1119068809
},
};
1;

View file

@ -0,0 +1,161 @@
package WebGUI::i18n::English::Account_Profile;
use strict;
our $I18N = {
'title' => {
message => q{Profile},
lastUpdated => 1225724810,
context => q{Tab label for Profile Account pluggin},
},
'profile style template label' => {
message => q|Style Template|,
lastUpdated => 1119068809
},
'profile style template hoverHelp' => {
message => q|Select a style template from the list to enclose the inbox in.|,
lastUpdated => 1119068809
},
'profile layout template label' => {
message => q|Edit Layout Template|,
lastUpdated => 1119068809
},
'profile layout template hoverHelp' => {
message => q{Choose a layout from the list to display the various account pluggins that are editable by the current user as well as the contents of the one currently chosen},
lastUpdated => 1119068809
},
'profile view template label' => {
message => q|View Template|,
lastUpdated => 1119068809
},
'profile view template hoverHelp' => {
message => q|Choose the main template for viewing a profile|,
lastUpdated => 1119068809
},
'profile edit template label' => {
message => q|Edit Template|,
lastUpdated => 1119068809
},
'profile edit template hoverHelp' => {
message => q|Choose the main template for editing a profile|,
lastUpdated => 1119068809
},
'profile edit layout template label' => {
message => q{Display Layout Template},
lastUpdated => 1119068809
},
'profile edit layout template hoverHelp' => {
message => q{Choose a layout from the list to display the various account pluggins that are viewable by others as well as the contents of the one currently chosen},
lastUpdated => 1119068809
},
'profile error template label' => {
message => q|Error Template|,
lastUpdated => 1119068809
},
'profile error template hoverHelp' => {
message => q|Choose the template to use for displaying profile errors to the user|,
lastUpdated => 1119068809
},
'visitor profile restricted' => {
message => q|The visitor profile is restricted|,
lastUpdated => 1068703399
},
'edit my profile' => {
message => q|edit my profile|,
lastUpdated => 1068703399
},
'view my profile' => {
message => q|view my profile|,
lastUpdated => 1068703399
},
'profile as others label' => {
message => q{view my profile as others see it},
lastUpdated => 1119068809
},
'member since' => {
message => q{Member Since },
lastUpdated => 1119068809
},
'send private message label' => {
message => q{Send Private Message},
lastUpdated => 1119068809
},
'send friend request label' => {
message => q{Send Friend Request},
lastUpdated => 1119068809
},
'back label' => {
message => q{back to site},
lastUpdated => 1119068809
},
'profile not public error' => {
message => q|This user's profile is not public.|,
lastUpdated => 1043881275
},
'friends only' => {
message => q|Your profile is viewable to Friends|,
lastUpdated => 1043881275
},
'private profile' => {
message => q|Your profile is Private|,
lastUpdated => 1043881275
},
'public profile' => {
message => q|Your profile is Public|,
lastUpdated => 1043881275
},
'private label' => {
message => q|Private|,
lastUpdated => 1043881275
},
'public label' => {
message => q|Public|,
lastUpdated => 1043881275
},
'friends only label' => {
message => q|Friends Only|,
lastUpdated => 1043881275
},
'error label' => {
message => q{Error},
lastUpdated => 1225724810,
},
'back to profile label' => {
message => q{back to profile},
lastUpdated => 1225724810,
},
};
1;

View file

@ -0,0 +1,40 @@
package WebGUI::i18n::English::Account_Shop;
use strict;
our $I18N = {
'title' => {
message => q{Shop},
lastUpdated => 1225724810,
context => q{Tab label for User Account pluggin},
},
'shop style template label' => {
message => q|Style Template|,
lastUpdated => 1119068809
},
'shop style template hoverHelp' => {
message => q|Select a style template from the list to enclose the shop tab in.|,
lastUpdated => 1119068809
},
'shop layout template label' => {
message => q|Layout Template|,
lastUpdated => 1119068809
},
'shop layout template hoverHelp' => {
message => q{Choose a layout template in which to enclose the content from the various methods within the shop tab},
lastUpdated => 1119068809
},
'manage purchases label' => {
message => q{Manage Purchases},
lastUpdated => 1119068809
},
};
1;

View file

@ -0,0 +1,40 @@
package WebGUI::i18n::English::Account_User;
use strict;
our $I18N = {
'title' => {
message => q{Account},
lastUpdated => 1225724810,
context => q{Tab label for User Account pluggin},
},
'user style template label' => {
message => q|Style Template|,
lastUpdated => 1119068809
},
'user style template hoverHelp' => {
message => q|Select a style template from the list to enclose the account tab in.|,
lastUpdated => 1119068809
},
'user layout template label' => {
message => q|Layout Template|,
lastUpdated => 1119068809
},
'user layout template hoverHelp' => {
message => q{Choose a layout template in which to enclose the content from the various methods within the account tab},
lastUpdated => 1119068809
},
'templates in auth method message' => {
message => q{<strong>The display templates for this module can be found in the settings <br />for the authentications modules you have installed on your site. </strong>},
lastUpdated => 1119068809
},
};
1;

View file

@ -188,6 +188,11 @@ our $I18N = {
lastUpdated => 1031514049
},
'home info short' => {
message => q|Home|,
lastUpdated => 1031514049
},
'118' => {
message => q|Anonymous Registration|,
lastUpdated => 1031514049
@ -244,6 +249,16 @@ our $I18N = {
context => q|Title of the statistics viewer for the admin console.|
},
'required error' => {
message => q{%s is required.},
lastUpdated => 1031514049
},
'language not available error' => {
message => q|%s is not available. Please select another language|,
lastUpdated => 1031514049
},
'451' => {
message => q|is required.|,
lastUpdated => 1031514049
@ -325,7 +340,7 @@ our $I18N = {
},
'861' => {
message => q|Make profile public?|,
message => q|Profile Privacy Setting|,
lastUpdated => 1043879954
},
@ -604,6 +619,11 @@ our $I18N = {
lastUpdated => 1031514049
},
'demographic info short' => {
message => q|Demographic|,
lastUpdated => 1031514049
},
'77' => {
message => q|That account name is already in use by another member of this site. Please try a different username. The following are some suggestions:<br />
%sToo<br />
@ -835,6 +855,11 @@ to add or remove users from their groups.
lastUpdated => 1031514049
},
'preferences short' => {
message => q|Preferences|,
lastUpdated => 1031514049
},
'1026' => {
message => q|Allow rich edit?|,
lastUpdated => 1065966219
@ -1248,6 +1273,11 @@ You must be using mod_perl and configure <b>PerlSetEnv SYBASE /opt/sybase/11.0.2
lastUpdated => 1031514049
},
'misc info short' => {
message => q|Miscellaneous|,
lastUpdated => 1031514049
},
'967' => {
message => q|Empty everyone's trash.|,
lastUpdated => 1208022779
@ -1516,6 +1546,11 @@ sent in HTML format. No attachments can be included.|,
lastUpdated => 1031514049
},
'work info short' => {
message => q|Work|,
lastUpdated => 1031514049
},
'429' => {
message => q|Login Time|,
lastUpdated => 1031514049
@ -1906,6 +1941,11 @@ This group could then be named "Employees in HMO 1", and would allow you to rest
lastUpdated => 1031514049
},
'contact info short' => {
message => q|Contact Info|,
lastUpdated => 1031514049
},
'230' => {
message => q|Message|,
lastUpdated => 1031514049
@ -2247,6 +2287,11 @@ This group could then be named "Employees in HMO 1", and would allow you to rest
lastUpdated => 1031514049
},
'personal info short' => {
message => q|Personal|,
lastUpdated => 1031514049
},
'317' => {
message => q|<a href="http://www.icq.com">ICQ</a> UIN|,
lastUpdated => 1031514049
@ -3229,6 +3274,12 @@ a user.|,
lastUpdated => 1118941685,
},
'account settings tab' => {
message => q|Account|,
lastUpdated => 1098327046,
context => q|Tab label for the account settings in WebGUI Settings.|
},
'account' => {
message => q|Account|,
lastUpdated => 1098327046,
@ -3534,6 +3585,11 @@ LongTruncOk=1</p>
lastUpdated => 1181019679,
},
'inbox message status active' => {
message => q|Active|,
lastUpdated => 1181019679,
},
'private message prev label' => {
message => q|Previous|,
lastUpdated => 1181019679,

View file

@ -17,6 +17,16 @@ our $I18N = {
lastUpdated => 1031514049
},
'category short name' => {
message => q|Category Short Name|,
lastUpdated => 1031514049
},
'category short name description' => {
message => q|The short name of the this category.|,
lastUpdated => 1122315199,
},
'475' => {
message => q|Field Name|,
lastUpdated => 1031514049