Index: mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl
===================================================================
RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl,v
retrieving revision 1.48
diff -pu -r1.48 mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl
--- mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl
+++ mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl
@@ -82,7 +82,9 @@
[% END %]
[% END %]
- [%+ INCLUDE "global/help-header.html.tmpl" %]
+ [%+ INCLUDE "global/help-header.html.tmpl"
+ help_block => help_block
+ %]
[%# Set up the skin CSS cascade:
# 1. Standard Bugzilla stylesheet set (persistent)
Index: mozilla/webtools/bugzilla/template/en/default/global/help-header.html.tmpl
===================================================================
RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/help-header.html.tmpl,v
retrieving revision 1.6
diff -pu -r1.6 mozilla/webtools/bugzilla/template/en/default/global/help-header.html.tmpl
--- mozilla/webtools/bugzilla/template/en/default/global/help-header.html.tmpl
+++ mozilla/webtools/bugzilla/template/en/default/global/help-header.html.tmpl
@@ -34,58 +34,62 @@
}
+ [% IF help_block.defined && help_block.contains("initHelp") %]
+
+ [% END %]
+ [% END %]
+[% ELSE %]
+ [% IF help_block.defined && help_block.contains("initHelp") %]
[% END %]
-[% ELSE %]
-
[% END %]
Index: mozilla/webtools/bugzilla/template/en/default/search/search-advanced.html.tmpl
===================================================================
RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/search-advanced.html.tmpl,v
retrieving revision 1.28
diff -pu -r1.28 mozilla/webtools/bugzilla/template/en/default/search/search-advanced.html.tmpl
--- mozilla/webtools/bugzilla/template/en/default/search/search-advanced.html.tmpl
+++ mozilla/webtools/bugzilla/template/en/default/search/search-advanced.html.tmpl
@@ -38,6 +38,7 @@ var queryform = "queryform"
[% PROCESS global/header.html.tmpl
title = "Search for $terms.bugs"
header = ""
+ help_block = "initHelp"
onload = "doOnSelectProduct(0); initHelp();"
javascript = js_data
javascript_urls = [ "js/productform.js" ]