diff --git a/lib/WebGUI/Help/Post.pm b/lib/WebGUI/Help/Post.pm new file mode 100644 index 000000000..7db22f38b --- /dev/null +++ b/lib/WebGUI/Help/Post.pm @@ -0,0 +1,16 @@ +package WebGUI::Help::Post; + +our $HELP = { + 'post add/edit template' => { + title => 'add/edit post template title', + body => 'add/edit post template body', + related => [ + { + tag => 'template language', + namespace => 'Template' + }, + ] + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Post.pm b/lib/WebGUI/i18n/English/Post.pm new file mode 100644 index 000000000..97b9de4f8 --- /dev/null +++ b/lib/WebGUI/i18n/English/Post.pm @@ -0,0 +1,50 @@ +package WebGUI::i18n::English::Post; + +our $I18N = { + 'add/edit post template title' => { + message => q|Post Add/Edit Template|, + lastUpdated => 1111253044, + }, + + 'add/edit post template body' => { + message => q|The following variables are available in the template to add or edit Posts: +

+! : This variable is required for the Data Form to function correctly.

+

+ +form.header !
+Code required to start the form for the Post. +

+ +isNewPost
+A conditional that is true if the user is adding a new Post, as opposed to +editing an existing Post. +

+ +isReply
+A conditional that is true if the user is replying to an existing Post. +

+ +reply.title
+The title of the Post that is being replied to. +

+ +reply.synopsis
+The synopsis of the Post that is being replied to. +

+ +reply.content
+The content of the Post that is being replied to. +

+ +subscribe.form
+A yes/no button to allow the user to subscribe to the thread this post belongs to. +

+ +|, + lastUpdated => 1111252633, + }, + +}; + +1;