From c39c2f40bd5c08cf762b4f7d579b5c03b968a1f0 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 7 Apr 2009 10:01:48 -0700 Subject: [PATCH] Template variable help for edit screen. --- lib/WebGUI/Help/Account_FriendManager.pm | 32 +++++++++ .../i18n/English/Account_FriendManager.pm | 70 +++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/lib/WebGUI/Help/Account_FriendManager.pm b/lib/WebGUI/Help/Account_FriendManager.pm index 136fa518c..6514ed285 100644 --- a/lib/WebGUI/Help/Account_FriendManager.pm +++ b/lib/WebGUI/Help/Account_FriendManager.pm @@ -20,6 +20,38 @@ our $HELP = { ], related => [ ], }, + + 'edit friend manager' => { + title => 'Friend Manager Edit Template', + body => '', + isa => [ + ], + fields => [ ], + variables => [ + { name => 'formHeader', + required => 1, }, + { name => 'username', }, + { name => 'userId', }, + { name => 'manageUrl', }, + { name => 'addUserForm', }, + { name => 'hasFriends', }, + { name => 'friend_loop', + variables=> [ + { name => 'userId', + description => 'new userId', }, + { name => 'username', + description => 'new username', }, + { name => 'checkForm', }, + ], + }, + { name => 'submit', + required => 1, }, + { name => 'formFooter', + required => 1, }, + ], + related => [ ], + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Account_FriendManager.pm b/lib/WebGUI/i18n/English/Account_FriendManager.pm index 4aba25a1c..612c67bd3 100644 --- a/lib/WebGUI/i18n/English/Account_FriendManager.pm +++ b/lib/WebGUI/i18n/English/Account_FriendManager.pm @@ -78,6 +78,76 @@ our $I18N = { lastUpdated => 0, }, + 'Friend Manager Edit Template' => { + message => q{Friend Manager Edit Template}, + lastUpdated => 0, + }, + + 'formHeader' => { + message => q{HTML code to begin the form for editing a user's list of friends.}, + lastUpdated => 0, + }, + + 'username' => { + message => q{The name of the user whose friends you are managing.}, + lastUpdated => 0, + }, + + 'userId' => { + message => q{The GUID of the user whose friends you are managing.}, + lastUpdated => 0, + }, + + 'manageUrl' => { + message => q{The GUID of the user whose friends you are managing.}, + lastUpdated => 0, + }, + + 'back to friend manager' => { + message => q{Back to the Friend Manager.}, + lastUpdated => 0, + }, + + 'addUserForm' => { + message => q{A dropdown box with a list of users who can be added to this user's Friends.}, + lastUpdated => 0, + }, + + 'hasFriends' => { + message => q{A boolean which is true if the user currently has friends.}, + lastUpdated => 0, + }, + + 'friend_loop' => { + message => q{A loop containing a list of the this user's current friends.}, + lastUpdated => 0, + }, + + 'new userId' => { + message => q{The GUID of a user.}, + lastUpdated => 0, + }, + + 'new username' => { + message => q{The username of a user.}, + lastUpdated => 0, + }, + + 'checkForm' => { + message => q{A checkbox for this user. If set when the form is submitted, this user will be removed from the user's list of friends.}, + lastUpdated => 0, + }, + + 'submit' => { + message => q{A button with internationalized label to submit the form.}, + lastUpdated => 0, + }, + + 'formFooter' => { + message => q{HTML code to end the form.}, + lastUpdated => 0, + }, + }; 1;