summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2013-02-20 16:32:49 +0000
committerColin Guthrie <colin@mageia.org>2014-09-15 20:44:40 +0100
commit4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08 (patch)
treea32750d83e7262f31c0e8d35bcf9faa2dee2f4b7
parent4302bafb0583830649ced57f931eddb7a2af4829 (diff)
downloadbugzilla-4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08.tar
bugzilla-4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08.tar.gz
bugzilla-4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08.tar.bz2
bugzilla-4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08.tar.xz
bugzilla-4de8bf5ba33129f61001b7dcb1ae2ac847cb6a08.zip
Add new template
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl443
-rw-r--r--template/en/default/filterexceptions.pl510
2 files changed, 953 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
new file mode 100644
index 0000000..bee5f01
--- /dev/null
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -0,0 +1,443 @@
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Bugzilla Bug Tracking System.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ # Christine Begle <cbegle@mozilla.org>
+ #%]
+
+[%# INTERFACE:
+ # This template has the same interface as create.html.tmpl
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+[% PROCESS global/header.html.tmpl
+ title = "Enter $terms.ABug"
+ onload = "PutDescription()"
+ style = "#somebugs { width: 100%; height: 500px }"
+ %]
+
+[% style = "" %]
+
+[% tablecolour = "#efefef" %]
+
+[%# This script displays the descriptions for selected components. %]
+<script type="text/javascript">
+<!--
+var descriptions = [
+[% FOREACH c = product.components %]
+ '[% c.description FILTER js %]',
+[% END %]
+];
+
+function PutDescription() {
+ if ((document.getElementById) && (document.body.innerHTML)) {
+ var componentIndex = document.getElementById('component').selectedIndex;
+ if (componentIndex != -1) {
+ var description = document.getElementById('description');
+ description.innerHTML = descriptions[componentIndex];
+ }
+ }
+}
+
+var initialowners = new Array([% product.components.size %]);
+var last_initialowner;
+var components = new Array([% product.components.size %]);
+[% count = 0 %]
+[%- FOREACH c = product.components %]
+ components[[% count %]] = "[% c.name FILTER js %]";
+ initialowners[[% count %]] = "[% c.default_assignee.login FILTER js %]";
+ [% count = count + 1 %]
+[%- END %]
+
+function set_assign_to() {
+ // Based on the selected component, fill the "Assign To:" field
+ // with the default component owner.
+ var form = document.Create;
+ var assigned_to = form.assigned_to.value;
+
+ var index = -1;
+ if (form.component.type == 'select-one') {
+ index = form.component.selectedIndex;
+ } else if (form.component.type == 'hidden') {
+ // Assume there is only one component in the list
+ index = 0;
+ }
+ if (index != -1) {
+ var owner = initialowners[index];
+ var component = components[index];
+ if (assigned_to == last_initialowner
+ || assigned_to == owner
+ || assigned_to == '') {
+ form.assigned_to.value = owner;
+ last_initialowner = owner;
+ }
+ }
+ PutDescription();
+}
+
+// this is courtesy of John Keller
+
+var http_connection = null;
+
+// init XMLHttpRequest object, based on browser type
+function initHttpConnection() {
+ http_connection = null;
+
+ try {
+ // Firefox, Opera 8.0+, Safari
+ http_connection = new XMLHttpRequest();
+ } catch (e) {
+ // Internet Explorer
+ try {
+ http_connection = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ try {
+ http_connection = new ActiveXObject("Microsoft.XMLHTTP");
+ } catch (e) {
+ // browser does not support AJAX
+ }
+ }
+ }
+
+ if (http_connection != null) {
+ http_connection.onreadystatechange = onLoadMaintainer;
+ }
+}
+
+// handler for data received
+// text field to set should be similar to
+// <input name="assigned_to" id="assigned_to" />
+function onLoadMaintainer() {
+ var field_obj;
+
+ if ((http_connection.readyState == 4) && (http_connection.status == 200)) {
+ if ((http_connection.responseText != null) && (http_connection.responseText != 'NOT_FOUND')) {
+ if ((field_obj = document.getElementById('assigned_to')) != null) {
+ field_obj.value = http_connection.responseText;
+ }
+ }
+ } else {
+ // by default, we'll leave form value alone and don't do anything else
+ // this is a good place to set a default or show an error, though
+ }
+}
+
+// handler for when user enters a package
+// text field to set should be similar to
+// <input name="cf_rpmpkg" onchange="onChangePackage(this)" />
+function onChangePackage(input_obj) {
+ initHttpConnection();
+
+ if ((http_connection != null) && (input_obj.value != "")) {
+ http_connection.open("GET", '/lookup.php?pkg=' + encodeURIComponent(input_obj.value));
+ http_connection.send(null);
+ }
+};
+
+
+-->
+</script>
+
+<p>&nbsp;&nbsp;&nbsp;Submit [% terms.abug %] using the
+<a href="enter_bug.cgi?product=[% product.name FILTER html %]">expert [% terms.bug %] form</a>.</p>
+
+
+<form name="Create" id="Create" method="post" action="post_bug.cgi">
+ <input type="hidden" name="format" value="guided">
+ <input type="hidden" name="priority"
+ value="[% default.priority FILTER html %]">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+ <input type="hidden" name="op_sys" value="[% Param('defaultopsys') FILTER html %]">
+
+<table valign="top" cellpadding="5" cellspacing="5" border="0">
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]" width="10%">
+ <b>Product:</b>
+ </td>
+ <td valign="top">
+ <input type="hidden" name="product" value="[% product.name FILTER html %]">
+ <b>[% product.name FILTER html %]</b>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Component:</b>
+ </td>
+ <td valign="top">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td valign="top">
+ <select name="component" id="component"
+ size="5" onchange="PutDescription();">
+ [% IF NOT default.component_ %]
+ [%# Various b.m.o. products have a "General" component,
+ which is a useful default. %]
+ [% default.component_ = "General" %]
+ [% END %]
+ [% FOREACH c = product.components %]
+ <option value="[% c.name FILTER html %]"
+ [% " selected=\"selected\"" IF c.name == default.component_ %]>
+ [% c.name FILTER html %]
+ </option>
+ [% END %]
+ </select>
+ </td>
+ <td valign="top" width="100%">
+ <div id="description" style="color: green; margin-left: 10px;
+ height: 5em; overflow: auto;">
+ <script type="text/javascript">
+ if ((document.getElementById) && (document.body.innerHTML)) {
+ document.write("\
+ Select a component to see its description here.");
+ }
+ </script>
+ </div>
+ </td>
+ </tr>
+ </table>
+
+ <p>
+ The area where the problem occurs.
+ To pick the right component, you could use the same one as
+ similar [% terms.bugs %] you found in your search, or read the full list of
+ <a target="_blank" href="describecomponents.cgi?product=
+ [% product.name FILTER url_quote %]">component
+ descriptions</a> (opens in new window) if you need more help.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Version:</b>
+ </td>
+ <td valign="top">
+ <select name="version" size="5">
+ [%- FOREACH v = version %]
+ <option value="[% v FILTER html %]"
+ [% " selected=\"selected\"" IF v == default.version %]>[% v FILTER html %]
+ </option>
+ [% END %]
+ </select>
+ </td>
+ </tr>
+
+ [%# We override rep_platform and op_sys for simplicity. The values chosen
+ are based on which are most common in the b.m.o database %]
+ [% rep_platform = [ "All", "i586", "x86_64" ] %]
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Hardware Platform:</b>
+ </td>
+ <td valign="top">
+ [% PROCESS select sel = 'rep_platform' %]
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Source RPM:</b>
+ </td>
+ <td valign="top">
+ <input type="text" size="80" name="cf_rpmpkg" value="" onchange="onChangePackage(this)">
+ <p>
+ This is where you can identify exactly which RPM package is involved in this [% terms.bug %] report. For instance,
+ if you know the problem you are having is with the program <tt>mysqld</tt>, then execute
+ <tt>rpm -qif /usr/sbin/mysqld</tt>. This will tell you the name and version of the RPM
+ package (i.e. MySQL-5.0.27-1mga1) as well as other information. In particular, you are looking for
+ the "Source RPM" field (i.e. MySQL-5.0.27-1mga1.src.rpm) -- this is the information you should
+ provide here. Alternatively, you may use <tt>rpm -qf /usr/sbin/mysqld --qf '%{SOURCERPM}\n'</tt> to
+ obtain the information. If you do not know the location of the program in question, use <tt>rpm -qf `which mysqld`</tt>
+ to obtain it. Please enter that information above.
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>URL:</b>
+ </td>
+ <td valign="top">
+ <input type="text" size="80" name="bug_file_loc" value="http://">
+ <p>
+ URL that demonstrates the problem you are submitting (optional).
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Summary:</b>
+ </td>
+ <td valign="top">
+ <input type="text" size="80" name="short_desc" id="short_desc"
+ maxlength="255" spellcheck="true">
+ <p>
+ A sentence that summarizes the problem.
+ Please be descriptive and use lots of keywords.
+ </p>
+ <p>
+ <tt>
+ <font color="#990000">Bad example</font>: mail crashed
+ </tt>
+ <br>
+ <tt>
+ <font color="#009900">Good example</font>:
+ crash in Evolution while checking for new POP mail
+ </tt>
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="top" bgcolor="[% tablecolour %]">
+ <b>Details:</b>
+ </td>
+ <td valign="top">
+ [% INCLUDE global/textarea.html.tmpl
+ name = 'comment'
+ minrows = 10
+ maxrows = 25
+ cols = constants.COMMENT_COLS
+ defaultcontent = "Description of problem:\n\n\nVersion-Release number of selected component (if applicable):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n"
+ %]
+ [% IF user.is_insider %]
+ <br>&nbsp;&nbsp;
+ <input type="checkbox" id="comment_is_private" name="comment_is_private"
+ [% ' checked="checked"' IF comment_is_private %]>
+ <label for="comment_is_private">Initial Description is Private</label>
+ [% END %]
+
+ <p>
+ Expand on the Summary. Please be
+ as specific as possible about what is wrong.
+ </p>
+ <p>
+ <tt>
+ <font color="#990000">Bad example</font>: I can't seem to login to the system. Please help!
+ </tt>
+ <br>
+ <tt>
+ <font color="#009900">Good example</font>:<br /><br />
+ Description of problem:<br /><br />
+ I'm unable to login to the system via ssh. The /var/log/messages
+ log indicates there is a problem with the pam module pam_ldap, but the /etc/pam.d/system-auth file doesn't
+ contain that module and I'm not using LDAP. I looked at /etc/pam.d/sshd and it does contain that module but I'm
+ not sure how it got there, unless it was due to the super-spiffy super-ldap-mojo package I installed yesterday. <br /><br />
+ Version-Release number of selected component (if applicable):<br /><br />
+ openldap-2.3.34-5mga1, pam-0.99.7.1-2mga1<br /><br />
+ How reproducible:<br /><br />
+ Every time I attempt to login.<br /><br />
+ Steps to Reproduce:<br />
+ 1. ssh user@host<br />
+ 2. see the rejection<br />
+ </tt>
+ </p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right" bgcolor="[% tablecolour %]">
+ <b>Severity:</b>
+ </td>
+ <td valign="top">
+ <select name="bug_severity">
+ <option name="critical" value="critical">
+ Critical: The software crashes, hangs, or causes you to
+ lose data.
+ </option>
+ <option name="major" value="major">
+ Major: A major feature is broken.
+ </option>
+ <option name="normal" value="normal" selected="selected">
+ Normal: It's [% terms.abug %] that should be fixed.
+ </option>
+ <option name="minor" value="minor">
+ Minor: Minor loss of function, and there's an easy workaround.
+ </option>
+ <option name="enhancement" value="enhancement">
+ Enhancement: Request for new feature or enhancement.
+ </option>
+ </select>
+ <p>
+ Indicate how serious the problem is, or if your [% terms.bug %] is a
+ request for a new feature.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right" bgcolor="[% tablecolour %]">
+ <b>Assign To:</b>
+ </td>
+ <td valign="top">
+ [% INCLUDE global/userselect.html.tmpl
+ id => "assigned_to"
+ name => "assigned_to"
+ value => ""
+ emptyok => 1
+ size => 32
+ %]
+ <p>Leave the above blank to assign to the default component owner.</p>
+ </td>
+ </tr>
+
+ [% Hook.process('form') %]
+</table>
+
+<p>
+ <input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
+ onclick="if (this.form.comment.value == 'Description of problem:\n\n\nVersion-Release number of selected component (if applicable):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n')
+ { alert('Please enter some details about this [% terms.bug %].');
+ this.form.comment.focus();
+ return false; } return true;">
+</p>
+
+<p>
+ That's it! Thanks very much. You'll be notified by email about any
+ progress that is made on fixing your [% terms.bug %].
+ Thank you for choosing Mageia!
+</p>
+ </form>
+
+[% PROCESS global/footer.html.tmpl %]
+
+[%############################################################################%]
+[%# Block for SELECT fields #%]
+[%############################################################################%]
+
+[% BLOCK select %]
+ <select name="[% sel %]">
+ [%- IF default.$sel %]
+ <option value="[% default.$sel FILTER html %]" selected="selected">
+ [% default.$sel FILTER html -%]
+ </option>
+ [% END %]
+ [%- FOREACH x = $sel %]
+ [% NEXT IF x == default.$sel %]
+ <option value="[% x FILTER html %]">
+ [% x FILTER html -%]
+ </option>
+ [%- END %]
+ </select>
+[% END %]
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
new file mode 100644
index 0000000..49bf3a9
--- /dev/null
+++ b/template/en/default/filterexceptions.pl
@@ -0,0 +1,510 @@
+# -*- Mode: perl; indent-tabs-mode: nil -*-
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# The Original Code are the Bugzilla tests.
+#
+# The Initial Developer of the Original Code is Jacob Steenhagen.
+# Portions created by Jacob Steenhagen are
+# Copyright (C) 2001 Jacob Steenhagen. All
+# Rights Reserved.
+#
+# Contributor(s): Gervase Markham <gerv@gerv.net>
+
+# Important! The following classes of directives are excluded in the test,
+# and so do not need to be added here. Doing so will cause warnings.
+# See 008filter.t for more details.
+#
+# Comments - [%#...
+# Directives - [% IF|ELSE|UNLESS|FOREACH...
+# Assignments - [% foo = ...
+# Simple literals - [% " selected" ...
+# Values always used for numbers - [% (i|j|k|n|count) %]
+# Params - [% Param(...
+# Safe functions - [% (time2str)...
+# Safe vmethods - [% foo.size %] [% foo.length %]
+# [% foo.push() %]
+# TT loop variables - [% loop.count %]
+# Already-filtered stuff - [% wibble FILTER html %]
+# where the filter is one of html|csv|js|url_quote|quoteUrls|time|uri|xml|none
+
+%::safe = (
+
+'whine/schedule.html.tmpl' => [
+ 'event.key',
+ 'query.id',
+ 'query.sort',
+ 'schedule.id',
+ 'option.0',
+ 'option.1',
+],
+
+'whine/mail.html.tmpl' => [
+ 'bug.bug_id',
+],
+
+'flag/list.html.tmpl' => [
+ 'flag.id',
+ 'flag.status',
+ 'type.id',
+],
+
+'search/boolean-charts.html.tmpl' => [
+ '"field${chartnum}-${rownum}-${colnum}"',
+ 'field.name',
+ '"${chartnum}-${rownum}-${newor}"',
+ '"${chartnum}-${newand}-0"',
+ 'newchart',
+ 'jsmagic',
+],
+
+'search/form.html.tmpl' => [
+ 'qv.name',
+ 'qv.description',
+],
+
+'search/search-specific.html.tmpl' => [
+ 'status.name',
+],
+
+'search/tabs.html.tmpl' => [
+ 'content',
+],
+
+'request/queue.html.tmpl' => [
+ 'column_headers.$group_field',
+ 'column_headers.$column',
+ 'request.status',
+ 'request.bug_id',
+ 'request.attach_id',
+],
+
+'reports/keywords.html.tmpl' => [
+ 'keyword.bug_count',
+],
+
+'reports/report-table.csv.tmpl' => [
+ 'data.$tbl.$col.$row',
+ 'colsepchar',
+],
+
+'reports/report-table.html.tmpl' => [
+ '"&amp;$tbl_vals" IF tbl_vals',
+ '"&amp;$col_vals" IF col_vals',
+ '"&amp;$row_vals" IF row_vals',
+ 'classes.$row_idx.$col_idx',
+ 'urlbase',
+ 'data.$tbl.$col.$row',
+ 'row_total',
+ 'col_totals.$col',
+ 'grand_total',
+],
+
+'reports/report.html.tmpl' => [
+ 'width',
+ 'height',
+ 'imageurl',
+ 'formaturl',
+ 'other_format.name',
+ 'sizeurl',
+ 'switchbase',
+ 'format',
+ 'cumulate',
+],
+
+'reports/chart.html.tmpl' => [
+ 'width',
+ 'height',
+ 'imageurl',
+ 'sizeurl',
+ 'height + 100',
+ 'height - 100',
+ 'width + 100',
+ 'width - 100',
+],
+
+'reports/series-common.html.tmpl' => [
+ 'sel.name',
+ '"onchange=\"$sel.onchange\"" IF sel.onchange',
+],
+
+'reports/chart.csv.tmpl' => [
+ 'data.$j.$i',
+ 'colsepchar',
+],
+
+'reports/create-chart.html.tmpl' => [
+ 'series.series_id',
+ 'newidx',
+],
+
+'reports/edit-series.html.tmpl' => [
+ 'default.series_id',
+],
+
+'list/edit-multiple.html.tmpl' => [
+ 'group.id',
+ 'menuname',
+],
+
+'list/list.rdf.tmpl' => [
+ 'template_version',
+ 'bug.bug_id',
+ 'column',
+],
+
+'list/table.html.tmpl' => [
+ 'tableheader',
+ 'bug.bug_id',
+ 'abbrev.$id.title || field_descs.$id || column.title',
+],
+
+'list/list.csv.tmpl' => [
+ 'bug.bug_id',
+ 'colsepchar',
+],
+
+'list/list.js.tmpl' => [
+ 'bug.bug_id',
+],
+
+'global/choose-product.html.tmpl' => [
+ 'target',
+],
+
+# You are not permitted to add any values here. Everything in this file should
+# be filtered unless there's an extremely good reason why not, in which case,
+# use the "none" dummy filter.
+'global/code-error.html.tmpl' => [
+],
+
+'global/header.html.tmpl' => [
+ 'javascript',
+ 'style',
+ 'onload',
+ 'title',
+ '" &ndash; $header" IF header',
+ 'subheader',
+ 'header_addl_info',
+ 'message',
+],
+
+'global/messages.html.tmpl' => [
+ 'message_tag',
+ 'series.frequency * 2',
+],
+
+'global/per-bug-queries.html.tmpl' => [
+ '" value=\"$bugids\"" IF bugids',
+],
+
+'global/select-menu.html.tmpl' => [
+ 'options',
+ 'size',
+],
+
+'global/tabs.html.tmpl' => [
+ 'content',
+],
+
+# You are not permitted to add any values here. Everything in this file should
+# be filtered unless there's an extremely good reason why not, in which case,
+# use the "none" dummy filter.
+'global/user-error.html.tmpl' => [
+],
+
+'global/confirm-user-match.html.tmpl' => [
+ 'script',
+ 'fields.${field_name}.flag_type.name',
+],
+
+'global/site-navigation.html.tmpl' => [
+ 'bug.bug_id',
+],
+
+'bug/comments.html.tmpl' => [
+ 'comment.id',
+ 'bug.bug_id',
+],
+
+'bug/dependency-graph.html.tmpl' => [
+ 'image_map', # We need to continue to make sure this is safe in the CGI
+ 'image_url',
+ 'map_url',
+ 'bug_id',
+],
+
+'bug/dependency-tree.html.tmpl' => [
+ 'bugid',
+ 'maxdepth',
+ 'hide_resolved',
+ 'ids.join(",")',
+ 'maxdepth + 1',
+ 'maxdepth > 0 && maxdepth <= realdepth ? maxdepth : ""',
+ 'maxdepth == 1 ? 1
+ : ( maxdepth ? maxdepth - 1 : realdepth - 1 )',
+],
+
+'bug/edit.html.tmpl' => [
+ 'bug.remaining_time',
+ 'bug.delta_ts',
+ 'bug.bug_id',
+ 'group.bit',
+ 'dep.title',
+ 'dep.fieldname',
+ 'bug.${dep.fieldname}.join(\', \')',
+ 'selname',
+ '" accesskey=\"$accesskey\"" IF accesskey',
+ 'inputname',
+ '" colspan=\"$colspan\"" IF colspan',
+ '" size=\"$size\"" IF size',
+ '" maxlength=\"$maxlength\"" IF maxlength',
+ '" spellcheck=\"$spellcheck\"" IF spellcheck',
+],
+
+'bug/show-multiple.html.tmpl' => [
+ 'attachment.id',
+ 'flag.status',
+],
+
+'bug/show.html.tmpl' => [
+ 'bug.bug_id',
+],
+
+'bug/show.xml.tmpl' => [
+ 'constants.BUGZILLA_VERSION',
+ 'a.id',
+ 'field',
+],
+
+'bug/summarize-time.html.tmpl' => [
+ 'global.grand_total FILTER format("%.2f")',
+ 'subtotal FILTER format("%.2f")',
+ 'work_time FILTER format("%.2f")',
+ 'global.total FILTER format("%.2f")',
+ 'global.remaining FILTER format("%.2f")',
+ 'global.estimated FILTER format("%.2f")',
+ 'bugs.$id.remaining_time FILTER format("%.2f")',
+ 'bugs.$id.estimated_time FILTER format("%.2f")',
+],
+
+
+'bug/time.html.tmpl' => [
+ 'time_unit FILTER format(\'%.1f\')',
+ 'time_unit FILTER format(\'%.2f\')',
+ '(act / (act + rem)) * 100
+ FILTER format("%d")',
+],
+
+'bug/process/results.html.tmpl' => [
+ 'title.$type',
+ '"$terms.Bug $id" FILTER bug_link(id)',
+ '"$terms.bug $id" FILTER bug_link(id)',
+],
+
+'bug/create/create.html.tmpl' => [
+ 'cloned_bug_id',
+],
+
+'bug/create/create-guided.html.tmpl' => [
+ 'tablecolour',
+ 'sel',
+],
+
+'bug/activity/table.html.tmpl' => [
+ 'change.attachid',
+],
+
+'attachment/create.html.tmpl' => [
+ 'bug.bug_id',
+ 'attachment.id',
+],
+
+'attachment/created.html.tmpl' => [
+ 'attachment.id',
+ 'attachment.bug_id',
+],
+
+'attachment/edit.html.tmpl' => [
+ 'attachment.id',
+ 'attachment.bug_id',
+ 'a',
+ 'editable_or_hide',
+],
+
+'attachment/list.html.tmpl' => [
+ 'attachment.id',
+ 'flag.status',
+ 'bugid',
+ 'obsolete_attachments',
+],
+
+'attachment/midair.html.tmpl' => [
+ 'attachment.id',
+],
+
+'attachment/show-multiple.html.tmpl' => [
+ 'a.id',
+ 'flag.status'
+],
+
+'attachment/updated.html.tmpl' => [
+ 'attachment.id',
+],
+
+'attachment/diff-header.html.tmpl' => [
+ 'attachid',
+ 'id',
+ 'bugid',
+ 'oldid',
+ 'newid',
+ 'patch.id',
+],
+
+'attachment/diff-file.html.tmpl' => [
+ 'lxr_prefix',
+ 'file.minus_lines',
+ 'file.plus_lines',
+ 'bonsai_prefix',
+ 'section.old_start',
+ 'section_num',
+ 'current_line_old',
+ 'current_line_new',
+],
+
+'admin/admin.html.tmpl' => [
+ 'class'
+],
+
+'admin/table.html.tmpl' => [
+ 'link_uri'
+],
+
+'admin/custom_fields/cf-js.js.tmpl' => [
+ 'constants.FIELD_TYPE_SINGLE_SELECT',
+ 'constants.FIELD_TYPE_MULTI_SELECT',
+ 'constants.FIELD_TYPE_BUG_ID',
+],
+
+'admin/params/common.html.tmpl' => [
+ 'sortlist_separator',
+],
+
+'admin/products/groupcontrol/confirm-edit.html.tmpl' => [
+ 'group.count',
+],
+
+'admin/products/groupcontrol/edit.html.tmpl' => [
+ 'group.id',
+ 'constants.CONTROLMAPNA',
+ 'constants.CONTROLMAPSHOWN',
+ 'constants.CONTROLMAPDEFAULT',
+ 'constants.CONTROLMAPMANDATORY',
+],
+
+'admin/products/list.html.tmpl' => [
+ 'classification_url_part',
+],
+
+'admin/products/footer.html.tmpl' => [
+ 'classification_url_part',
+ 'classification_text',
+],
+
+'admin/flag-type/confirm-delete.html.tmpl' => [
+ 'flag_type.flag_count',
+ 'flag_type.id',
+],
+
+'admin/flag-type/edit.html.tmpl' => [
+ 'action',
+ 'type.id',
+ 'type.target_type',
+ 'type.sortkey || 1',
+ 'typeLabelLowerPlural',
+ 'typeLabelLowerSingular',
+ 'selname',
+],
+
+'admin/flag-type/list.html.tmpl' => [
+ 'type.id',
+],
+
+
+'admin/components/confirm-delete.html.tmpl' => [
+ 'comp.bug_count'
+],
+
+'admin/groups/delete.html.tmpl' => [
+ 'shared_queries'
+],
+
+'admin/users/confirm-delete.html.tmpl' => [
+ 'attachments',
+ 'reporter',
+ 'assignee_or_qa',
+ 'cc',
+ 'component_cc',
+ 'flags.requestee',
+ 'flags.setter',
+ 'longdescs',
+ 'quips',
+ 'series',
+ 'watch.watched',
+ 'watch.watcher',
+ 'whine_events',
+ 'whine_schedules',
+ 'otheruser.id'
+],
+
+'admin/users/edit.html.tmpl' => [
+ 'otheruser.id',
+ 'group.id',
+],
+
+'admin/components/edit.html.tmpl' => [
+ 'comp.bug_count'
+],
+
+'admin/workflow/edit.html.tmpl' => [
+ 'status.id',
+ 'new_status.id',
+],
+
+'admin/workflow/comment.html.tmpl' => [
+ 'status.id',
+ 'new_status.id',
+],
+
+'account/auth/login-small.html.tmpl' => [
+ 'qs_suffix',
+],
+
+'account/prefs/email.html.tmpl' => [
+ 'relationship.id',
+ 'event.id',
+ 'prefname',
+],
+
+'account/prefs/prefs.html.tmpl' => [
+ 'current_tab.label',
+ 'current_tab.name',
+],
+
+'account/prefs/saved-searches.html.tmpl' => [
+ 'group.id',
+],
+
+'config.rdf.tmpl' => [
+ 'escaped_urlbase',
+],
+
+);