summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-16 01:43:26 +0200
committerlpsolit%gmail.com <>2007-04-16 01:43:26 +0200
commitfcdf86c3d914652a3d63a70706a21eaf96950f4f (patch)
treebcb2b0c10f646077e347f44749a1d03b2ba33557 /template/en/default/global
parent8da7f321aabe95470944bc23aeed9a06ef6793a5 (diff)
downloadbugzilla-fcdf86c3d914652a3d63a70706a21eaf96950f4f.tar.gz
bugzilla-fcdf86c3d914652a3d63a70706a21eaf96950f4f.tar.xz
Bug 182082: Help system should support more browsers - Patch by Teemu Mannermaa <wicked+bz@etlicon.fi> r=myk a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/header.html.tmpl2
-rw-r--r--template/en/default/global/help.html.tmpl13
2 files changed, 6 insertions, 9 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index ec906f3e6..ad1df396d 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -82,8 +82,6 @@
[% END %]
[% END %]
- [%+ INCLUDE "global/help-header.html.tmpl" %]
-
[%# Set up the skin CSS cascade:
# 1. Standard Bugzilla stylesheet set (persistent)
# 2. Standard Bugzilla stylesheet set (selectable)
diff --git a/template/en/default/global/help.html.tmpl b/template/en/default/global/help.html.tmpl
index cc69534da..4ac309f90 100644
--- a/template/en/default/global/help.html.tmpl
+++ b/template/en/default/global/help.html.tmpl
@@ -23,12 +23,11 @@
[% cgi = Bugzilla.cgi %]
[% IF cgi.param("help") %]
- [% IF cgi.user_agent("Mozilla/5") %]
- [% FOREACH h = help_html %]
- <div id="[% h.id %]_help" class="help" style="display: none;">
- [%- h.html -%]
- </div>
- [% END %]
- [% END %]
+ <script type="text/javascript"> <!--
+ [% FOREACH h = help_html %]
+ g_helpTexts["[% h.id FILTER js %]"] = "[%- h.html FILTER js -%]";
+ [% END %]
+ // -->
+ </script>
[% END %]