From 702de1e26ae8061a886dbf0c926e344092bc00e2 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 9 Feb 2011 09:07:26 -0800 Subject: [PATCH] Add the missing template variables for userDefined fields in the Map Point. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Help/Asset_MapPoint.pm | 6 ++++ lib/WebGUI/i18n/English/Asset_MapPoint.pm | 36 +++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c9d3988e7..7f2461b99 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,5 +1,6 @@ 7.10.10 - fixed #12035: Story Manager - make keywords from Story view work + - fixed #12042: userDefined variables have no template variable help 7.10.9 - fixed #12030: Calendar Feed Time Zone Issue diff --git a/lib/WebGUI/Help/Asset_MapPoint.pm b/lib/WebGUI/Help/Asset_MapPoint.pm index 3084f8e3a..3bf436463 100644 --- a/lib/WebGUI/Help/Asset_MapPoint.pm +++ b/lib/WebGUI/Help/Asset_MapPoint.pm @@ -31,6 +31,7 @@ our $HELP = { { name => 'form_phone', }, { name => 'form_fax', }, { name => 'form_email', }, + { name => 'user defined variables', }, ], related => [] }, @@ -60,6 +61,11 @@ our $HELP = { { name => 'phone', }, { name => 'fax', }, { name => 'email', }, + { name => 'userDefined1', }, + { name => 'userDefined2', }, + { name => 'userDefined3', }, + { name => 'userDefined4', }, + { name => 'userDefined5', }, ], related => [] }, diff --git a/lib/WebGUI/i18n/English/Asset_MapPoint.pm b/lib/WebGUI/i18n/English/Asset_MapPoint.pm index f32cac8a1..aa90e0845 100644 --- a/lib/WebGUI/i18n/English/Asset_MapPoint.pm +++ b/lib/WebGUI/i18n/English/Asset_MapPoint.pm @@ -344,6 +344,42 @@ our $I18N = { context => "template variable help", }, + 'userDefined1' => { + message => "The value of userDefined field 1.", + lastUpdated => 0, + context => "template variable help", + }, + + 'userDefined2' => { + message => "The value of userDefined field 2.", + lastUpdated => 0, + context => "template variable help", + }, + + 'userDefined3' => { + message => "The value of userDefined field 3.", + lastUpdated => 0, + context => "template variable help", + }, + + 'userDefined4' => { + message => "The value of userDefined field 4.", + lastUpdated => 0, + context => "template variable help", + }, + + 'userDefined5' => { + message => "The value of userDefined field 5.", + lastUpdated => 0, + context => "template variable help", + }, + + 'user defined variables' => { + message => "Unlike the Collaboration System, the Map Point does not provide predefined form fields for the userdefined variables. Instead, create any kind of form field that you need and give the field the name of the userDefined variable that you want to use. WebGUI will handle saving it.", + lastUpdated => 0, + context => "template variable help", + }, + }; 1;