From ac552aeec3f2fd1d41abab459ed08358d048cc96 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 30 Nov 2006 19:16:33 +0000 Subject: [PATCH] updated DataForm template variables --- lib/WebGUI/Help/Asset_DataForm.pm | 53 ++++++++++++++++++ lib/WebGUI/i18n/English/Asset_DataForm.pm | 67 +++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/lib/WebGUI/Help/Asset_DataForm.pm b/lib/WebGUI/Help/Asset_DataForm.pm index f360bf275..73b52d845 100644 --- a/lib/WebGUI/Help/Asset_DataForm.pm +++ b/lib/WebGUI/Help/Asset_DataForm.pm @@ -96,6 +96,7 @@ our $HELP = { }, ] }, + 'data form fields add/edit' => { title => '62', body => '72', @@ -179,6 +180,10 @@ our $HELP = { fields => [ ], isa => [ + { + namespace => "Asset_DataForm", + tag => "data form asset template variables" + }, { namespace => "Asset_Template", tag => "template variables" @@ -211,6 +216,15 @@ our $HELP = { { 'name' => 'export.tab.label' }, + { + 'name' => 'delete.url' + }, + { + 'name' => 'delete.label' + }, + { + 'name' => 'javascript.confirmation.deleteOne', + }, { 'name' => 'back.url' }, @@ -411,6 +425,10 @@ our $HELP = { title => '88', body => '89', isa => [ + { + namespace => "Asset_DataForm", + tag => "data form asset template variables" + }, { namespace => "Asset_Template", tag => "template variables" @@ -546,6 +564,41 @@ our $HELP = { }, ] }, + + 'data form asset template variables' => { + title => 'data form asset template variables title', + body => 'data form asset template variables body', + isa => [ + ], + fields => [ + ], + variables => [ + { + 'name' => 'templateId', + }, + { + 'name' => 'emailTemplateId', + }, + { + 'name' => 'acknowlegementTemplateId', + }, + { + 'name' => 'listTemplateId', + }, + { + 'name' => 'acknowledgement', + 'description' => 'acknowledgement var desc', + }, + { + 'name' => 'mailAttachments', + }, + { + 'name' => 'groupToViewEntries', + }, + ], + related => [ + ] + }, }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_DataForm.pm b/lib/WebGUI/i18n/English/Asset_DataForm.pm index 4b7d49033..f56717781 100644 --- a/lib/WebGUI/i18n/English/Asset_DataForm.pm +++ b/lib/WebGUI/i18n/English/Asset_DataForm.pm @@ -322,6 +322,16 @@ unless the user can edit the Data Form (canEdit it true).|, lastUpdated => 1149392054, }, + 'delete.url' => { + message => q|The URL to delete the current entry from the DataForm.|, + lastUpdated => 1164913871, + }, + + 'delete.label' => { + message => q|The default label for the delete.url variable.|, + lastUpdated => 1164913874, + }, + 'export.tab.url' => { message => q|Following this URL will export the data stored to this data form as a tab delimited file.|, lastUpdated => 1149392054, @@ -357,6 +367,11 @@ unless the user can edit the Data Form (canEdit it true).|, lastUpdated => 1150411934, }, + 'javascript.confirmation.deleteOne' => { + message => q|Javascript for an internationalized confirmation popup for deleting one entry.|, + lastUpdated => 1164913939, + }, + 'addField.url' => { message => q|The URL that content managers will visit to add a new field to the form.|, lastUpdated => 1149392054, @@ -920,6 +935,58 @@ below to see which template variables may be used inside this loop.|, lastUpdated => 1113435295, }, + 'templateId' => { + message => q|The ID of the template for displaying the form view of the DataForm.|, + lastUpdated => 1164910794, + }, + + 'emailTemplateId' => { + message => q|The ID of the template for sending emails of user submitted data from the DataForm.|, + lastUpdated => 1164910794, + }, + + 'acknowlegementTemplateId' => { + message => q|The ID of the template for displaying the acknowledgement to the user after they have submitted data to the DataForm.|, + lastUpdated => 1164910794, + }, + + 'listTemplateId' => { + message => q|The ID of the template for displaying the list view of the DataForm.|, + lastUpdated => 1164910794, + }, + + 'acknowledgement var desc' => { + message => q|The acknowledgement to display to the user after they have submitted data.|, + lastUpdated => 1164910794, + }, + + 'mailData' => { + message => q|mailData will be true if the DataForm was configured to send emails.|, + lastUpdated => 1164910794, + }, + + 'mailAttachments' => { + message => q|mailAttachments will be true if the DataForm was configured to email files submitted to the DataForm.|, + lastUpdated => 1164910794, + }, + + 'groupToViewEntries' => { + message => q|The Group ID of the group set to view the list of all data submitted to the DataForm when it is in Form mode.|, + lastUpdated => 1164910794, + }, + + 'data form asset template variables title' => { + message => q|DataForm Asset Template Variables|, + lastUpdated => 1164910794, + }, + + 'data form asset template variables body' => { + message => q|Every asset provides a set of variables to most of its +templates based on the internal asset properties. Some of these variables may +be useful, others may not.|, + lastUpdated => 1164910794, + }, + }; 1;