From 43602a7ef1110e028d5cfdb2a45d7f23c3c476f3 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 21 Mar 2005 06:53:56 +0000 Subject: [PATCH] document template for add/edit a post --- lib/WebGUI/i18n/English/Post.pm | 102 +++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/i18n/English/Post.pm b/lib/WebGUI/i18n/English/Post.pm index 97b9de4f8..711386797 100644 --- a/lib/WebGUI/i18n/English/Post.pm +++ b/lib/WebGUI/i18n/English/Post.pm @@ -41,8 +41,108 @@ The content of the Post that is being replied to. A yes/no button to allow the user to subscribe to the thread this post belongs to.

+isNewThread
+A conditional that is true if the user is adding a new thread. +

+ +sticky.form
+A yes/no button to set the thread to be sticky. +

+ +lock.form
+A yes/no button to lock the thread. +

+ +isEdit
+A conditional that is true if the user is editing an existing post. +

+ +preview.title
+The web safe title for previewing a post. +

+ +preview.synopsis
+The synopsis when previewing a post. +

+ +preview.content
+The content when previewing a post. +

+ +preview.userDefined.N
+The contents of user defined fields for the Post without WebGUI Macros being processed, where N is from 1 to 5. +

+ +form.footer !
+Code for the end of the form. +

+ +usePreview !
+A conditional indicating that posts to the thread will be previewed before being submitted. +

+ +user.isModerator
+A conditional indicating if the current user is a moderator. +

+ +user.isVisitor
+A conditional indicating if the current user is a visitor. +

+ +visitorName.form
+A form where the user can enter their name. +

+ +userDefined.N.{form,yesNo,textarea,htmlarea}
+For each of the 5 User Defined fields, form widgets for a single line of text, a yes/no +field, a text area, or a WYSIWIG HTML area. +

+ +title.form
+A form field to enter or edit the title, stripped of all HTML and macros disabled. +

+ +title.form.textarea
+A text field to enter or edit the title, stripped of all HTML and macros disabled. +

+ +synopsis.form
+A form field to enter or edit the synopsis. +

+ +content.form
+A field to enter or edit the content, with all macros disabled. If the discussion +board allows rich content, then this will be a WYSIWIG HTML area. Otherwise it +will be a plain text area. +

+ +form.submit
+A button to submit the post. +

+ +form.preview
+A button to preview the post. +

+ +attachment.form
+Code to allow an attachment to be added to the post. +

+ +contentType.form
+A form field that will describe how the content of the post is formatted, HTML, text, code or mixed. +Defaults to mixed. +

+ +startDate.form
+A form that will set when the post starts to be available. +

+ +endDate.form
+A form that will set when the post stops being available. +

+ |, - lastUpdated => 1111252633, + lastUpdated => 1111388442, }, };