From 55ceb579fbfd523cd45802109fc9dda9189a6a06 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 13 Apr 2010 10:55:09 -0700 Subject: [PATCH] Add missing template help for the WikiPage view template. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Help/Asset_WikiPage.pm | 10 ++++++++++ lib/WebGUI/i18n/English/Asset_WikiPage.pm | 18 ++++++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 5df039484..c3ce30712 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,7 @@ - added #11007: Added drag'n'drop sorting in Gallery Album Edit View (Bernd Kalbfuß-Zimmermann) - added Better comment rating icons. - fixed #11520: Wiki Locked + - fixed Missing Template variables for the Wiki Page view template. 7.9.2 - added: Workflow to extend recurring Calendar events 2 years from the diff --git a/lib/WebGUI/Help/Asset_WikiPage.pm b/lib/WebGUI/Help/Asset_WikiPage.pm index f0f61076f..eda94eba5 100644 --- a/lib/WebGUI/Help/Asset_WikiPage.pm +++ b/lib/WebGUI/Help/Asset_WikiPage.pm @@ -78,6 +78,16 @@ our $HELP = { }, { 'name' => 'editContent', }, { 'name' => 'content', }, + { 'name' => 'keywordsLoop', + 'variables' => [ + { 'name' => 'keyword', + 'description' => 'keyword title', + }, + { 'name' => 'url', + 'description' => 'keyword url', + }, + ], + }, { name => 'isSubscribed', description => 'help isSubscribed', diff --git a/lib/WebGUI/i18n/English/Asset_WikiPage.pm b/lib/WebGUI/i18n/English/Asset_WikiPage.pm index e49d21113..58c43ac6a 100644 --- a/lib/WebGUI/i18n/English/Asset_WikiPage.pm +++ b/lib/WebGUI/i18n/English/Asset_WikiPage.pm @@ -291,6 +291,24 @@ our $I18N = context => q{Help for template variable}, }, + 'keywordsLoop' => { + message => q{A loop containing all keywords for this page is tagged with.}, + lastUpdated => 0, + context => q{Help for template variable}, + }, + + 'keyword title' => { + message => q{The name of this keyword.}, + lastUpdated => 0, + context => q{Help for template variable}, + }, + + 'keyword url' => { + message => q{The URL to view all pages tagged with this keyword.}, + lastUpdated => 0, + context => q{Help for template variable}, + }, + 'help owner' => { message => q{The username of the owner of the page}, lastUpdated => 0,