From 4d05f0cb2a6d071d7c89627f8b7073ab24856e98 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 22 Oct 2007 01:59:28 +0000 Subject: Bug 182083: Help system should support more pages - Patch by Frédéric Buclin r=Colin a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/account/prefs/prefs.html.tmpl | 1 + template/en/default/global/common-links.html.tmpl | 15 +++++++++++++++ 2 files changed, 16 insertions(+) (limited to 'template/en') diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 080a83c2b..ed9cbce72 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -41,6 +41,7 @@ subheader = filtered_login style_urls = ['skins/standard/admin.css'] javascript_urls = ['js/util.js'] + doc_section = "userpreferences.html" %] [% tabs = [{ name => "settings", label => "General Preferences", diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index cb7b289cf..033b98069 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -61,6 +61,9 @@ || user.get_products_by_permission("editcomponents").size %]
  • | Administration
  • [% END %] + + [% PROCESS link_to_documentation %] +
  • | [% IF user.authorizer.can_logout %] @@ -81,6 +84,9 @@ && user.authorizer.user_can_create_account %]
  • | New Account
  • [% END %] + + [% PROCESS link_to_documentation %] + [% IF user.authorizer.can_login %] [%# Use the current script name. If an empty name is returned, # then we are accessing the home page. %] @@ -109,3 +115,12 @@ [% END %] [% END %] + +[% BLOCK link_to_documentation %] + [% IF doc_section %] +
  • + | + Help +
  • + [% END %] +[% END %] -- cgit v1.2.3-24-g4f1b