From 1849daa9223c11dc67d0ffb3bbe0106724780f2d Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 23 Feb 2009 21:57:29 +0000 Subject: [PATCH] Account Inbox template variables. --- lib/WebGUI/Help/Account_Inbox.pm | 27 +++++++++ lib/WebGUI/i18n/English/Account_Inbox.pm | 77 ++++++++++++++++++++++-- 2 files changed, 99 insertions(+), 5 deletions(-) diff --git a/lib/WebGUI/Help/Account_Inbox.pm b/lib/WebGUI/Help/Account_Inbox.pm index 99231a5ec..3f4090bea 100644 --- a/lib/WebGUI/Help/Account_Inbox.pm +++ b/lib/WebGUI/Help/Account_Inbox.pm @@ -27,6 +27,33 @@ our $HELP = { related => [ ], }, + 'view inbox' => { + title => 'view inbox template', + body => '', + isa => [ + { + tag => 'common vars', + namespace => 'Account_Inbox', + }, + ], + fields => [ ], + variables => [ + { name => 'subject_url', }, + { name => 'status_url', }, + { name => 'from_url', }, + { name => 'dateStamp_url', }, + { name => 'rpp_url', }, + { name => 'has_messages', }, + { name => 'message_total', }, + { name => 'new_message_url', }, + { name => 'canSendMessages', }, + { + name => 'message_loop', + variables => [], + }, + ], + related => [ ], + }, }; 1; diff --git a/lib/WebGUI/i18n/English/Account_Inbox.pm b/lib/WebGUI/i18n/English/Account_Inbox.pm index bd13a590e..2113bac39 100644 --- a/lib/WebGUI/i18n/English/Account_Inbox.pm +++ b/lib/WebGUI/i18n/English/Account_Inbox.pm @@ -23,7 +23,7 @@ our $I18N = { 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 @@ -194,7 +194,7 @@ our $I18N = { message => q|Subject|, lastUpdated => 1119068809 }, - + 'status label' => { message => q{Status}, lastUpdated => 1119068809 @@ -214,7 +214,7 @@ our $I18N = { message => q{Add Recipients}, lastUpdated => 1119068809 }, - + 'from label' => { message => q{From}, lastUpdated => 1119068809 @@ -224,7 +224,7 @@ our $I18N = { message => q{To}, lastUpdated => 1119068809 }, - + 'member since' => { message => q{Member Since }, lastUpdated => 1119068809 @@ -234,7 +234,7 @@ our $I18N = { message => q{Delete}, lastUpdated => 1119068809 }, - + 'view my profile' => { message => q{view my profile as others see it}, lastUpdated => 1119068809 @@ -546,6 +546,73 @@ our $I18N = { lastUpdated => 0, context => "Description of Inbox setting", }, + + 'subject_url' => { + message => q{The URL to sort the inbox by subject.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'status_url' => { + message => q{The URL to sort the inbox by status.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'from_url' => { + message => q{The URL to sort the inbox by who sent the messages.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'dateStamp_url' => { + message => q{The URL to sort the inbox by when the message was sent.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'rpp_url' => { + message => q{The current URL with sort, sort direction and user filtering params added.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'has_messages' => { + message => q{A boolean which is true if the user has messages.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'message_total' => { + message => q{The total number of messages the user has in their inbox.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'new_message_url' => { + message => q{The URL to take the user to the screen where they can send new messages to other users.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'canSendMessages' => { + message => q{A boolean which is true if the user has friends that he can send messages to.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'message_loop' => { + message => q{A loop containing all messages, as determined by the sorting and number of messages per page options.}, + lastUpdated => 1235421123, + context => "template variable for view inbox template", + }, + + 'view inbox template' => { + message => q{View Inbox Template}, + lastUpdated => 1235421123, + context => "The template that allows you to view the contents of the Inbox", + }, + }; 1;