Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
91341bcf
Commit
91341bcf
authored
Apr 07, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 133423 - Audit templates for FILTER usage
r=gerv, justdave
parent
ae8a18de
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
48 additions
and
41 deletions
+48
-41
account_created.tmpl
template/default/admin/account_created.tmpl
+1
-1
account_exists.tmpl
template/default/admin/account_exists.tmpl
+2
-2
change-password.html.tmpl
template/default/admin/change-password.html.tmpl
+1
-1
create_account.tmpl
template/default/admin/create_account.tmpl
+1
-1
created.atml
template/default/attachment/created.atml
+1
-1
edit.atml
template/default/attachment/edit.atml
+3
-3
list.atml
template/default/attachment/list.atml
+2
-2
viewall.atml
template/default/attachment/viewall.atml
+3
-2
create.atml
template/default/attachstatus/create.atml
+1
-1
delete.atml
template/default/attachstatus/delete.atml
+3
-0
edit.atml
template/default/attachstatus/edit.atml
+3
-3
list.atml
template/default/attachstatus/list.atml
+1
-1
buglist.html.tmpl
template/default/buglist/buglist.html.tmpl
+1
-1
change-form.tmpl
template/default/buglist/change-form.tmpl
+3
-3
header
template/default/global/header
+1
-1
index.tmpl
template/default/index.tmpl
+1
-1
describe-components.tmpl
template/default/info/describe-components.tmpl
+4
-3
quips.tmpl
template/default/info/quips.tmpl
+1
-1
account.tmpl
template/default/prefs/account.tmpl
+1
-1
userprefs.tmpl
template/default/prefs/userprefs.tmpl
+3
-2
comments.tmpl
template/default/show/comments.tmpl
+1
-1
multiple.tmpl
template/default/show/multiple.tmpl
+4
-4
show_bug.html.tmpl
template/default/show/show_bug.html.tmpl
+2
-1
confirmemail.html.tmpl
template/default/token/confirmemail.html.tmpl
+1
-1
emailchangenew.txt.tmpl
template/default/token/emailchangenew.txt.tmpl
+2
-2
emailchangeold.txt.tmpl
template/default/token/emailchangeold.txt.tmpl
+1
-1
No files found.
template/default/admin/account_created.tmpl
View file @
91341bcf
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<p>
<p>
A new account,
A new account,
<tt>[% login %]</tt>,
<tt>[% login
FILTER html
%]</tt>,
has been created and a randomly-generated password has been e-mailed
has been created and a randomly-generated password has been e-mailed
to that address.
to that address.
</p>
</p>
...
...
template/default/admin/account_exists.tmpl
View file @
91341bcf
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
<form method="get" action="token.cgi">
<form method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw" />
<input type="hidden" name="a" value="reqpw" />
<input type="hidden" name="loginname" value="[% login %]" />
<input type="hidden" name="loginname" value="[% login
FILTER html
%]" />
A Bugzilla account for <tt>[% login %]</tt> already exists. If you
A Bugzilla account for <tt>[% login
FILTER html
%]</tt> already exists. If you
are the account holder and have forgotten your password,
are the account holder and have forgotten your password,
<input type="submit" value="submit a request to change it" />.
<input type="submit" value="submit a request to change it" />.
</form>
</form>
...
...
template/default/admin/change-password.html.tmpl
View file @
91341bcf
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</p>
</p>
<form method="post" action="token.cgi">
<form method="post" action="token.cgi">
<input type="hidden" name="t" value="[% token %]" />
<input type="hidden" name="t" value="[% token
FILTER html
%]" />
<input type="hidden" name="a" value="chgpw" />
<input type="hidden" name="a" value="chgpw" />
<table>
<table>
<tr>
<tr>
...
...
template/default/admin/create_account.tmpl
View file @
91341bcf
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</td>
</td>
<td>
<td>
<input size="35" name="login" />
<input size="35" name="login" />
[% Param('emailsuffix') %]
[% Param('emailsuffix')
FILTER html
%]
</td>
</td>
</tr>
</tr>
...
...
template/default/attachment/created.atml
View file @
91341bcf
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<tr>
<tr>
<td>
<td>
<h2>
<h2>
<a title="[% description %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a>
<a title="[% description
FILTER html
%]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a>
to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created
to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created
</h2>
</h2>
...
...
template/default/attachment/edit.atml
View file @
91341bcf
...
@@ -153,10 +153,10 @@
...
@@ -153,10 +153,10 @@
<td
width=
"25%"
>
<td
width=
"25%"
>
<small>
<small>
<b>
Description:
</b><br>
<b>
Description:
</b><br>
<textarea
rows=
"3"
cols=
"25"
name=
"description"
wrap=
"soft"
>
[% description %]
</textarea><br>
<textarea
rows=
"3"
cols=
"25"
name=
"description"
wrap=
"soft"
>
[% description
FILTER html
%]
</textarea><br>
<b>
MIME Type:
</b><br>
<b>
MIME Type:
</b><br>
<input
type=
"text"
size=
"20"
name=
"contenttypeentry"
value=
"[% contenttype %]"
><br>
<input
type=
"text"
size=
"20"
name=
"contenttypeentry"
value=
"[% contenttype
FILTER html
%]"
><br>
<b>
Flags:
</b><br>
<b>
Flags:
</b><br>
<input
type=
"checkbox"
name=
"ispatch"
value=
"1"
[%
"
checked
"
IF
ispatch
%]
>
patch
<input
type=
"checkbox"
name=
"ispatch"
value=
"1"
[%
"
checked
"
IF
ispatch
%]
>
patch
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
[% IF statusdefs.size %]
[% IF statusdefs.size %]
<b>
Status:
</b><br>
<b>
Status:
</b><br>
[% FOREACH def = statusdefs %]
[% FOREACH def = statusdefs %]
<input
type=
"checkbox"
name=
"status"
value=
"[% def.id %]"
[%
"
checked
"
IF
statuses
.${
def
.
id
}
%]
>
[% def.name %]
<br>
<input
type=
"checkbox"
name=
"status"
value=
"[% def.id %]"
[%
"
checked
"
IF
statuses
.${
def
.
id
}
%]
>
[% def.name
FILTER html
%]
<br>
[% END %]
[% END %]
[% END %]
[% END %]
...
...
template/default/attachment/list.atml
View file @
91341bcf
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
[% IF attachment.ispatch %]
[% IF attachment.ispatch %]
<i>patch</i>
<i>patch</i>
[% ELSE %]
[% ELSE %]
[% attachment.contenttype %]
[% attachment.contenttype
FILTER html
%]
[% END %]
[% END %]
</td>
</td>
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<i>none</i>
<i>none</i>
[% ELSE %]
[% ELSE %]
[% FOREACH s = attachment.statuses %]
[% FOREACH s = attachment.statuses %]
[% s %]<br>
[% s
FILTER html
%]<br>
[% END %]
[% END %]
[% END %]
[% END %]
</nobr>
</nobr>
...
...
template/default/attachment/viewall.atml
View file @
91341bcf
...
@@ -19,10 +19,11 @@
...
@@ -19,10 +19,11 @@
# Contributor(s): Myk Melez <myk@mozilla.org>
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
#%]
[% filtered_summary = bugsummary FILTER html %]
[% INCLUDE global/header
[% INCLUDE global/header
title = "View All Attachments for Bug #$bugid"
title = "View All Attachments for Bug #$bugid"
h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>"
h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>"
h2 =
bug
summary
h2 =
filtered_
summary
style = "
style = "
th { text-align: right; vertical-align: top; }
th { text-align: right; vertical-align: top; }
td { text-align: left; vertical-align: top; }
td { text-align: left; vertical-align: top; }
...
@@ -67,7 +68,7 @@
...
@@ -67,7 +68,7 @@
<i>none</i>
<i>none</i>
[% ELSE %]
[% ELSE %]
[% FOREACH s = a.statuses %]
[% FOREACH s = a.statuses %]
[% s %]<br>
[% s
FILTER html
%]<br>
[% END %]
[% END %]
[% END %]
[% END %]
</nobr>
</nobr>
...
...
template/default/attachstatus/create.atml
View file @
91341bcf
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<td>
<td>
<select name="product">
<select name="product">
[% FOREACH item = products %]
[% FOREACH item = products %]
<option value="[% item
%]">[% item
%]</option>
<option value="[% item
FILTER html %]">[% item FILTER html
%]</option>
[% END %]
[% END %]
</select>
</select>
</td>
</td>
...
...
template/default/attachstatus/delete.atml
View file @
91341bcf
...
@@ -20,6 +20,9 @@
...
@@ -20,6 +20,9 @@
# Jeff Hedlund <jeff.hedlund@matrixsi.com>
# Jeff Hedlund <jeff.hedlund@matrixsi.com>
#%]
#%]
[%# Filter off the name here to be used multiple times below %]
[% name = name FILTER html %]
[% INCLUDE global/header
[% INCLUDE global/header
title = "Confirm Delete of Attachment Status '$name'"
title = "Confirm Delete of Attachment Status '$name'"
%]
%]
...
...
template/default/attachstatus/edit.atml
View file @
91341bcf
...
@@ -35,14 +35,14 @@
...
@@ -35,14 +35,14 @@
<tr>
<tr>
<th>Name:</th>
<th>Name:</th>
<td>
<td>
<input type="text" name="name" value="[% name %]" size="50" maxlength="50">
<input type="text" name="name" value="[% name
FILTER html
%]" size="50" maxlength="50">
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>Description:</th>
<th>Description:</th>
<td>
<td>
<textarea name="desc" rows="4" cols="50">[% desc %]</textarea>
<textarea name="desc" rows="4" cols="50">[% desc
FILTER html
%]</textarea>
</td>
</td>
</tr>
</tr>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<tr>
<tr>
<th>Product:</th>
<th>Product:</th>
<td>
<td>
[% product %]
[% product
FILTER html
%]
</td>
</td>
</tr>
</tr>
...
...
template/default/attachstatus/list.atml
View file @
91341bcf
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<td>[% statusdef.name FILTER html %]</td>
<td>[% statusdef.name FILTER html %]</td>
<td>[% statusdef.description FILTER html %]</td>
<td>[% statusdef.description FILTER html %]</td>
<td>[% statusdef.sortkey %]</td>
<td>[% statusdef.sortkey %]</td>
<td>[% statusdef.product %]</td>
<td>[% statusdef.product
FILTER html
%]</td>
<td>
<td>
<a href="editattachstatuses.cgi?action=edit&id=[% statusdef.id %]">
<a href="editattachstatuses.cgi?action=edit&id=[% statusdef.id %]">
Edit</a>
Edit</a>
...
...
template/default/buglist/buglist.html.tmpl
View file @
91341bcf
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
[% END %]
[% END %]
[% IF quip %]
[% IF quip %]
<a href="quips.cgi"><i>[% quip %]</i></a>
<a href="quips.cgi"><i>[% quip
FILTER html
%]</i></a>
[% END %]
[% END %]
</div>
</div>
...
...
template/default/buglist/change-form.tmpl
View file @
91341bcf
...
@@ -246,8 +246,8 @@
...
@@ -246,8 +246,8 @@
<select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true">
<select name="resolution" onchange="document.forms.changeform.knob[[% knum %]].checked=true">
[% FOREACH resolution = resolutions %]
[% FOREACH resolution = resolutions %]
[% NEXT IF !resolution %]
[% NEXT IF !resolution %]
<option value="[% resolution %]" [% selected IF resolution == "FIXED" %]>
<option value="[% resolution
FILTER html
%]" [% selected IF resolution == "FIXED" %]>
[% resolution %]
[% resolution
FILTER html
%]
</option>
</option>
[% END %]
[% END %]
</select><br />
</select><br />
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
Reassign</A> bugs to
Reassign</A> bugs to
</label>
</label>
<input name="assigned_to"
<input name="assigned_to"
value="[% user %]"
value="[% user
FILTER html
%]"
onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
size="32"><br />
size="32"><br />
...
...
template/default/global/header
View file @
91341bcf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<html>
<head>
<head>
<title>
[% title %]
</title>
<title>
[% title
FILTER html
%]
</title>
[% Param('headerhtml') %]
[% Param('headerhtml') %]
...
...
template/default/index.tmpl
View file @
91341bcf
...
@@ -56,7 +56,7 @@ function addSidebar() {
...
@@ -56,7 +56,7 @@ function addSidebar() {
[% IF username %]
[% IF username %]
<a
href=
"[% PerformSubsts(Param('mybugstemplate'), subst) %]"
>
My Bugs
</a><br>
<a
href=
"[% PerformSubsts(Param('mybugstemplate'), subst) %]"
>
My Bugs
</a><br>
<a
href=
"userprefs.cgi"
>
Change password or user preferences
</a><br>
<a
href=
"userprefs.cgi"
>
Change password or user preferences
</a><br>
<a
href=
"relogin.cgi"
>
Logout [% username %]
</a><br>
<a
href=
"relogin.cgi"
>
Logout [% username
FILTER html
%]
</a><br>
[% ELSE %]
[% ELSE %]
<a
href=
"query.cgi?GoAheadAndLogIn=1"
>
Log in to an existing account
</a><br>
<a
href=
"query.cgi?GoAheadAndLogIn=1"
>
Log in to an existing account
</a><br>
<a
href=
"createaccount.cgi"
>
Open a new Bugzilla account
</a><br>
<a
href=
"createaccount.cgi"
>
Open a new Bugzilla account
</a><br>
...
...
template/default/info/describe-components.tmpl
View file @
91341bcf
...
@@ -19,9 +19,10 @@
...
@@ -19,9 +19,10 @@
# Contributor(s): Bradley Baetz <bbaetz@student.usyd.edu.au>
# Contributor(s): Bradley Baetz <bbaetz@student.usyd.edu.au>
#%]
#%]
[% filtered_product = product FILTER html %]
[% INCLUDE global/header
[% INCLUDE global/header
title = "Components for $product"
title = "Components for $product"
h2 = product %]
h2 =
filtered_
product %]
[% IF Param("useqacontact") %]
[% IF Param("useqacontact") %]
[% numcols = 3 %]
[% numcols = 3 %]
...
@@ -70,7 +71,7 @@
...
@@ -70,7 +71,7 @@
</td>
</td>
<td>
<td>
<a href="mailto:[% comp.initialowner %][% Param('emailsuffix') %]">
<a href="mailto:[% comp.initialowner %][% Param('emailsuffix') %]">
[% comp.initialowner %]</a>
[% comp.initialowner
FILTER html
%]</a>
</td>
</td>
[% IF Param("useqacontact") %]
[% IF Param("useqacontact") %]
<td>
<td>
...
...
template/default/info/quips.tmpl
View file @
91341bcf
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
[% IF added_quip %]
[% IF added_quip %]
<p>
<p>
<font color="red">
<font color="red">
Your quip '<tt>[% added_quip %]</tt>' has been added.
Your quip '<tt>[% added_quip
FILTER html
%]</tt>' has been added.
</font>
</font>
</p>
</p>
[% END %]
[% END %]
...
...
template/default/prefs/account.tmpl
View file @
91341bcf
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
[% IF new_login_name %]
[% IF new_login_name %]
<tr>
<tr>
<th align="right">Pending email address:</th>
<th align="right">Pending email address:</th>
<td>[% new_login_name %]</td>
<td>[% new_login_name
FILTER html
%]</td>
</tr>
</tr>
<tr>
<tr>
<th align="right">Change request expires:</th>
<th align="right">Change request expires:</th>
...
...
template/default/prefs/userprefs.tmpl
View file @
91341bcf
...
@@ -34,10 +34,11 @@
...
@@ -34,10 +34,11 @@
# displaying anything, and can contain an optional custom
# displaying anything, and can contain an optional custom
# message if required (which Perl still evaluates as True).
# message if required (which Perl still evaluates as True).
#%]
#%]
[% filtered_login = login FILTER html %]
[% INCLUDE global/header
[% INCLUDE global/header
title = "User Preferences"
title = "User Preferences"
h2 = login
h2 =
filtered_
login
style = "td.selected_tab {
style = "td.selected_tab {
border-width: 2px 2px 0px;
border-width: 2px 2px 0px;
border-style: solid;
border-style: solid;
...
...
template/default/show/comments.tmpl
View file @
91341bcf
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<br>
<br>
<i>------- Additional Comment
<i>------- Additional Comment
<a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From
<a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From
<a href="mailto:[% comment.email
%]">[% comment.name
%]</a>
<a href="mailto:[% comment.email
FILTER html %]">[% comment.name FILTER html
%]</a>
[%+ comment.time %] -------
[%+ comment.time %] -------
</i>
</i>
[% END %]
[% END %]
...
...
template/default/show/multiple.tmpl
View file @
91341bcf
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<td colspan="2">
<td colspan="2">
[% IF Param('usetargetmilestone') %]
[% IF Param('usetargetmilestone') %]
<b>Target Milestone:</b>
<b>Target Milestone:</b>
[% bug.target_milestone %]
[% bug.target_milestone
FILTER html
%]
[% END %]
[% END %]
</td>
</td>
</tr>
</tr>
...
@@ -109,14 +109,14 @@
...
@@ -109,14 +109,14 @@
<tr>
<tr>
<td colspan="4">
<td colspan="4">
<b>Summary:</b> [% bug.short_desc %]
<b>Summary:</b> [% bug.short_desc
FILTER html
%]
</td>
</td>
</tr>
</tr>
[% IF use_keywords %]
[% IF use_keywords %]
<tr>
<tr>
<td colspan="4">
<td colspan="4">
<b>Keywords: </b> [% bug.keywords %]
<b>Keywords: </b> [% bug.keywords
FILTER html
%]
</td>
</td>
</tr>
</tr>
[% END %]
[% END %]
...
@@ -151,6 +151,6 @@
...
@@ -151,6 +151,6 @@
[% BLOCK cell %]
[% BLOCK cell %]
<td>
<td>
<b>[% attr.description%]:</b>
<b>[% attr.description%]:</b>
[% bug.${attr.name} %]
[% bug.${attr.name}
FILTER html
%]
</td>
</td>
[% END %]
[% END %]
template/default/show/show_bug.html.tmpl
View file @
91341bcf
...
@@ -19,11 +19,12 @@
...
@@ -19,11 +19,12 @@
# Contributor(s): Gervase Markham <gerv@gerv.net>
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
#%]
[% filtered_desc = bug.short_desc FILTER html %]
[% UNLESS header_done %]
[% UNLESS header_done %]
[% INCLUDE global/header
[% INCLUDE global/header
title = "Bug $bug.bug_id - $bug.short_desc"
title = "Bug $bug.bug_id - $bug.short_desc"
h1 = "Bugzilla Bug $bug.bug_id"
h1 = "Bugzilla Bug $bug.bug_id"
h2 =
bug.short
_desc
h2 =
filtered
_desc
extra = navigation_links()
extra = navigation_links()
%]
%]
[% END %]
[% END %]
...
...
template/default/token/confirmemail.html.tmpl
View file @
91341bcf
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</p>
</p>
<form method="post" action="token.cgi">
<form method="post" action="token.cgi">
<input type="hidden" name="t" value=[% token %]>
<input type="hidden" name="t" value=[% token
FILTER html
%]>
<input type="hidden" name="a" value="chgem">
<input type="hidden" name="a" value="chgem">
<table>
<table>
<tr>
<tr>
...
...
template/default/token/emailchangenew.txt.tmpl
View file @
91341bcf
...
@@ -27,10 +27,10 @@ for the [% oldemailaddress %] account to your address.
...
@@ -27,10 +27,10 @@ for the [% oldemailaddress %] account to your address.
To confirm the change, visit the following link:
To confirm the change, visit the following link:
[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token %]
[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token
FILTER html
%]
If you are not the person who made this request, or you wish to cancel
If you are not the person who made this request, or you wish to cancel
this request, visit the following link:
this request, visit the following link:
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token %]
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token
FILTER html
%]
template/default/token/emailchangeold.txt.tmpl
View file @
91341bcf
...
@@ -31,5 +31,5 @@ for your account to [% newemailaddress %].
...
@@ -31,5 +31,5 @@ for your account to [% newemailaddress %].
If you are not the person who made this request, or you wish to cancel
If you are not the person who made this request, or you wish to cancel
this request, visit the following link:
this request, visit the following link:
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token %]
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token
FILTER html
%]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment