From 7323ec0c0a8694e54a2c2ab600f7cd7394613983 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 3 Feb 2007 22:54:21 +0000 Subject: [PATCH] added safe top link to the top of the CS FAQ template --- docs/changelog/7.x.x.txt | 1 + .../PBtmpl0000000000000080.tmpl | 70 +++++++++++++++++++ lib/WebGUI/Asset/Wobject/Collaboration.pm | 1 + lib/WebGUI/Help/Asset_Collaboration.pm | 3 + .../i18n/English/Asset_Collaboration.pm | 5 ++ 5 files changed, 80 insertions(+) create mode 100644 docs/upgrades/templates-7.3.9/PBtmpl0000000000000080.tmpl diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f1c491aff..7ad687dae 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -56,6 +56,7 @@ - fix: RSS feeds should now process HTML characters properly for RSS 2.0 standard - fix: Corner case which could cause WeatherData.pm to fail has been fixed. - fix: wiki pagination broken (perlDreamer Consulting, LLC) + - fix: Collab System FAQ: clicking top link does not bring you back to the top of FAQ (perlDreamer Consulting, LLC) 7.3.8 - Fixed a template variable rewriting problem with HTML::Template::Expr diff --git a/docs/upgrades/templates-7.3.9/PBtmpl0000000000000080.tmpl b/docs/upgrades/templates-7.3.9/PBtmpl0000000000000080.tmpl new file mode 100644 index 000000000..7e8331df2 --- /dev/null +++ b/docs/upgrades/templates-7.3.9/PBtmpl0000000000000080.tmpl @@ -0,0 +1,70 @@ +#PBtmpl0000000000000080 + + + + + + + +

+
+ + + + + +

+ + • + + + + + + + + + • + + + + + +

+ + + + + + +
[]
+
+
+ +
+ + + + + + [] + + + + () +
+
+
+ +

[top]

+
+ + + + diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index fb9d8f421..75e028dd7 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -1098,6 +1098,7 @@ sub view { $var{"search.url"} = $self->getSearchUrl; $var{"subscribe.url"} = $self->getSubscribeUrl; $var{"unsubscribe.url"} = $self->getUnsubscribeUrl; + $var{"collaborationAssetId"} = $self->getId; my $sql = " select asset.assetId, diff --git a/lib/WebGUI/Help/Asset_Collaboration.pm b/lib/WebGUI/Help/Asset_Collaboration.pm index 5e8855513..4b6b1567f 100644 --- a/lib/WebGUI/Help/Asset_Collaboration.pm +++ b/lib/WebGUI/Help/Asset_Collaboration.pm @@ -255,6 +255,9 @@ our $HELP = { { 'name' => 'closed.label' }, + { + 'name' => 'collaborationAssetId' + }, { 'name' => 'critical.label' }, diff --git a/lib/WebGUI/i18n/English/Asset_Collaboration.pm b/lib/WebGUI/i18n/English/Asset_Collaboration.pm index 033cad2a9..628fd8546 100644 --- a/lib/WebGUI/i18n/English/Asset_Collaboration.pm +++ b/lib/WebGUI/i18n/English/Asset_Collaboration.pm @@ -1617,6 +1617,11 @@ the Collaboration Asset, the user will be notified.|, lastUpdated => 1149656374, }, + 'collaborationAssetId' => { + message => q|The assetId of this Collaboration System. Unlike the variable assetId, this one will not be overridden by the assetIds inside of Threads or Posts.|, + lastUpdated => 1170543345, + }, + };