Fix typos in the Help skeleton.

Add new template variables to the DataForm template variable help.
This commit is contained in:
Colin Kuskie 2006-06-15 23:07:21 +00:00
parent c302b9f1bf
commit 0212cdc044
3 changed files with 76 additions and 9 deletions

View file

@ -165,6 +165,7 @@ our $HELP = {
}
]
},
'data form template' => {
title => '82',
body => '83',
@ -211,6 +212,18 @@ our $HELP = {
{
'name' => 'addTab.label'
},
{
'name' => 'hasEntries',
},
{
'name' => 'deleteAllEntries.url',
},
{
'name' => 'deleteAllEntries.label',
},
{
'name' => 'javascript.confirmation.deleteAll',
},
{
'required' => 1,
'name' => 'tab.init'
@ -380,6 +393,7 @@ our $HELP = {
}
]
},
'data form list template' => {
title => '88',
body => '89',
@ -392,6 +406,39 @@ our $HELP = {
{
'name' => 'back.label',
},
{
'name' => 'deleteAllEntries.url',
},
{
'name' => 'deleteAllEntries.label',
},
{
'name' => 'javascript.confirmation.deleteAll',
},
{
'name' => 'canEdit',
},
{
'name' => 'hasEntries',
},
{
'name' => 'export.tab.url',
},
{
'name' => 'export.tab.label',
},
{
'name' => 'addField.url',
},
{
'name' => 'addField.label',
},
{
'name' => 'addTab.url',
},
{
'name' => 'addTab.label',
},
{
'name' => 'field_loop',
'variables' => [

View file

@ -15,7 +15,7 @@ our $HELP = { ##hashref of hashes
tag => 'some other help tag',
namespace => 'some other help file',
},
];
],
fields => [ #This array is used to list hover help for form fields.
{
title => 'form label 1',
@ -32,14 +32,14 @@ our $HELP = { ##hashref of hashes
variables => [
{
name => "template.variable.name",
description => "international tag in this namespace describing this var"
required => "is this variable required for the template to work correctly?"
description => "international tag in this namespace describing this var",
required => "is this variable required for the template to work correctly?",
},
],
related => [ ##This lists other help articles that are related to this one
{
tag => 'other help article',
namespace => 'other help articles namespace'
namespace => 'other help articles namespace',
},
],
},

View file

@ -283,11 +283,6 @@ to validate any input that the user may supply.|,
lastUpdated => 1051463599
},
'canEdit' => {
message => q|A conditional indicating whether the current user has the privileges to edit this Data Form.|,
lastUpdated => 1149392054,
},
'entryId' => {
message => q|The ID of the current entry being viewed. This variable is undefined
unless the user can edit the Data Form (<b>canEdit</b> it true).|,
@ -329,6 +324,21 @@ unless the user can edit the Data Form (<b>canEdit</b> it true).|,
lastUpdated => 1149392054,
},
'deleteAllEntries.url' => {
message => q|A URL to allow the user to delete all entries in the DataForm.|,
lastUpdated => 1150411936,
},
'deleteAllEntries.label' => {
message => q|The default label for the deleteAllEntries.url variable|,
lastUpdated => 1150411934,
},
'javascript.confirmation.deleteAll' => {
message => q|Javascript for an internationalized confirmation popup for deleting all entries.|,
lastUpdated => 1150411934,
},
'addField.url' => {
message => q|The URL that content managers will visit to add a new field to the form.|,
lastUpdated => 1149392054,
@ -349,6 +359,16 @@ unless the user can edit the Data Form (<b>canEdit</b> it true).|,
lastUpdated => 1149392054,
},
'hasEntries' => {
message => q|The number of entries in this DataForm.|,
lastUpdated => 1149392054,
},
'canEdit' => {
message => q|Code to enable tabs to work correctly.|,
lastUpdated => 1149392054,
},
'tab.init' => {
message => q|Code to enable tabs to work correctly.|,
lastUpdated => 1149392054,