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
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();
.. _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
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;
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:
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:
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();
# 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();
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:
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.
}
# 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\//);
[% 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') %]
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']
%]
[% 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">
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']
%]
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']
%]
[% 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 %]
[% 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>
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
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">
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>
[% PROCESS global/header.html.tmpl
title = title
- doc_section = "groups.html"
+ doc_section = "administration.html#groups-and-group-security"
%]
[% IF regexp %]
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">
[% 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">
[% 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">
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%%" %]
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">
[% 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 = "" %]
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
[% 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
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' ]
%]
[% 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
[% 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
[% 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">
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">
[% 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 %]
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' ]
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 %]
[% 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",
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 %]
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" ]
%]
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">
[% 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']
%]
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 %]
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 %]
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">
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" %]
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" %]
[% PROCESS global/header.html.tmpl
title = title
style_urls = ['skins/standard/admin.css']
- doc_section = "whining.html"
+ doc_section = "using.html#whining"
%]
<p>