Template variable help for the MapPoint asset.
This commit is contained in:
parent
987ed394dd
commit
ebd7cf79f4
2 changed files with 257 additions and 0 deletions
69
lib/WebGUI/Help/Asset_MapPoint.pm
Normal file
69
lib/WebGUI/Help/Asset_MapPoint.pm
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
package WebGUI::Help::MapPoint;
|
||||
use strict;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'edit template' => {
|
||||
title => 'edit template',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => 'Asset_Template',
|
||||
tag => 'template variables'
|
||||
},
|
||||
],
|
||||
fields => [],
|
||||
variables => [
|
||||
{ name => 'form_header', required => 1, },
|
||||
{ name => 'form_footer', required => 1, },
|
||||
{ name => 'form_submit', },
|
||||
{ name => 'form_title', },
|
||||
{ name => 'form_synopsis', },
|
||||
{ name => 'form_storageIdPhoto', },
|
||||
{ name => 'currrentPhoto', },
|
||||
{ name => 'form_website', },
|
||||
{ name => 'form_address1', },
|
||||
{ name => 'form_address2', },
|
||||
{ name => 'form_address3', },
|
||||
{ name => 'form_city', },
|
||||
{ name => 'form_region', },
|
||||
{ name => 'form_zipCode', },
|
||||
{ name => 'form_country', },
|
||||
{ name => 'form_phone', },
|
||||
{ name => 'form_fax', },
|
||||
{ name => 'form_email', },
|
||||
],
|
||||
related => []
|
||||
},
|
||||
|
||||
'map point asset template variables' => {
|
||||
private => 1,
|
||||
title => 'map point asset template variables',
|
||||
body => '',
|
||||
isa => [
|
||||
{ namespace => 'Asset',
|
||||
tag => 'asset template asset variables'
|
||||
},
|
||||
],
|
||||
fields => [],
|
||||
variables => [
|
||||
{ name => 'latitude', },
|
||||
{ name => 'longitude', },
|
||||
{ name => 'storageIdPhoto', },
|
||||
{ name => 'website', },
|
||||
{ name => 'address1', },
|
||||
{ name => 'address2', },
|
||||
{ name => 'address3', },
|
||||
{ name => 'city', },
|
||||
{ name => 'region', },
|
||||
{ name => 'zipCode', },
|
||||
{ name => 'country', },
|
||||
{ name => 'phone', },
|
||||
{ name => 'fax', },
|
||||
{ name => 'email', },
|
||||
],
|
||||
related => []
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
@ -133,11 +133,199 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
|
||||
'assetName' => {
|
||||
message => "MapPoint",
|
||||
lastUpdated => 0,
|
||||
context => "Name of this asset",
|
||||
},
|
||||
|
||||
'edit template' => {
|
||||
message => "MapPoint Edit Point Template",
|
||||
lastUpdated => 0,
|
||||
context => "template variable section title",
|
||||
},
|
||||
|
||||
'form_header' => {
|
||||
message => "HTML code to start the edit form.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_footer' => {
|
||||
message => "HTML code to end the edit form.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_submit' => {
|
||||
message => "A button to submit the edit form.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_title' => {
|
||||
message => "A text form element for entering the title.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_synopsis' => {
|
||||
message => "A textarea form element for entering the synopsis.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_storageIdPhoto' => {
|
||||
message => "A file form element for uploading a photo relating to the map point.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'currentPhoto' => {
|
||||
message => "An image tag linking to any currently uploaded photo.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_website' => {
|
||||
message => "A text field for entering in a URL related to the map point.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_address1' => {
|
||||
message => "A text field for entering in one part of an address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_address2' => {
|
||||
message => "A text field for entering in another part of an address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_address3' => {
|
||||
message => "A text field for entering in the last past of an address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_city' => {
|
||||
message => "A text field for entering in city part of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_region' => {
|
||||
message => "A text field for entering in region, or state, part of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_zipCode' => {
|
||||
message => "A text field for entering in the zip code part of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_country' => {
|
||||
message => "A text field for entering in the country part of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_phone' => {
|
||||
message => "A text field for entering in a phone number.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_fax' => {
|
||||
message => "A text field for entering in a phone number.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'form_email' => {
|
||||
message => "A text field for entering in an email address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'storageIdPhoto' => {
|
||||
message => "The storage location for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'website' => {
|
||||
message => "The website for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'address1' => {
|
||||
message => "The first line of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'address2' => {
|
||||
message => "The second line of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'address3' => {
|
||||
message => "The third line of the address.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'city' => {
|
||||
message => "The city for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'region' => {
|
||||
message => "The region, or state or province, for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'zipCode' => {
|
||||
message => "The zip code for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'country' => {
|
||||
message => "The country for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'phone' => {
|
||||
message => "The phone number for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'fax' => {
|
||||
message => "The fax number for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
'email' => {
|
||||
message => "The email address for this MapPoint.",
|
||||
lastUpdated => 0,
|
||||
context => "template variable help",
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue