зеркало из https://github.com/mozilla/pjs.git
Bug 133423 - Audit templates for FILTER usage
r=gerv, justdave
This commit is contained in:
Родитель
ec2a4acf7b
Коммит
db828a3fdd
|
@ -1,38 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Account Created"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<p>
|
|
||||||
A new account,
|
|
||||||
<tt>[% login %]</tt>,
|
|
||||||
has been created and a randomly-generated password has been e-mailed
|
|
||||||
to that address.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
When the e-mail arrives,
|
|
||||||
<a href="query.cgi?GoAheadAndLogIn=1">log in here</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,34 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Account Exists"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<form method="get" action="token.cgi">
|
|
||||||
<input type="hidden" name="a" value="reqpw" />
|
|
||||||
<input type="hidden" name="loginname" value="[% login %]" />
|
|
||||||
A Bugzilla account for <tt>[% login %]</tt> already exists. If you
|
|
||||||
are the account holder and have forgotten your password,
|
|
||||||
<input type="submit" value="submit a request to change it" />.
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,55 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header %]
|
|
||||||
|
|
||||||
<p>
|
|
||||||
To change your password, enter a new password twice:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form method="post" action="token.cgi">
|
|
||||||
<input type="hidden" name="t" value="[% token %]" />
|
|
||||||
<input type="hidden" name="a" value="chgpw" />
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th align="right">New Password:</th>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password" size="16" maxlength="16" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th align="right">New Password Again:</th>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="matchpassword" size="16" maxlength="16" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th align="right"> </th>
|
|
||||||
<td>
|
|
||||||
<input type="submit" value="Submit" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Changes Submitted"
|
|
||||||
style = "th { text-align: left; }"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<table border="1">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<h2>
|
|
||||||
<a title="[% description %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a>
|
|
||||||
to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
[% mailresults %]
|
|
||||||
|
|
||||||
[% IF contenttypemethod == 'autodetect' %]
|
|
||||||
<p>
|
|
||||||
<b>Note:</b> Bugzilla automatically detected the content type
|
|
||||||
<em>[% contenttype %]</em> for this attachment. If this is
|
|
||||||
incorrect, correct the value by
|
|
||||||
<a href="attachment.cgi?id=[% attachid %]&action=edit">editing the attachment</a>.
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<a href="show_bug.cgi?id=[% bugid %]">Go back to bug #[% bugid %]</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create Another Attachment to Bug #[% bugid %]</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,226 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[%# Define strings that will serve as the title and header of this page %]
|
|
||||||
[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %]
|
|
||||||
[% h1 = BLOCK %]Edit Attachment #[% attachid %] for <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a>[% END %]
|
|
||||||
[% h2 = BLOCK %][% bugsummary FILTER html %][% END %]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = title
|
|
||||||
h1 = h1
|
|
||||||
h2 = h2
|
|
||||||
style = "
|
|
||||||
th { text-align: right; vertical-align: top; }
|
|
||||||
td { text-align: left; vertical-align: top; }
|
|
||||||
td#info { text-align: right; vertical-align: top; }
|
|
||||||
td#actions { text-align: right; vertical-align: bottom; }
|
|
||||||
td#noview { text-align: left; vertical-align: center; }
|
|
||||||
"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<script type="application/x-javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
function editAsComment()
|
|
||||||
{
|
|
||||||
// Get the content of the document as a string.
|
|
||||||
var viewFrame = document.getElementById('viewFrame');
|
|
||||||
var aSerializer = new XMLSerializer();
|
|
||||||
var contentDocument = viewFrame.contentDocument;
|
|
||||||
var theContent = aSerializer.serializeToString(contentDocument);
|
|
||||||
|
|
||||||
// If this is a plaintext document, remove cruft that Mozilla adds
|
|
||||||
// because it treats it as an HTML document with a big PRE section.
|
|
||||||
// http://bugzilla.mozilla.org/show_bug.cgi?id=86012
|
|
||||||
var contentType = '[% contenttype %]';
|
|
||||||
if ( contentType == 'text/plain' )
|
|
||||||
{
|
|
||||||
theContent = theContent.replace( /^<html><head\/><body><pre>/ , "" );
|
|
||||||
theContent = theContent.replace( /<\/pre><\/body><\/html>$/ , "" );
|
|
||||||
theContent = theContent.replace( /</gi , "<" );
|
|
||||||
theContent = theContent.replace( />/gi , ">" );
|
|
||||||
theContent = theContent.replace( /&/gi , "&" );
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add mail-style quote indicators (>) to the beginning of each line.
|
|
||||||
// ".*\n" matches lines that end with a newline, while ".+" matches
|
|
||||||
// the rare situation in which the last line of a file does not end
|
|
||||||
// with a newline.
|
|
||||||
theContent = theContent.replace( /(.*\n|.+)/g , ">$1" );
|
|
||||||
|
|
||||||
hideElementById('viewFrame');
|
|
||||||
hideElementById('editButton');
|
|
||||||
hideElementById('smallCommentFrame');
|
|
||||||
|
|
||||||
showElementById('undoEditButton');
|
|
||||||
|
|
||||||
// Show the TEXTAREA that will contain the editable attachment
|
|
||||||
// and copy the content of the attachment into it.
|
|
||||||
showElementById('editFrame');
|
|
||||||
|
|
||||||
var editFrame = document.getElementById('editFrame');
|
|
||||||
editFrame.value = theContent;
|
|
||||||
editFrame.value += "\n\n";
|
|
||||||
}
|
|
||||||
function undoEditAsComment()
|
|
||||||
{
|
|
||||||
// Hide the "edit attachment as comment" TEXTAREA and the "undo" button.
|
|
||||||
hideElementById('undoEditButton');
|
|
||||||
hideElementById('editFrame');
|
|
||||||
|
|
||||||
// Show the "view attachment" IFRAME, the "redo" button that allows the user
|
|
||||||
// to go back to editing the attachment as a comment, and the small comment field.
|
|
||||||
showElementById('viewFrame');
|
|
||||||
showElementById('redoEditButton');
|
|
||||||
showElementById('smallCommentFrame');
|
|
||||||
|
|
||||||
}
|
|
||||||
function redoEditAsComment()
|
|
||||||
{
|
|
||||||
// Hide the "view attachment" IFRAME, the "redo" button that allows the user
|
|
||||||
// to go back to editing the attachment as a comment, and the small comment field.
|
|
||||||
hideElementById('viewFrame');
|
|
||||||
hideElementById('redoEditButton');
|
|
||||||
hideElementById('smallCommentFrame');
|
|
||||||
|
|
||||||
// Show the "edit attachment as comment" TEXTAREA and the "undo" button.
|
|
||||||
showElementById('undoEditButton');
|
|
||||||
showElementById('editFrame');
|
|
||||||
}
|
|
||||||
|
|
||||||
function hideElementById(id)
|
|
||||||
{
|
|
||||||
var elm = document.getElementById(id);
|
|
||||||
if (elm) {
|
|
||||||
elm.style.display = 'none';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function showElementById(id, val)
|
|
||||||
{
|
|
||||||
var elm = document.getElementById(id);
|
|
||||||
if (elm) {
|
|
||||||
if (!val) val = 'inline';
|
|
||||||
elm.style.display = val;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function normalizeComments()
|
|
||||||
{
|
|
||||||
// Remove the unused comment field from the document so its contents
|
|
||||||
// do not get transmitted back to the server.
|
|
||||||
|
|
||||||
var small = document.getElementById('smallCommentFrame');
|
|
||||||
var big = document.getElementById('editFrame');
|
|
||||||
if ( small.style.display == 'none' )
|
|
||||||
{
|
|
||||||
small.parentNode.removeChild(small);
|
|
||||||
}
|
|
||||||
if ( big.style.display == 'none' )
|
|
||||||
{
|
|
||||||
big.parentNode.removeChild(big);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<form method="post" action="attachment.cgi" onsubmit="normalizeComments();">
|
|
||||||
<input type="hidden" name="id" value="[% attachid %]">
|
|
||||||
<input type="hidden" name="action" value="update">
|
|
||||||
<input type="hidden" name="contenttypemethod" value="manual">
|
|
||||||
|
|
||||||
<table width="100%">
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td width="25%">
|
|
||||||
<small>
|
|
||||||
<b>Description:</b><br>
|
|
||||||
<textarea rows="3" cols="25" name="description" wrap="soft">[% description %]</textarea><br>
|
|
||||||
|
|
||||||
<b>MIME Type:</b><br>
|
|
||||||
<input type="text" size="20" name="contenttypeentry" value="[% contenttype %]"><br>
|
|
||||||
|
|
||||||
<b>Flags:</b><br>
|
|
||||||
<input type="checkbox" name="ispatch" value="1"[% " checked" IF ispatch %]>patch
|
|
||||||
<input type="checkbox" name="isobsolete" value="1"[% " checked" IF isobsolete %]>obsolete<br>
|
|
||||||
|
|
||||||
[% IF statusdefs.size %]
|
|
||||||
<b>Status:</b><br>
|
|
||||||
[% FOREACH def = statusdefs %]
|
|
||||||
<input type="checkbox" name="status" value="[% def.id %]"[% " checked" IF statuses.${def.id} %]>[% def.name %]<br>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<div id="smallCommentFrame">
|
|
||||||
<b>Comment (on the bug):</b><br>
|
|
||||||
<textarea name="comment" rows="5" cols="25" wrap="soft"></textarea><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<input type="submit" value="Submit">
|
|
||||||
|
|
||||||
</small>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
[% IF isviewable %]
|
|
||||||
<td width="75%">
|
|
||||||
<textarea id="editFrame" name="comment" style="height: 400px; width: 100%; display: none;" cols="80" wrap="soft"></textarea>
|
|
||||||
<iframe id="viewFrame" src="attachment.cgi?id=[% attachid %]&action=view" style="height: 400px; width: 100%;">
|
|
||||||
<b>You cannot view the attachment while editing it because your browser does not support IFRAMEs.
|
|
||||||
<a href="attachment.cgi?id=[% attachid %]&action=view">View the attachment on a separate page</a>.</b>
|
|
||||||
</iframe>
|
|
||||||
<script type="application/x-javascript" language="JavaScript">
|
|
||||||
<!--
|
|
||||||
if (typeof document.getElementById == "function") {
|
|
||||||
document.write('<button type="button" id="editButton" onclick="editAsComment();">Edit Attachment As Comment</button>');
|
|
||||||
document.write('<button type="button" id="undoEditButton" onclick="undoEditAsComment();" style="display: none;">Undo Edit As Comment</button>');
|
|
||||||
document.write('<button type="button" id="redoEditButton" onclick="redoEditAsComment();" style="display: none;">Redo Edit As Comment</button>');
|
|
||||||
}
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
</td>
|
|
||||||
[% ELSE %]
|
|
||||||
<td id="noview" width="50%">
|
|
||||||
<p><b>
|
|
||||||
Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*.
|
|
||||||
<a href="attachment.cgi?id=[% attachid %]&action=view">Download the attachment instead</a>.
|
|
||||||
</b></p>
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
Attachments on this Bug:
|
|
||||||
[% FOREACH a = attachments %]
|
|
||||||
[% IF a == attachid %]
|
|
||||||
#[% a %]
|
|
||||||
[% ELSE %]
|
|
||||||
<a href="attachment.cgi?id=[% a %]&action=edit">#[% a %]</a>
|
|
||||||
[% END %]
|
|
||||||
[% "|" UNLESS loop.last() %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -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 @@
|
||||||
<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>
|
||||||
|
|
|
@ -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 = bugsummary
|
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 @@
|
||||||
<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>
|
||||||
|
|
|
@ -1,77 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Create Attachment Status"
|
|
||||||
style = "
|
|
||||||
th { text-align: right; vertical-align: top; }
|
|
||||||
td { text-align: left; vertical-align: top; }
|
|
||||||
"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<form method="post" action="editattachstatuses.cgi">
|
|
||||||
<input type="hidden" name="action" value="insert">
|
|
||||||
<input type="hidden" name="id" value="[% id %]">
|
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="4" border="0">
|
|
||||||
<tr>
|
|
||||||
<th>Name:</th>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="name" size="50" maxlength="50">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Description:</th>
|
|
||||||
<td>
|
|
||||||
<textarea name="desc" rows="4" cols="50"></textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Sort Key:</th>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="sortkey" size="5" maxlength="5">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Product:</th>
|
|
||||||
<td>
|
|
||||||
<select name="product">
|
|
||||||
[% FOREACH item = products %]
|
|
||||||
<option value="[% item %]">[% item %]</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<td>
|
|
||||||
<input type="submit" value="Add">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,52 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
# Jeff Hedlund <jeff.hedlund@matrixsi.com>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Confirm Delete of Attachment Status '$name'"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<p>
|
|
||||||
[% attachcount %] attachments have the status '[% name %]'. If you delete
|
|
||||||
it, those attachments will lose this status.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td colspan=2>
|
|
||||||
Do you really want to delete this status?
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a href="editattachstatuses.cgi?action=delete&id=[% id %]">
|
|
||||||
Yes, delete
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
<td align="right">
|
|
||||||
<a href="editattachstatuses.cgi">
|
|
||||||
No, don't delete
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,73 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Edit Attachment Status"
|
|
||||||
style = "
|
|
||||||
th { text-align: right; vertical-align: top; }
|
|
||||||
td { text-align: left; vertical-align: top; }
|
|
||||||
"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<form method="post" action="editattachstatuses.cgi">
|
|
||||||
<input type="hidden" name="action" value="update">
|
|
||||||
<input type="hidden" name="id" value="[% id %]">
|
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="4" border="0">
|
|
||||||
<tr>
|
|
||||||
<th>Name:</th>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="name" value="[% name %]" size="50" maxlength="50">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Description:</th>
|
|
||||||
<td>
|
|
||||||
<textarea name="desc" rows="4" cols="50">[% desc %]</textarea>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Sort Key:</th>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="sortkey" value="[% sortkey %]" size="5" maxlength="5">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Product:</th>
|
|
||||||
<td>
|
|
||||||
[% product %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th></th>
|
|
||||||
<td>
|
|
||||||
<input type="submit" value="Update">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,89 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Myk Melez <myk@mozilla.org>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = 'Administer Attachment Statuses'
|
|
||||||
message = message
|
|
||||||
style = "
|
|
||||||
th { text-align: left; }
|
|
||||||
"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="4" border="1">
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Description</th>
|
|
||||||
<th>Sort Key</th>
|
|
||||||
<th>Product</th>
|
|
||||||
<th>Action(s)</th>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[% FOREACH statusdef = statusdefs %]
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>[% statusdef.name FILTER html %]</td>
|
|
||||||
<td>[% statusdef.description FILTER html %]</td>
|
|
||||||
<td>[% statusdef.sortkey %]</td>
|
|
||||||
<td>[% statusdef.product %]</td>
|
|
||||||
<td>
|
|
||||||
<a href="editattachstatuses.cgi?action=edit&id=[% statusdef.id %]">
|
|
||||||
Edit</a>
|
|
||||||
|
|
|
||||||
<a href="editattachstatuses.cgi?action=confirmdelete&id=[% statusdef.id %]"
|
|
||||||
onclick="return confirmDelete([% statusdef.attachcount %],
|
|
||||||
'[% statusdef.name FILTER js %]',
|
|
||||||
[% statusdef.id %]);">
|
|
||||||
Delete</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="4"></td>
|
|
||||||
<td>
|
|
||||||
<a href="editattachstatuses.cgi?action=create">Create</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
|
||||||
<script language="JavaScript">
|
|
||||||
function confirmDelete(attachcount, name, id)
|
|
||||||
{
|
|
||||||
if (attachcount > 0) {
|
|
||||||
msg = attachcount + ' attachments have the status ' +
|
|
||||||
name + '. If you delete it, those attachments ' +
|
|
||||||
'will lose this status. Do you really want to ' +
|
|
||||||
'delete this status?';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
msg = 'Are you sure you want to delete attachment status ' +
|
|
||||||
name + '?';
|
|
||||||
}
|
|
||||||
if (confirm(msg)) {
|
|
||||||
location.href = "editattachstatuses.cgi?action=delete&id=" + id;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 @@
|
||||||
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 />
|
||||||
|
|
||||||
|
|
|
@ -1,58 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[% DEFAULT
|
|
||||||
title = ""
|
|
||||||
h1 = title
|
|
||||||
h2 = ""
|
|
||||||
extra = ""
|
|
||||||
jscript = ""
|
|
||||||
style = ""
|
|
||||||
message = ""
|
|
||||||
%]
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>[% title %]</title>
|
|
||||||
|
|
||||||
[% Param('headerhtml') %]
|
|
||||||
|
|
||||||
[% jscript %]
|
|
||||||
|
|
||||||
[% IF style %]
|
|
||||||
<style type="text/css">
|
|
||||||
[% style %]
|
|
||||||
</style>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF style_url %]
|
|
||||||
<link href="[% style_url %]" rel="stylesheet" type="text/css">
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body [% Param('bodyhtml') %][% " " %][% extra %]>
|
|
||||||
|
|
||||||
[% PerformSubsts(Param('bannerhtml')) %]
|
|
||||||
|
|
||||||
[% IF h1 || h2 %]
|
|
||||||
<table border="0" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td valign="top" align="left">
|
|
||||||
<table border="0" cellpadding="0" cellspacing="2">
|
|
||||||
<tr>
|
|
||||||
<td valign="top" align="left" nowrap>
|
|
||||||
<font size="+1"><b>[% h1 %]</b></font>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td valign="middle"> </td>
|
|
||||||
<td valign="middle" align="left">[% h2 %]</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF message %]
|
|
||||||
<table width="100%" cellspacing="0" cellpadding="5" border="1"><tr><td>
|
|
||||||
<font color="green">[% message %]</font>
|
|
||||||
</td></tr></table>
|
|
||||||
[% END %]
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Bradley Baetz <bbaetz@student.usyd.edu.au>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Components for $product"
|
|
||||||
h2 = product %]
|
|
||||||
|
|
||||||
[% IF Param("useqacontact") %]
|
|
||||||
[% numcols = 3 %]
|
|
||||||
[% ELSE %]
|
|
||||||
[% numcols = 2 %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF components.size == 0 %]
|
|
||||||
This product has no components.
|
|
||||||
[% ELSE %]
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th align="left">Component</th>
|
|
||||||
<th align="left">Default Owner</th>
|
|
||||||
[% IF Param("useqacontact") %]
|
|
||||||
<th align="left">Default QA Contact</th>
|
|
||||||
[% END %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[% FOREACH comp = components.sort %]
|
|
||||||
[% INCLUDE describe_comp %]
|
|
||||||
[% END %]
|
|
||||||
<tr>
|
|
||||||
<td colspan='[% numcols %]'>
|
|
||||||
<hr>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
||||||
|
|
||||||
[%############################################################################%]
|
|
||||||
[%# BLOCK for components %]
|
|
||||||
[%############################################################################%]
|
|
||||||
|
|
||||||
[% BLOCK describe_comp %]
|
|
||||||
<tr>
|
|
||||||
<td colspan="[% numcols %]">
|
|
||||||
<hr>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td rowspan='2'>
|
|
||||||
<a name="[% comp.name FILTER html %]">[% comp.name FILTER html %]</a>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<a href="mailto:[% comp.initialowner %][% Param('emailsuffix') %]">
|
|
||||||
[% comp.initialowner %]</a>
|
|
||||||
</td>
|
|
||||||
[% IF Param("useqacontact") %]
|
|
||||||
<td>
|
|
||||||
<a href="mailto:[% comp.initialqacontact %][% Param('emailsuffix') %]">
|
|
||||||
[% comp.initialqacontact %]</a>
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="[% numcols - 1 %]">
|
|
||||||
[% comp.description %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
|
@ -1,65 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Bugzilla Quip System"
|
|
||||||
h1 = "Add your own clever headline"
|
|
||||||
%]
|
|
||||||
|
|
||||||
[% IF added_quip %]
|
|
||||||
<p>
|
|
||||||
<font color="red">
|
|
||||||
Your quip '<tt>[% added_quip %]</tt>' has been added.
|
|
||||||
</font>
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Bugzilla will pick a random quip for the headline on each bug list, and
|
|
||||||
you can extend the quip list. Type in something clever or funny or boring
|
|
||||||
(but not obscene or offensive, please) and bonk on the button.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form method="post" action="quips.cgi">
|
|
||||||
<input type="hidden" name="action" value="add" />
|
|
||||||
<input size="80" name="quip" />
|
|
||||||
<p>
|
|
||||||
<input type="submit" value="Add This Quip" />
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% IF show_quips %]
|
|
||||||
<h2>
|
|
||||||
Existing quips:
|
|
||||||
</h2>
|
|
||||||
<ul>
|
|
||||||
[% FOREACH quip = quips %]
|
|
||||||
<li>[% quip %]</li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
[% ELSE %]
|
|
||||||
<p>
|
|
||||||
Those who like their wisdom in large doses can
|
|
||||||
<a href="quips.cgi?action=show">view the whole quip list</a>.
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,112 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[%# INTERFACE:
|
|
||||||
# login: string. The user's Bugzilla login email address.
|
|
||||||
# tabs: List of hashes. May not be empty. Each hash has three members:
|
|
||||||
# name: string. Name of the tab (used internally.)
|
|
||||||
# description: string. Description of the tab (used in tab title.)
|
|
||||||
# saveable: boolean. True if tab has a form which can be submitted.
|
|
||||||
# True if user is not receiving self-generated mail.
|
|
||||||
# Note: For each tab name, a template "prefs/${tab.name}.tmpl" must exist,
|
|
||||||
# and its interface must be fulfilled.
|
|
||||||
# current_tab: A direct reference to one of the hashes in the tabs list.
|
|
||||||
# This tab will be displayed.
|
|
||||||
# changes_saved: boolean/string. True if the CGI processed form data before
|
|
||||||
# displaying anything, and can contain an optional custom
|
|
||||||
# message if required (which Perl still evaluates as True).
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "User Preferences"
|
|
||||||
h2 = login
|
|
||||||
style = "td.selected_tab {
|
|
||||||
border-width: 2px 2px 0px;
|
|
||||||
border-style: solid;
|
|
||||||
}
|
|
||||||
td.unselected_tab, td.spacer {
|
|
||||||
border-width: 0px 0px 2px 0px;
|
|
||||||
border-style: solid;
|
|
||||||
}"
|
|
||||||
%]
|
|
||||||
|
|
||||||
<center>
|
|
||||||
<table cellspacing="0" cellpadding="10" border="0" width="100%">
|
|
||||||
<tr>
|
|
||||||
<td class="spacer"> </td>
|
|
||||||
|
|
||||||
[% FOREACH tab = tabs %]
|
|
||||||
[% IF tab.name == current_tab.name %]
|
|
||||||
<td align="center" bgcolor="lightblue" class="selected_tab">
|
|
||||||
[% tab.description %]
|
|
||||||
</td>
|
|
||||||
[% ELSE %]
|
|
||||||
<td align="center" bgcolor="#BBBBEE" class="unselected_tab">
|
|
||||||
<a HREF="userprefs.cgi?tab=[% tab.name %]">[% tab.description %]</a>
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<td class="spacer"> </td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</center>
|
|
||||||
|
|
||||||
[% IF changes_saved %]
|
|
||||||
<p>
|
|
||||||
<font color="red">
|
|
||||||
The changes to your
|
|
||||||
[% current_tab.description FILTER lower %] have been saved.
|
|
||||||
</font>
|
|
||||||
</p>
|
|
||||||
[% IF changes_saved != 1 %]
|
|
||||||
<p>
|
|
||||||
[% changes_saved %]
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<h3>[% current_tab.description %]</h3>
|
|
||||||
|
|
||||||
<form method="post">
|
|
||||||
<input type="hidden" name="tab" value="[% current_tab.name %]">
|
|
||||||
|
|
||||||
[% INCLUDE "prefs/${current_tab.name}.tmpl" IF current_tab.name.defined %]
|
|
||||||
|
|
||||||
[% IF current_tab.saveable %]
|
|
||||||
<input type="hidden" name="dosave" value="1">
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td width="150"></td>
|
|
||||||
<td>
|
|
||||||
<input type="submit" value="Submit Changes">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 %]
|
||||||
|
|
|
@ -1,156 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): Terry Weissman <terry@mozilla.org>
|
|
||||||
# Gervase Markham <gerv@gerv.net>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Full Text Bug Listing"
|
|
||||||
%]
|
|
||||||
|
|
||||||
[% IF bugs.first %]
|
|
||||||
[% FOREACH bug = bugs %]
|
|
||||||
[% PROCESS bug_display %]
|
|
||||||
[% END %]
|
|
||||||
[% ELSE %]
|
|
||||||
<p>
|
|
||||||
You'd have more luck if you gave me some bug numbers.
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
||||||
|
|
||||||
|
|
||||||
[%###########################################################################%]
|
|
||||||
[%# Block for an individual bug #%]
|
|
||||||
[%###########################################################################%]
|
|
||||||
|
|
||||||
[% BLOCK bug_display %]
|
|
||||||
<img src="1x1.gif" width="1" height="80" align="left">
|
|
||||||
<div align="center">
|
|
||||||
<b>
|
|
||||||
<font ="+3">Bug [% bug.bug_id %] - [% bug.short_desc FILTER html %]</font>
|
|
||||||
</b>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table width="100%">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<b>Bug#:</b>
|
|
||||||
<a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
|
|
||||||
</td>
|
|
||||||
[% PROCESS cell attr = { description => "Product",
|
|
||||||
name => "product" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Version",
|
|
||||||
name => "version" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Platform",
|
|
||||||
name => "rep_platform" } %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
[% PROCESS cell attr = { description => "OS/Version",
|
|
||||||
name => "op_sys" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Status",
|
|
||||||
name => "bug_status" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Severity",
|
|
||||||
name => "bug_severity" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Priority",
|
|
||||||
name => "priority" } %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
[% PROCESS cell attr = { description => "Resolution",
|
|
||||||
name => "resolution" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Assigned To",
|
|
||||||
name => "assigned_to" } %]
|
|
||||||
[% PROCESS cell attr = { description => "Reported By",
|
|
||||||
name => "reporter" } %]
|
|
||||||
[% IF Param('useqacontact') %]
|
|
||||||
[% PROCESS cell attr = { description => "QA Contact",
|
|
||||||
name => "qa_contact" } %]
|
|
||||||
[% END %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="2">
|
|
||||||
<b>Component:</b>
|
|
||||||
[% bug.component %]
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td colspan="2">
|
|
||||||
[% IF Param('usetargetmilestone') %]
|
|
||||||
<b>Target Milestone:</b>
|
|
||||||
[% bug.target_milestone %]
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<b>URL:</b>
|
|
||||||
<A HREF="[% bug.bug_file_loc %]">[% bug.bug_file_loc FILTER html %]</a>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<b>Summary:</b> [% bug.short_desc %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[% IF use_keywords %]
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<b>Keywords: </b> [% bug.keywords %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF Param("usestatuswhiteboard") %]
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<b>Status Whiteboard:</b>
|
|
||||||
[% bug.status_whiteboard FILTER html %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
<b>Description:</b>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
[% PROCESS show/comments.tmpl
|
|
||||||
comments = bug.comments %]
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
|
|
||||||
[%###########################################################################%]
|
|
||||||
[%# Block for standard table cells #%]
|
|
||||||
[%###########################################################################%]
|
|
||||||
|
|
||||||
[% BLOCK cell %]
|
|
||||||
<td>
|
|
||||||
<b>[% attr.description%]:</b>
|
|
||||||
[% bug.${attr.name} %]
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
|
@ -1,539 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% UNLESS header_done %]
|
|
||||||
[% INCLUDE global/header
|
|
||||||
title = "Bug $bug.bug_id - $bug.short_desc"
|
|
||||||
h1 = "Bugzilla Bug $bug.bug_id"
|
|
||||||
h2 = bug.short_desc
|
|
||||||
extra = navigation_links()
|
|
||||||
%]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% PROCESS show/navigate.html.tmpl %]
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<form name="changeform" method="post" action="process_bug.cgi">
|
|
||||||
|
|
||||||
<input type="hidden" name="delta_ts" value="[% bug.delta_ts %]">
|
|
||||||
<input type="hidden" name="longdesclength" value="[% bug.longdesclength %]">
|
|
||||||
<input type="hidden" name="id" value="[% bug.bug_id %]">
|
|
||||||
|
|
||||||
[%# *** Platform Reporter Product OS AddCC *** %]
|
|
||||||
|
|
||||||
<table cellspacing="1" cellpadding="1" border="0">
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>Bug#:</b>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<a href="[% Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]">
|
|
||||||
[% bug.bug_id %]</a>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td> </td>
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b>Platform:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname = "rep_platform" %]
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b>Reporter:</b>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
[% bug.reporter FILTER html %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>Product:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname => "product" %]
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b>OS:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname => "op_sys" %]
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b>Add CC:</b>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input name="newcc" size="30" value="">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[%# *** Component Version CC Priority Severity AssignedTo Milestone *** %]
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="describecomponents.cgi?product=[% bug.product FILTER uri %]">
|
|
||||||
Component</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<select name="component">
|
|
||||||
[% FOREACH x = component_ %]
|
|
||||||
<option value="[% x FILTER html %]"
|
|
||||||
[% " selected" IF x == bug.component %]>[% x FILTER html %]
|
|
||||||
</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td> </td>
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b>Version:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname => "version" %]
|
|
||||||
|
|
||||||
<td rowspan="4" align="right" valign="top">
|
|
||||||
<b>CC:</b>
|
|
||||||
</td>
|
|
||||||
<td rowspan="4" valign="top">
|
|
||||||
[% IF bug.cc %]
|
|
||||||
<select name="cc" multiple size="5">
|
|
||||||
[% FOREACH c = bug.cc %]
|
|
||||||
<option value="[% c FILTER html %]">[% c FILTER html %]</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
<br>
|
|
||||||
<input type="checkbox" name="removecc">Remove selected CCs
|
|
||||||
<br>
|
|
||||||
[% ELSE %]
|
|
||||||
<input type="hidden" name="cc" value="">
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="bug_status.html">Status</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td>[% bug.bug_status FILTER html %]</td>
|
|
||||||
<td> </td>
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b><a href="bug_status.html#priority">Priority</a>:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname => "priority" %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="bug_status.html">Resolution</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td>[% bug.resolution FILTER html %]</td>
|
|
||||||
<td> </td>
|
|
||||||
|
|
||||||
<td align="right">
|
|
||||||
<b><a href="bug_status.html#severity">Severity</a>:</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname = "bug_severity" %]
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="bug_status.html#assigned_to">Assigned To</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td>[% bug.assigned_to FILTER html %]</td>
|
|
||||||
<td> </td>
|
|
||||||
|
|
||||||
[% IF Param("usetargetmilestone") && bug.target_milestone %]
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="[% bug.milestoneurl FILTER uri %]">Target Milestone</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
[% PROCESS select selname = "target_milestone" %]
|
|
||||||
[% ELSE %]
|
|
||||||
<td colspan="3"> </td>
|
|
||||||
[% END %]
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[%# *** QAContact URL Summary Whiteboard Keywords *** %]
|
|
||||||
|
|
||||||
[% IF Param('useqacontact') %]
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>QA Contact:</b>
|
|
||||||
</td>
|
|
||||||
<td colspan="7">
|
|
||||||
<input name="qa_contact"
|
|
||||||
value="[% bug.qa_contact FILTER html %]" size="60">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
[% IF bug.bug_file_loc %]
|
|
||||||
<a href="[% bug.bug_file_loc FILTER uri %]">URL:</a>
|
|
||||||
[% ELSE %]
|
|
||||||
URL:
|
|
||||||
[% END %]
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td colspan="7">
|
|
||||||
<input name="bug_file_loc"
|
|
||||||
value="[% bug.bug_file_loc FILTER html %]" size="60">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>Summary:</b>
|
|
||||||
</td>
|
|
||||||
<td colspan="7">
|
|
||||||
<input name="short_desc"
|
|
||||||
value="[% bug.short_desc FILTER html %]" size="60">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
[% IF Param('usestatuswhiteboard') %]
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>Status Whiteboard:</b>
|
|
||||||
</td>
|
|
||||||
<td colspan="7">
|
|
||||||
<input name="status_whiteboard"
|
|
||||||
value="[% bug.status_whiteboard FILTER html %]" size="60">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF use_keywords %]
|
|
||||||
<tr>
|
|
||||||
<td align="right">
|
|
||||||
<b>
|
|
||||||
<a href="describekeywords.cgi">Keywords:</a>
|
|
||||||
</b>
|
|
||||||
<td colspan="7">
|
|
||||||
<input name="keywords"
|
|
||||||
value="[% bug.keywords.join(', ') FILTER html %]" size="60">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
[% END %]
|
|
||||||
</table>
|
|
||||||
|
|
||||||
[%# *** Attachments *** %]
|
|
||||||
|
|
||||||
[% INCLUDE attachment/list.atml
|
|
||||||
attachments = bug.attachments
|
|
||||||
bugid = bug.bug_id %]
|
|
||||||
|
|
||||||
[%# *** Dependencies Votes *** %]
|
|
||||||
|
|
||||||
[% IF Param('usedependencies') %]
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
[% PROCESS dependencies
|
|
||||||
dep = { title => "depends on", fieldname => "dependson" } %]
|
|
||||||
<td rowspan="2">
|
|
||||||
<a href="showdependencytree.cgi?id=[% bug.bug_id %]">Show
|
|
||||||
dependency tree</a>
|
|
||||||
|
|
||||||
[% IF Param('webdotbase') %]
|
|
||||||
<br>
|
|
||||||
<a href="showdependencygraph.cgi?id=[% bug.bug_id %]">Show
|
|
||||||
dependency graph</a>
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
[% PROCESS dependencies
|
|
||||||
dep = { title => "blocks", fieldname => "blocked" } %]
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF use_votes %]
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>
|
|
||||||
<a href="votehelp.html">Votes:</a>
|
|
||||||
</th>
|
|
||||||
<td>
|
|
||||||
[% bug.votes %]
|
|
||||||
<a href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]">Show
|
|
||||||
votes for this bug</a>
|
|
||||||
<a href="votes.cgi?action=show_user&bug_id=[% bug.bug_id %]">Vote
|
|
||||||
for this bug</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[%# *** Comments Groups *** %]
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<b>Additional Comments:</b>
|
|
||||||
<br>
|
|
||||||
<textarea wrap="hard" name="comment" rows="10" cols="80"
|
|
||||||
accesskey="c"></textarea>
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[% IF groups.size > 0 %]
|
|
||||||
<br>
|
|
||||||
<b>Only users in the selected groups can view this bug:</b>
|
|
||||||
<br>
|
|
||||||
<font size="-1">(Unchecking all boxes makes this a public bug.)</font>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[% FOREACH group = groups %]
|
|
||||||
|
|
||||||
<input type="checkbox" name="bit-[% group.bit %]" value="1"
|
|
||||||
[% " checked='checked'" IF group.ison %]
|
|
||||||
[% " disabled='disabled'" IF NOT group.ingroup %]>
|
|
||||||
[% group.description %]
|
|
||||||
<br>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF NOT user.inallgroups %]
|
|
||||||
<b>
|
|
||||||
Only members of a group can change the visibility of a bug for
|
|
||||||
that group
|
|
||||||
</b>
|
|
||||||
<br>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF bug.inagroup %]
|
|
||||||
<p>
|
|
||||||
<b>But users in the roles selected below can always view this bug:</b>
|
|
||||||
<br>
|
|
||||||
<small>
|
|
||||||
(The assignee
|
|
||||||
[% IF (Param('useqacontact')) %]
|
|
||||||
and QA contact
|
|
||||||
[% END %]
|
|
||||||
can always see a bug, and this section does not take effect unless
|
|
||||||
the bug is restricted to at least one group.)
|
|
||||||
</small>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<input type="checkbox" name="reporter_accessible" value="1"
|
|
||||||
[% " checked" IF bug.reporter_accessible %]>Reporter
|
|
||||||
<input type="checkbox" name="cclist_accessible" value="1"
|
|
||||||
[% " checked" IF bug.cclist_accessible %]>CC List
|
|
||||||
</p>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[%# *** Knob *** %]
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<input type="radio" name="knob" value="none" checked>
|
|
||||||
Leave as <b>[% bug.bug_status FILTER html %]
|
|
||||||
[% bug.resolution FILTER html %]</b>
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[% knum = 1 %]
|
|
||||||
|
|
||||||
[% IF bug.bug_status == "UNCONFIRMED" &&
|
|
||||||
(user.canedit || user.canconfirm) %]
|
|
||||||
<input type="radio" name="knob" value="confirm">
|
|
||||||
Confirm bug (change status to <b>NEW</b>)
|
|
||||||
<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF user.canedit %]
|
|
||||||
[% IF bug.isopened %]
|
|
||||||
[% IF bug.bug_status != "ASSIGNED" %]
|
|
||||||
<input type="radio" name="knob" value="accept">
|
|
||||||
Accept bug (
|
|
||||||
[% "confirm bug, " IF bug.isunconfirmed %]change
|
|
||||||
status to <b>ASSIGNED</b>)
|
|
||||||
<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF bug.resolution %]
|
|
||||||
<input type="radio" name="knob" value="clearresolution">
|
|
||||||
Clear the resolution (remove the current resolution of
|
|
||||||
<b>[% bug.resolution FILTER html %]</b>)<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<input type="radio" name="knob" value="resolve">
|
|
||||||
Resolve bug, changing <a href="bug_status.html">resolution</a> to
|
|
||||||
<select name="resolution"
|
|
||||||
onchange="document.changeform.knob[[% knum %]].checked=true">
|
|
||||||
[% FOREACH r = resolution %]
|
|
||||||
<option value="[% r FILTER html %]">[% r FILTER html %]</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
|
|
||||||
<input type="radio" name="knob" value="duplicate">
|
|
||||||
Resolve bug, mark it as duplicate of bug #
|
|
||||||
<input name="dup_id" size="6"
|
|
||||||
onchange="if (this.value != '')
|
|
||||||
{document.changeform.knob[[% knum %]].checked=true}">
|
|
||||||
<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
|
|
||||||
<input type="radio" name="knob" value="reassign">
|
|
||||||
<a href="bug_status.html#assigned_to">Reassign</A> bug to
|
|
||||||
<input name="assigned_to" size="32"
|
|
||||||
onchange="if ((this.value != '[% bug.assigned_to_email FILTER js %]') &&
|
|
||||||
(this.value != '')) {
|
|
||||||
document.changeform.knob[[% knum %]].checked=true;
|
|
||||||
}"
|
|
||||||
value="[% bug.assigned_to_email FILTER html %]">
|
|
||||||
<br>
|
|
||||||
[% IF bug.isunconfirmed %]
|
|
||||||
<input type="checkbox" name="andconfirm">
|
|
||||||
and confirm bug (change status to <b>NEW</b>)
|
|
||||||
<br>
|
|
||||||
[% END %]
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
|
|
||||||
<input type="radio" name="knob" value="reassignbycomponent">
|
|
||||||
Reassign bug to owner
|
|
||||||
[% "and QA contact" IF useqacontact %]
|
|
||||||
of selected component
|
|
||||||
<br>
|
|
||||||
[% IF bug.isunconfirmed %]
|
|
||||||
<input type="checkbox" name="andconfirm">
|
|
||||||
and confirm bug (change status to <b>NEW</b>)
|
|
||||||
<br>
|
|
||||||
[% END %]
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% ELSE %]
|
|
||||||
[% IF bug.resolution != "MOVED" ||
|
|
||||||
(bug.resolution == "MOVED" && user.canmove) %]
|
|
||||||
<input type="radio" name="knob" value="reopen"> Reopen bug
|
|
||||||
<br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
[% IF bug.bug_status == "RESOLVED" %]
|
|
||||||
<input type="radio" name="knob" value="verify">
|
|
||||||
Mark bug as <b>VERIFIED</b><br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
[% IF bug.bug_status != "CLOSED" %]
|
|
||||||
<input type="radio" name="knob" value="close">
|
|
||||||
Mark bug as <b>CLOSED</b><br>
|
|
||||||
[% knum = knum + 1 %]
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
<input type="submit" value="Commit">
|
|
||||||
<input type="hidden" name="form_name" value="process_bug">
|
|
||||||
<p>
|
|
||||||
<font size="+1">
|
|
||||||
<b>
|
|
||||||
<a href="show_activity.cgi?id=[% bug.bug_id %]">View Bug Activity</a>
|
|
||||||
|
|
|
||||||
<a href="long_list.cgi?buglist=[% bug.bug_id %]">Format For Printing</a>
|
|
||||||
</b>
|
|
||||||
</font>
|
|
||||||
|
|
||||||
[% IF user.canmove %]
|
|
||||||
<font size="+1"><b> | </b></font>
|
|
||||||
<input type="submit" name="action"
|
|
||||||
value="[% Param("move-button-text") %]">
|
|
||||||
[% END %]
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[%# *** Additional Comments *** %]
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td align="left">
|
|
||||||
<b>
|
|
||||||
<a name="c0" href="#c0">Description</a>:
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
<td align="right" width="100%">
|
|
||||||
Opened: [% bug.creation_ts %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
[% PROCESS show/comments.tmpl
|
|
||||||
comments = bug.comments
|
|
||||||
%]
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
[% PROCESS show/navigate.html.tmpl %]
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
||||||
|
|
||||||
|
|
||||||
[%############################################################################%]
|
|
||||||
[%# Block for dependencies #%]
|
|
||||||
[%############################################################################%]
|
|
||||||
|
|
||||||
[% BLOCK dependencies %]
|
|
||||||
<th align="right">Bug [% bug.bug_id %] [%+ dep.title %]:</th>
|
|
||||||
<td>
|
|
||||||
[% FOREACH depbug = bug.${dep.fieldname} %]
|
|
||||||
[% GetBugLink(depbug, depbug) %][% " " %]
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input name="[% dep.fieldname %]"
|
|
||||||
value="[% bug.${dep.fieldname}.join(', ') %]">
|
|
||||||
</td>
|
|
||||||
[% END %]
|
|
||||||
|
|
||||||
|
|
||||||
[%############################################################################%]
|
|
||||||
[%# Block for SELECT fields #%]
|
|
||||||
[%############################################################################%]
|
|
||||||
|
|
||||||
[% BLOCK select %]
|
|
||||||
<td>
|
|
||||||
<select name="[% selname %]">
|
|
||||||
[% FOREACH x = ${selname} %]
|
|
||||||
<option value="[% x FILTER html %]"
|
|
||||||
[% " selected" IF x == bug.${selname} %]>[% x FILTER html %]
|
|
||||||
</option>
|
|
||||||
[% END %]
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
<td> </td>
|
|
||||||
[% END %]
|
|
|
@ -1,44 +0,0 @@
|
||||||
<!-- 1.0@bugzilla.org -->
|
|
||||||
[%# 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): John Vandenberg <zeroj@null.net>
|
|
||||||
#%]
|
|
||||||
|
|
||||||
[% INCLUDE global/header %]
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
To change your email address, please enter the old email address:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form method="post" action="token.cgi">
|
|
||||||
<input type="hidden" name="t" value=[% token %]>
|
|
||||||
<input type="hidden" name="a" value="chgem">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th align="right">Old Email Address:</th>
|
|
||||||
<td><input type="input" name="email" size="36"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th align="right"> </th>
|
|
||||||
<td><input type="submit" value="Submit"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
[% INCLUDE global/footer %]
|
|
|
@ -1,36 +0,0 @@
|
||||||
[%# 1.0@bugzilla.org %]
|
|
||||||
[%# 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): John Vandenberg <zeroj@null.net>
|
|
||||||
#%]
|
|
||||||
From: bugzilla-admin-daemon
|
|
||||||
To: [% emailaddress %]
|
|
||||||
Subject: Bugzilla Change Email Address Request
|
|
||||||
|
|
||||||
Bugzilla has received a request to change the email address
|
|
||||||
for the [% oldemailaddress %] account to your address.
|
|
||||||
|
|
||||||
To confirm the change, visit the following link:
|
|
||||||
|
|
||||||
[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token %]
|
|
||||||
|
|
||||||
If you are not the person who made this request, or you wish to cancel
|
|
||||||
this request, visit the following link:
|
|
||||||
|
|
||||||
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token %]
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
[%# 1.0@bugzilla.org %]
|
|
||||||
[%# 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): John Vandenberg <zeroj@null.net>
|
|
||||||
#%]
|
|
||||||
From: bugzilla-admin-daemon
|
|
||||||
To: [% emailaddress %]
|
|
||||||
Subject: Bugzilla Change Email Address Request
|
|
||||||
Importance: High
|
|
||||||
X-MSMail-Priority: High
|
|
||||||
X-Priority: 1
|
|
||||||
|
|
||||||
Bugzilla has received a request to change the email address
|
|
||||||
for your account to [% newemailaddress %].
|
|
||||||
|
|
||||||
If you are not the person who made this request, or you wish to cancel
|
|
||||||
this request, visit the following link:
|
|
||||||
|
|
||||||
[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token %]
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче