my $action = $cgi->param('action');
my $series_id = $cgi->param('series_id');
+$vars->{'doc_section'} = 'reporting.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 $template = Bugzilla->template;
my $vars = {};
+$vars->{'doc_section'} = 'myaccount.html';
+
print $cgi->header();
# If we're using LDAP for login, then we can't create a new account here.
</section>
- <section>
+ <section id="charts-new-series">
<title>Creating New Data Sets</title>
<para>
my $template = Bugzilla->template;
my $vars = {};
+# All pages point to the same part of the documentation.
+$vars->{'doc_section'} = 'bugreports.html';
+
my $product_name = trim($cgi->param('product') || '');
# Will contain the product object the bug is created in.
my $product;
print Data::Dumper::Dumper(@image_data) . "\n\n</pre>";
}
+# All formats point to the same section of the documentation.
+$vars->{'doc_section'} = 'reporting.html#reports';
+
$template->process("$format->{'template'}", $vars)
|| ThrowTemplateError($template->error());
[%+ "$terms.Bug " _ a.bug_id FILTER bug_link(a.bug_id) FILTER none %]
[% END %]
-[% PROCESS global/header.html.tmpl title = title %]
+[% PROCESS global/header.html.tmpl
+ title = title
+ doc_section = "attachments.html"
+%]
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
onload="setContentTypeDisabledState(document.entryform);"
style_urls = [ 'skins/standard/create_attachment.css' ]
javascript_urls = [ "js/attachment.js" ]
+ doc_section = "attachments.html"
%]
<form name="entryform" method="post" action="attachment.cgi" enctype="multipart/form-data">
[% PROCESS global/header.html.tmpl
title = "Attachment $attachment.id added to $terms.Bug $attachment.bug_id"
+ doc_section = "bug_page.html"
%]
<dl>
[% subheader = BLOCK %]
[% bugsummary FILTER html %]
[% END %]
- [% PROCESS global/header.html.tmpl %]
+ [% PROCESS global/header.html.tmpl doc_section = "attachments.html#patchviewer" %]
[% ELSE %]
<html>
<head>
title = title
header = header
subheader = subheader
+ doc_section = "attachments.html"
style = "
table.attachment_info th { text-align: right; vertical-align: top; }
table.attachment_info td { text-align: left; vertical-align: top; }
[% PROCESS global/header.html.tmpl
title = "Changes Submitted to Attachment $attachment.id of $terms.Bug $attachment.bug_id"
+ doc_section = "bug_page.html"
%]
<dl>
javascript_urls = ["js/expanding-tree.js"]
style_urls = ["skins/standard/dependency-tree.css"]
subheader = filtered_desc
+ doc_section = "hintsandtips.html#dependencytree"
%]
[% PROCESS depthControlToolbar %]
h1 = ""
style_urls = ["skins/standard/show_multiple.css",
"skins/standard/buglist.css"]
+ doc_section = "bug_page.html"
%]
[% PROCESS bug/time.html.tmpl %]
[% IF bugs.first %]
"bz_bug_$bug.bug_id"
]
javascript_urls = [ "js/util.js", "js/keyword-chooser.js" ]
+ doc_section = "bug_page.html"
%]
[% END %]
title = title
header = header
style_urls = ["skins/standard/summarize-time.css"]
+ doc_section = "timetracking.html"
%]
[% INCLUDE query_form %]
style = style
atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom"
javascript_urls = [ "js/util.js", "js/keyword-chooser.js" ]
+ doc_section = "query.html#list"
%]
<div class="bz_query_head" align="center">
[% PROCESS global/header.html.tmpl
title = "Reporting and Charting Kitchen"
+ doc_section = "reporting.html"
%]
<p>
[% PROCESS "global/field-descs.none.tmpl" %]
-[% PROCESS global/header.html.tmpl title = "$terms.Bug Charts"
- h1 = "Welcome to the $terms.Bugzilla Charting Kitchen" %]
+[% PROCESS global/header.html.tmpl
+ title = "$terms.Bug Charts"
+ h1 = "Welcome to the $terms.Bugzilla Charting Kitchen"
+ doc_section = "reporting.html#charts"
+%]
<div align="center">
[% IF url_image %]
javascript = js_data
javascript_urls = [ "js/productform.js" "js/util.js" "js/help.js" ]
style_urls = [ "skins/standard/help.css" ]
+ doc_section = "query.html"
style = "dl.bug_changes dt {
margin-top: 15px;
}"
onload = "doOnSelectProduct(0);"
javascript = js_data
javascript_urls = [ "js/productform.js" ]
+ doc_section = "reporting.html#charts-new-series"
%]
<form method="get" action="chart.cgi" name="chartform">
onload = "doOnSelectProduct(0); chartTypeChanged()"
javascript = js_data
javascript_urls = [ "js/productform.js" ]
+ doc_section = "reporting.html#reports"
%]
[% PROCESS "search/search-report-select.html.tmpl" %]
onload = "doOnSelectProduct(0)"
javascript = js_data
javascript_urls = [ "js/productform.js" ]
+ doc_section = "reporting.html#reports"
%]
[% PROCESS "search/search-report-select.html.tmpl" %]