diff --git a/lib/WebGUI/Help/File.pm b/lib/WebGUI/Help/File.pm index f769e1707..d9830be04 100644 --- a/lib/WebGUI/Help/File.pm +++ b/lib/WebGUI/Help/File.pm @@ -10,6 +10,25 @@ our $HELP = { tag => 'asset fields', namespace => 'Asset' }, + { + tag => 'file template', + namespace => 'File' + }, + ] + }, + + 'file template' => { + title => 'file template title', + body => 'file template body', + related => [ + { + tag => 'file add/edit', + namespace => 'File' + }, + { + tag => 'template language', + namespace => 'WebGUI' + }, ] }, diff --git a/lib/WebGUI/i18n/English/File.pm b/lib/WebGUI/i18n/English/File.pm index 61a1e8d8b..71f129b7d 100644 --- a/lib/WebGUI/i18n/English/File.pm +++ b/lib/WebGUI/i18n/English/File.pm @@ -22,6 +22,34 @@ If this Asset already contains a file, a link to the file with its associated ic context => 'Describing file add/edit form specific fields', lastUpdated => 1106762796, }, + 'file template title' => { + message => q|File, Template|, + lastUpdated => 1109287565, + }, + + 'file template body' => { + message => q|
The following variables are available in File Templates:
+ +attachment.icon
+The icon which describes the type of file.
+
+
attachment.url
+The URL to the file.
+
+
attachment.name
+The name of the file.
+
+
attachment.size
+The size of the file.
+
+
attachment.type
+The type of the file (PDF, etc.)
+
+ |,
+ context => 'Describing the file template variables',
+ lastUpdated => 1109287834,
+ },
+
'current file' => {
message => q|Current file|,