Bug 969881: All "Help" links in the header and footer of pages point to inexistent files
r=gerv a=justdavetrunk
parent
1305816b84
commit
dfede3c3a4
|
@ -65,7 +65,7 @@ if (grep(/^cmd-/, $cgi->param())) {
|
|||
|
||||
my $action = $cgi->param('action');
|
||||
my $series_id = $cgi->param('series_id');
|
||||
$vars->{'doc_section'} = 'reporting.html#charts';
|
||||
$vars->{'doc_section'} = 'using.html#charts';
|
||||
|
||||
# Because some actions are chosen by buttons, we can't encode them as the value
|
||||
# of the action param, because that value is localization-dependent. So, we
|
||||
|
|
|
@ -21,7 +21,7 @@ use Bugzilla::Token;
|
|||
my $user = Bugzilla->login(LOGIN_OPTIONAL);
|
||||
my $cgi = Bugzilla->cgi;
|
||||
my $template = Bugzilla->template;
|
||||
my $vars = { doc_section => 'myaccount.html' };
|
||||
my $vars = { doc_section => 'using.html#create-a-bugzilla-account' };
|
||||
|
||||
print $cgi->header();
|
||||
|
||||
|
|
|
@ -993,8 +993,8 @@ the Search show up in the footer of the group's direct members by default.
|
|||
|
||||
.. _accountpreferences:
|
||||
|
||||
Name and Password
|
||||
=================
|
||||
Account Information
|
||||
===================
|
||||
|
||||
On this tab, you can change your basic account information,
|
||||
including your password, email address and real name. For security
|
||||
|
|
|
@ -32,7 +32,7 @@ sub LoadTemplate {
|
|||
if ($action eq 'select');
|
||||
# There is currently only one section about classifications,
|
||||
# so all pages point to it. Let's define it here.
|
||||
$vars->{'doc_section'} = 'classifications.html';
|
||||
$vars->{'doc_section'} = 'administration.html#classifications';
|
||||
|
||||
$action =~ /(\w+)/;
|
||||
$action = $1;
|
||||
|
|
|
@ -23,7 +23,7 @@ my $template = Bugzilla->template;
|
|||
my $vars = {};
|
||||
# There is only one section about components in the documentation,
|
||||
# so all actions point to the same page.
|
||||
$vars->{'doc_section'} = 'components.html';
|
||||
$vars->{'doc_section'} = 'administration.html#components';
|
||||
|
||||
#
|
||||
# Preliminary checks:
|
||||
|
|
|
@ -23,7 +23,7 @@ my $template = Bugzilla->template;
|
|||
my $vars = {};
|
||||
# There is only one section about milestones in the documentation,
|
||||
# so all actions point to the same page.
|
||||
$vars->{'doc_section'} = 'milestones.html';
|
||||
$vars->{'doc_section'} = 'administration.html#milestones';
|
||||
|
||||
#
|
||||
# Preliminary checks:
|
||||
|
|
|
@ -33,7 +33,7 @@ my $template = Bugzilla->template;
|
|||
my $vars = {};
|
||||
# Remove this as soon as the documentation about products has been
|
||||
# improved and each action has its own section.
|
||||
$vars->{'doc_section'} = 'products.html';
|
||||
$vars->{'doc_section'} = 'administration.html#products';
|
||||
|
||||
print $cgi->header();
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ my $vars = {};
|
|||
|
||||
# Replace this entry by separate entries in templates when
|
||||
# the documentation about legal values becomes bigger.
|
||||
$vars->{'doc_section'} = 'edit-values.html';
|
||||
$vars->{'doc_section'} = 'administration.html#legal-values';
|
||||
|
||||
print $cgi->header();
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ my $template = Bugzilla->template;
|
|||
my $vars = {};
|
||||
# There is only one section about versions in the documentation,
|
||||
# so all actions point to the same page.
|
||||
$vars->{'doc_section'} = 'versions.html';
|
||||
$vars->{'doc_section'} = 'administration.html#versions';
|
||||
|
||||
#
|
||||
# Preliminary checks:
|
||||
|
|
|
@ -45,7 +45,7 @@ my $template = Bugzilla->template;
|
|||
my $vars = {};
|
||||
|
||||
# All pages point to the same part of the documentation.
|
||||
$vars->{'doc_section'} = 'bugreports.html';
|
||||
$vars->{'doc_section'} = 'using.html#filing-bugs';
|
||||
|
||||
my $product_name = trim($cgi->param('product') || '');
|
||||
# Will contain the product object the bug is created in.
|
||||
|
|
|
@ -373,7 +373,7 @@ if ($cgi->param('debug')) {
|
|||
}
|
||||
|
||||
# All formats point to the same section of the documentation.
|
||||
$vars->{'doc_section'} = 'reporting.html#reports';
|
||||
$vars->{'doc_section'} = 'using.html#reports-and-charts';
|
||||
|
||||
disable_utf8() if ($format->{'ctype'} =~ /^image\//);
|
||||
|
||||
|
|
|
@ -25,15 +25,20 @@
|
|||
[% filtered_login = user.login FILTER html %]
|
||||
|
||||
[% tabs = [{ name => "settings", label => "General Preferences",
|
||||
link => "userprefs.cgi?tab=settings", saveable => "1" },
|
||||
{ name => "email", label => "Email Preferences",
|
||||
link => "userprefs.cgi?tab=email", saveable => "1" },
|
||||
{ name => "saved-searches", label => "Saved Searches",
|
||||
link => "userprefs.cgi?tab=saved-searches", saveable => "1" },
|
||||
link => "userprefs.cgi?tab=settings", saveable => "1",
|
||||
doc_section => "using.html#general-preferences" },
|
||||
{ name => "email", label => "Email Preferences",
|
||||
link => "userprefs.cgi?tab=email", saveable => "1",
|
||||
doc_section => "using.html#email-preferences" },
|
||||
{ name => "saved-searches", label => "Saved Searches",
|
||||
link => "userprefs.cgi?tab=saved-searches", saveable => "1",
|
||||
doc_section => "using.html#saved-searches" },
|
||||
{ name => "account", label => "Account Information",
|
||||
link => "userprefs.cgi?tab=account", saveable => "1" },
|
||||
{ name => "permissions", label => "Permissions",
|
||||
link => "userprefs.cgi?tab=permissions", saveable => "0" } ] %]
|
||||
link => "userprefs.cgi?tab=account", saveable => "1",
|
||||
doc_section => "using.html#account-information" },
|
||||
{ name => "permissions", label => "Permissions",
|
||||
link => "userprefs.cgi?tab=permissions", saveable => "0",
|
||||
doc_section => "using.html#permissions" } ] %]
|
||||
|
||||
[% Hook.process('tabs') %]
|
||||
|
||||
|
@ -49,7 +54,7 @@
|
|||
subheader = filtered_login
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
javascript_urls = ['js/util.js', 'js/field.js']
|
||||
doc_section = "userpreferences.html"
|
||||
doc_section = current_tab.doc_section
|
||||
yui = ['autocomplete']
|
||||
%]
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "custom-fields.html#delete-custom-fields"
|
||||
doc_section = "administration.html#deleting-custom-fields"
|
||||
%]
|
||||
|
||||
<table id="admin_table">
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
title = "Add a new Custom Field"
|
||||
onload = "document.getElementById('new_bugmail').disabled = true;"
|
||||
javascript_urls = [ 'js/util.js' ]
|
||||
doc_section = "custom-fields.html#add-custom-fields"
|
||||
doc_section = "administration.html#adding-custom-fields"
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
%]
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
title = title
|
||||
onload = "toggleCheckbox(document.getElementById('enter_bug'), 'new_bugmail');"
|
||||
javascript_urls = [ 'js/util.js' ]
|
||||
doc_section = "custom-fields.html#edit-custom-fields"
|
||||
doc_section = "administration.html#editing-custom-fields"
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
%]
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = "Custom Fields"
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "custom-fields.html"
|
||||
doc_section = "administration.html#custom-fields"
|
||||
%]
|
||||
|
||||
[% delete_contentlink = BLOCK %]editfields.cgi?action=del&name=%%name%%[% END %]
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "flags-overview.html#flags-delete"
|
||||
doc_section = "administration.html#deleting-a-flag"
|
||||
%]
|
||||
|
||||
<p>
|
||||
|
|
|
@ -15,10 +15,8 @@
|
|||
Based on [% type.name FILTER html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% doc_section = "flags-overview.html#flags-create" %]
|
||||
[% ELSE %]
|
||||
[% title = BLOCK %]Edit Flag Type [% type.name FILTER html %][% END %]
|
||||
[% doc_section = "flags-overview.html#flags-edit" %]
|
||||
[% END %]
|
||||
|
||||
[% PROCESS global/header.html.tmpl
|
||||
|
@ -27,7 +25,7 @@
|
|||
onload="var f = document.forms['flagtype_properties'];
|
||||
selectProduct(f.product, f.component, null, null, '__Any__');"
|
||||
javascript_urls=["js/productform.js"]
|
||||
doc_section = doc_section
|
||||
doc_section = "administration.html#administering-flags"
|
||||
%]
|
||||
|
||||
<form id="flagtype_properties" method="post" action="editflagtypes.cgi">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
style_urls = ['skins/standard/admin.css']
|
||||
onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');"
|
||||
javascript_urls=["js/productform.js"]
|
||||
doc_section = "flags-overview.html#flag-types"
|
||||
doc_section = "administration.html#two-types-of-flags"
|
||||
%]
|
||||
|
||||
<p>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
doc_section = "groups.html"
|
||||
doc_section = "administration.html#groups-and-group-security"
|
||||
%]
|
||||
|
||||
[% IF regexp %]
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
title = "Add group"
|
||||
subheader = "This page allows you to define a new user group."
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "groups.html#create-groups"
|
||||
doc_section = "administration.html#creating-groups"
|
||||
%]
|
||||
|
||||
<form method="post" action="editgroups.cgi">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "groups.html"
|
||||
doc_section = "administration.html#groups-and-group-security"
|
||||
%]
|
||||
|
||||
<table id="admin_table">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "groups.html#edit-groups"
|
||||
doc_section = "administration.html#editing-groups-and-assigning-group-permissions"
|
||||
%]
|
||||
|
||||
<form method="post" action="editgroups.cgi">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
title = "Edit Groups"
|
||||
subheader = "This lets you edit the groups available to put users in."
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "groups.html"
|
||||
doc_section = "administration.html#groups-and-group-security"
|
||||
%]
|
||||
|
||||
[% edit_contentlink = "editgroups.cgi?action=changeform&group=%%id%%" %]
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
message = message
|
||||
style_urls = ['skins/standard/params.css']
|
||||
javascript_urls = ['js/params.js', 'js/util.js']
|
||||
doc_section = "parameters.html"
|
||||
doc_section = "administration.html#bugzilla-configuration"
|
||||
%]
|
||||
|
||||
<div class="table">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = "Begin sudo session"
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "useradmin.html#impersonatingusers"
|
||||
doc_section = "administration.html#impersonating-users"
|
||||
%]
|
||||
|
||||
[% DEFAULT target_login = "" %]
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
title = title
|
||||
style_urls = ['skins/standard/admin.css',
|
||||
'skins/standard/editusers.css']
|
||||
doc_section = "useradmin.html#user-account-deletion"
|
||||
doc_section = "administration.html#deleting-users"
|
||||
%]
|
||||
|
||||
[% PROCESS admin/users/listselectvars.html.tmpl
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = "Add user"
|
||||
style_urls = ['skins/standard/editusers.css']
|
||||
doc_section = "useradmin.html#createnewusers"
|
||||
doc_section = "administration.html#creating-new-users"
|
||||
%]
|
||||
|
||||
[% PROCESS admin/users/listselectvars.html.tmpl
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
title = title
|
||||
message = message
|
||||
style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css']
|
||||
doc_section = "useradmin.html#modifyusers"
|
||||
doc_section = "administration.html#modifying-users"
|
||||
javascript_urls = [ 'js/field.js' ]
|
||||
%]
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = "Select user"
|
||||
style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css']
|
||||
doc_section = "useradmin.html"
|
||||
doc_section = "administration.html#user-administration"
|
||||
%]
|
||||
|
||||
[% PROCESS admin/users/listselectvars.html.tmpl
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = "Search users"
|
||||
style_urls = ['skins/standard/editusers.css']
|
||||
doc_section = "useradmin.html#user-account-search"
|
||||
doc_section = "administration.html#managing-other-users"
|
||||
%]
|
||||
|
||||
[% PROCESS admin/users/listselectvars.html.tmpl
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "attachments.html"
|
||||
doc_section = "using.html#attachments"
|
||||
%]
|
||||
|
||||
<table id="admin_table">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
style_urls = [ 'skins/standard/attachment.css' ]
|
||||
yui = [ 'autocomplete' ]
|
||||
javascript_urls = [ "js/attachment.js", 'js/field.js', "js/util.js", "js/TUI.js" ]
|
||||
doc_section = "attachments.html"
|
||||
doc_section = "using.html#attachments"
|
||||
%]
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -37,7 +37,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
|
|||
[% subheader = BLOCK %]
|
||||
[% bugsummary FILTER html %]
|
||||
[% END %]
|
||||
[% PROCESS global/header.html.tmpl doc_section = "attachments.html#patchviewer"
|
||||
[% PROCESS global/header.html.tmpl doc_section = "using.html#patch-viewer"
|
||||
javascript_urls = "js/attachment.js"
|
||||
style_urls = ['skins/standard/attachment.css'] %]
|
||||
[% ELSE %]
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
title = title
|
||||
header = header
|
||||
subheader = subheader
|
||||
doc_section = "attachments.html"
|
||||
doc_section = "using.html#attachments"
|
||||
javascript_urls = ['js/attachment.js', 'js/field.js']
|
||||
style_urls = ['skins/standard/attachment.css']
|
||||
yui = [ 'autocomplete' ]
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
javascript_urls = ["js/expanding-tree.js"]
|
||||
style_urls = ["skins/standard/dependency-tree.css"]
|
||||
subheader = filtered_desc
|
||||
doc_section = "hintsandtips.html#dependencytree"
|
||||
doc_section = "using.html#dependency-tree"
|
||||
%]
|
||||
|
||||
[% PROCESS depthControlToolbar %]
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
[% style_urls = [ "skins/standard/show_bug.css" ] %]
|
||||
[% doc_section = "bug_page.html" %]
|
||||
[% doc_section = "using.html#anatomy-of-a-bug" %]
|
||||
[% bodyclasses = ['bz_bug',
|
||||
"bz_status_$bug.bug_status",
|
||||
"bz_product_$bug.product",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
h1 = ""
|
||||
style_urls = ["skins/standard/show_multiple.css",
|
||||
"skins/standard/buglist.css"]
|
||||
doc_section = "bug_page.html"
|
||||
doc_section = "using.html#anatomy-of-a-bug"
|
||||
%]
|
||||
[% PROCESS bug/time.html.tmpl %]
|
||||
[% IF bugs.first %]
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
title = title
|
||||
header = header
|
||||
style_urls = ["skins/standard/summarize-time.css"]
|
||||
doc_section = "timetracking.html"
|
||||
doc_section = "using.html#time-tracking-information"
|
||||
yui = ['calendar']
|
||||
javascript_urls = [ "js/util.js", "js/field.js" ]
|
||||
%]
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
yui = [ 'autocomplete', 'calendar' ]
|
||||
javascript_urls = [ "js/util.js", "js/field.js", "js/TUI.js" ]
|
||||
style_urls = [ "skins/standard/buglist.css" ]
|
||||
doc_section = "query.html#list"
|
||||
doc_section = "using.html#bug-lists"
|
||||
%]
|
||||
|
||||
<div class="bz_query_head">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
[% PROCESS global/header.html.tmpl
|
||||
title = "Reporting and Charting Kitchen"
|
||||
doc_section = "reporting.html"
|
||||
doc_section = "using.html#reports-and-charts"
|
||||
style_urls = ['skins/standard/reports.css']
|
||||
%]
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
title = "$terms.Bug Charts"
|
||||
h1 = "Welcome to the $terms.Bugzilla Charting Kitchen"
|
||||
style_urls = ['skins/standard/reports.css']
|
||||
doc_section = "reporting.html#charts"
|
||||
doc_section = "using.html#charts"
|
||||
%]
|
||||
|
||||
[% IF url_image %]
|
||||
|
|
|
@ -30,7 +30,7 @@ function remove_token() {
|
|||
javascript = javascript
|
||||
javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js"]
|
||||
style_urls = [ "skins/standard/search_form.css" ]
|
||||
doc_section = "query.html"
|
||||
doc_section = "using.html#searching-for-bugs"
|
||||
%]
|
||||
|
||||
[% WRAPPER search/tabs.html.tmpl %]
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
javascript = js_data
|
||||
javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js" ]
|
||||
style_urls = [ "skins/standard/reports.css", "skins/standard/search_form.css" ]
|
||||
doc_section = "reporting.html#charts-new-series"
|
||||
doc_section = "using.html#creating-new-data-sets"
|
||||
%]
|
||||
|
||||
<form method="get" action="chart.cgi" name="chartform">
|
||||
|
|
|
@ -22,7 +22,7 @@ var queryform = "reportform"
|
|||
javascript = js_data
|
||||
javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js" ]
|
||||
style_urls = [ "skins/standard/search_form.css" ]
|
||||
doc_section = "reporting.html#reports"
|
||||
doc_section = "using.html#reports"
|
||||
%]
|
||||
|
||||
[% PROCESS "search/search-report-select.html.tmpl" %]
|
||||
|
|
|
@ -22,7 +22,7 @@ var queryform = "reportform"
|
|||
javascript = js_data
|
||||
javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js" ]
|
||||
style_urls = [ "skins/standard/search_form.css" ]
|
||||
doc_section = "reporting.html#reports"
|
||||
doc_section = "using.html#reports"
|
||||
%]
|
||||
|
||||
[% PROCESS "search/search-report-select.html.tmpl" %]
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
[% PROCESS global/header.html.tmpl
|
||||
title = title
|
||||
style_urls = ['skins/standard/admin.css']
|
||||
doc_section = "whining.html"
|
||||
doc_section = "using.html#whining"
|
||||
%]
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue