beginning of Post documentation
This commit is contained in:
parent
9441b86164
commit
6866f7dd2d
2 changed files with 66 additions and 0 deletions
16
lib/WebGUI/Help/Post.pm
Normal file
16
lib/WebGUI/Help/Post.pm
Normal file
|
|
@ -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;
|
||||
50
lib/WebGUI/i18n/English/Post.pm
Normal file
50
lib/WebGUI/i18n/English/Post.pm
Normal file
|
|
@ -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:
|
||||
<p>
|
||||
! : This variable is required for the Data Form to function correctly.<p/>
|
||||
<p>
|
||||
|
||||
<b>form.header</b> !<br>
|
||||
Code required to start the form for the Post.
|
||||
<p>
|
||||
|
||||
<b>isNewPost</b><br>
|
||||
A conditional that is true if the user is adding a new Post, as opposed to
|
||||
editing an existing Post.
|
||||
<p>
|
||||
|
||||
<b>isReply</b><br>
|
||||
A conditional that is true if the user is replying to an existing Post.
|
||||
<p>
|
||||
|
||||
<b>reply.title</b><br>
|
||||
The title of the Post that is being replied to.
|
||||
<p>
|
||||
|
||||
<b>reply.synopsis</b><br>
|
||||
The synopsis of the Post that is being replied to.
|
||||
<p>
|
||||
|
||||
<b>reply.content</b><br>
|
||||
The content of the Post that is being replied to.
|
||||
<p>
|
||||
|
||||
<b>subscribe.form</b><br>
|
||||
A yes/no button to allow the user to subscribe to the thread this post belongs to.
|
||||
<p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1111252633,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue