зеркало из https://github.com/mozilla/pjs.git
field values did not have html filtered
This commit is contained in:
Родитель
36e2d352e5
Коммит
69c59d9747
|
@ -48,7 +48,7 @@ delete rights to the <b>Testers</b> group.
|
|||
<th>Admin</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input name="userregexp" value="[% plan.tester_regexp FILTER none %]" size="70"><br></td>
|
||||
<td><input name="userregexp" value="[% plan.tester_regexp FILTER html %]" size="70"><br></td>
|
||||
<td align="center"><input type="checkbox" name="pr" [% 'checked="checked"' IF plan.tester_regexp_permissions.read %] value="1"></td>
|
||||
<td align="center"><input type="checkbox" name="pw" [% 'checked="checked"' IF plan.tester_regexp_permissions.write %] value="1"></td>
|
||||
<td align="center"><input type="checkbox" name="pd" [% 'checked="checked"' IF plan.tester_regexp_permissions.delete %] value="1"></td>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
<form method="POST" action="tr_admin.cgi">
|
||||
<input type="hidden" name="item" value="plan_type" />
|
||||
<input type="hidden" name="action" value="doedit" />
|
||||
<input type="hidden" name="type_id" value="[% type.id FILTER none %]" />
|
||||
Type Name: <input name="name" value="[% type.name FILTER none %]" />
|
||||
<input type="hidden" name="type_id" value="[% type.id FILTER html %]" />
|
||||
Type Name: <input name="name" value="[% type.name FILTER html %]" />
|
||||
<input type="submit" value="Commit" />
|
||||
</form>
|
||||
|
||||
|
|
|
@ -47,13 +47,13 @@
|
|||
<table border="0">
|
||||
<tr>
|
||||
<th class="bz_row_header" align="right">Description:</th>
|
||||
<td colspan="3"><input name="description" value="[% attachment.description %]" size="30" /></td>
|
||||
<td colspan="3"><input name="description" value="[% attachment.description FILTER html %]" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="right">Filename:</th>
|
||||
<td><input name="filename" value="[% attachment.filename %]" size="30" /></td>
|
||||
<td><input name="filename" value="[% attachment.filename FILTER html %]" size="30" /></td>
|
||||
<th class="bz_row_header" align="right">Mime Type:</th>
|
||||
<td><input name="mime_type" value="[% attachment.mime_type %]" size="30" /></td>
|
||||
<td><input name="mime_type" value="[% attachment.mime_type FILTER html %]" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<table border="0" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<th align="right" valign="top">Build Name: </th>
|
||||
<td><input size="40" name="name" value="[% build.name FILTER none %]"/></td>
|
||||
<td><input size="40" name="name" value="[% build.name FILTER html %]"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" valign="top">Milestone: </th>
|
||||
|
@ -40,7 +40,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th align="right" valign="top">Build Description: </th>
|
||||
<td> <textarea rows="10" cols="70" name="desc">[% build.description FILTER none %]</textarea><br> </td>
|
||||
<td> <textarea rows="10" cols="70" name="desc">[% build.description FILTER html %]</textarea><br> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="Submit">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<table border="0">
|
||||
<tr>
|
||||
<td valign="top" align="right"><b>Summary</b></td>
|
||||
<td colspan="3"><input name="summary" size="80" value="[% case.summary FILTER none %]"></td>
|
||||
<td colspan="3"><input name="summary" size="80" value="[% case.summary FILTER html %]"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><b>Default Tester</b></td>
|
||||
|
@ -53,9 +53,9 @@
|
|||
|
||||
<tr>
|
||||
<td align="right"><b>Alias</b></td>
|
||||
<td><input name="alias" size="30" value="[% case.alias FILTER none %]"></td>
|
||||
<td><input name="alias" size="30" value="[% case.alias FILTER html %]"></td>
|
||||
<td align="right"><b>Requirement:</b></td>
|
||||
<td><input name="requirement" size="30" value="[% case.requirement FILTER none %]"></td>
|
||||
<td><input name="requirement" size="30" value="[% case.requirement FILTER html %]"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -89,7 +89,7 @@
|
|||
</td>
|
||||
|
||||
<td align="right"><b>Script</b></td>
|
||||
<td><input name="script" id="script" value="[% case.script FILTER none %]"></td>
|
||||
<td><input name="script" id="script" value="[% case.script FILTER html %]"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -101,7 +101,7 @@
|
|||
default => case.category.name } %]
|
||||
</td>
|
||||
<td align="right"><b>Arguments:</b></td>
|
||||
<td><input name="arguments" id="arguments" value="[% case.arguments FILTER none %]"></td>
|
||||
<td><input name="arguments" id="arguments" value="[% case.arguments FILTER html %]"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Add to Runs</th><td colspan="3"><input name="addruns" size="30"></td>
|
||||
|
@ -169,8 +169,8 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <input name="tcdependson" size="30" value="[% case.dependson_list %]"> </td>
|
||||
<td> <input name="tcblocks" size="30" value="[% case.blocked_list %]"> </td>
|
||||
<td> <input name="tcdependson" size="30" value="[% case.dependson_list FILTER html %]"> </td>
|
||||
<td> <input name="tcblocks" size="30" value="[% case.blocked_list FILTER html %]"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
|
@ -179,7 +179,7 @@ found.</b>
|
|||
<tr>
|
||||
<th colspan="3">Add selected cases to the following runs
|
||||
(comma-separated list of ids):</th>
|
||||
<td><input name="addruns" value="[% addrun FILTER none %]" /></td>
|
||||
<td><input name="addruns" value="[% addrun FILTER html %]" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="3">Clone selected cases to the following plans
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
<table border="0" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<th align="right" valign="top">Category Name: </th>
|
||||
<td><input size="40" name="name" value="[% category.name FILTER none %]"/></td>
|
||||
<td><input size="40" name="name" value="[% category.name FILTER html %]"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" valign="top">Category Description: </th>
|
||||
<td> <textarea rows="10" cols="70" name="desc">[% category.description FILTER none %]</textarea><br> </td>
|
||||
<td> <textarea rows="10" cols="70" name="desc">[% category.description FILTER html %]</textarea><br> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="Submit">
|
||||
|
|
|
@ -1,50 +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 Test Runner System.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Maciej Maczynski.
|
||||
# Portions created by Maciej Maczynski are Copyright (C) 2001
|
||||
# Maciej Maczynski. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Greg Hendricks <ghendricks@novell.com>
|
||||
# Michael Hight <mjhight@gmail.com>
|
||||
#%]
|
||||
|
||||
[%# INTERFACE:
|
||||
# ...
|
||||
#%]
|
||||
|
||||
<form method="POST" action="tr_admin_environment.cgi" name="form1" onSubmit="updateCategory();return false;">
|
||||
<h3>Category Administration</h3>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<th class="bz_row_header" align="right">Parent Product:</th>
|
||||
<td>
|
||||
<select name="product" id="product">
|
||||
<option value="[% currentproduct.id %]">[% currentproduct.name %]
|
||||
[% FOREACH p = products %]
|
||||
[% IF currentproduct.id != p.id %]
|
||||
<option value="[% p.id %]">[% p.name %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<th class="bz_row_header" align="right">Category Name:</th>
|
||||
<td><input name="name" id="name" value="[% category.name%]" size="30" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<input name="submit" type="submit" value="Submit">
|
||||
</form>
|
|
@ -1,122 +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 Test Runner System.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Maciej Maczynski.
|
||||
# Portions created by Maciej Maczynski are Copyright (C) 2001
|
||||
# Maciej Maczynski. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Greg Hendricks <ghendricks@novell.com>
|
||||
# Brian Kramer <bkramer@student.neumont.edu>
|
||||
# Michael Hight <mjhight@gmail.com>
|
||||
#%]
|
||||
|
||||
[%# INTERFACE:
|
||||
# ...
|
||||
#%]
|
||||
|
||||
<form method="POST" action="tr_admin_environment.cgi" name="form1" onsubmit="updateElement();return false">
|
||||
<h3>Element Administration</h3>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left" width="50">Change Element Parent</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left" width="100">Product</th>
|
||||
<td>
|
||||
<label for="product_id" accesskey="p"></label>
|
||||
|
||||
[%### Product ###################################################################################### %]
|
||||
<select name="productCombo" id="productCombo" onChange="getCategories(this); ">
|
||||
<option value="[% currentproduct.id %]">[% currentproduct.name %]
|
||||
[% FOREACH product = products %]
|
||||
[% IF currentproduct.id != product.id %]
|
||||
<option value="[% product.id %]" >[% product.name %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left" width="100">Category</th>
|
||||
<td>
|
||||
[%### Category ###################################################################################### %]
|
||||
<select name="categoryCombo" id="categoryCombo" onChange="getElements(this)">
|
||||
<option value="[% currentcategory.env_category_id %]" >[% currentcategory.name %]
|
||||
[% FOREACH category = categories %]
|
||||
[% IF currentcategory.env_category_id != category.name %]
|
||||
<option value="[% category.id %]" >[% category.name %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left" width="100">Parent</th>
|
||||
<td>
|
||||
[%### Element ###################################################################################### %]
|
||||
<select name="elementCombo" id="elementCombo";">
|
||||
[% IF element.parent_id == 0 %]
|
||||
<option value="0">[none]
|
||||
[% FOREACH e = elements %]
|
||||
<option value="[% e.id %]">[% e.name %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<option value="[% currentelement.id %]">[% currentelement.name %]
|
||||
<option value="0">[none]
|
||||
[% FOREACH e = elements %]
|
||||
[% IF currentelement.id != e.id%]
|
||||
<option value="[% e.id %]">[% e.name %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left" width="100">Element Name</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<th class="bz_row_header" align="left">Name:</th>
|
||||
<td><input name="name" id="name" value="[% element.name %]" size="30" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<input name="submit" id="element_submit" type="submit" value="Submit" >
|
||||
</form>
|
|
@ -42,7 +42,7 @@
|
|||
</tr>
|
||||
|
||||
<th class="bz_row_header" align="right">Property Name:</th>
|
||||
<td><input name="name" id="name" value="[% property.name %]" size="30" /></td>
|
||||
<td><input name="name" id="name" value="[% property.name FILTER html %]" size="30" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<form action="tr_import_environment.cgi?action=admin" method="post">
|
||||
<h3><font color="red">Add the above new data?</font></h3>
|
||||
<input type="hidden" name="action" value="admin" />
|
||||
<input type="hidden" name="xml" value="[%- xml %]" />
|
||||
<input type="hidden" name="xml" value="[%- xml FILTER xml %]" />
|
||||
<input type="submit" name="submit" value="Add Now" /> <input type="submit" name="submit" value="Cancel" />
|
||||
</form>
|
||||
[% ELSE %]
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<input type="hidden" name="case_status_id" value="2" />
|
||||
[% END %]
|
||||
[% IF type %]
|
||||
<input type="hidden" name="type" value="[% type FILTER none %]" />
|
||||
<input type="hidden" name="type" value="[% type FILTER html %]" />
|
||||
[% END %]
|
||||
[% IF product %]
|
||||
<input type="hidden" name="bug" value="[% bug_id FILTER none %]" />
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<table width="100%">
|
||||
<tr>
|
||||
<th class="bz_row_header" align="right" width="100">Name</th>
|
||||
<td><input name="plan_name" value="[% plan.name FILTER none %]" style="width:300px;"></td>
|
||||
<td><input name="plan_name" value="[% plan.name FILTER html %]" style="width:300px;"></td>
|
||||
<th class="bz_row_header" align="right" width="100">Product</th>
|
||||
<td>[% IF plan.test_case_count OR plan.test_run_count %]
|
||||
<input type="hidden" name='product_id' value="[% plan.product_id FILTER none %]" />
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<form method="POST" action="tr_show_run.cgi">
|
||||
<input type="HIDDEN" name="action" value="do_clone" />
|
||||
<input type="HIDDEN" name="run_id" value="[% run.id FILTER none %]" />
|
||||
<input type="HIDDEN" name="case_list" value="[% case_list FILTER none %]" />
|
||||
<input type="HIDDEN" name="case_list" value="[% case_list FILTER html %]" />
|
||||
|
||||
<table border="0" cellspacing="4">
|
||||
<tr bgcolor="lightyellow">
|
||||
|
|
|
@ -104,5 +104,5 @@
|
|||
</tr>
|
||||
</table>
|
||||
<div class="submits">
|
||||
<input type="submit" name="action" id="action" value="[% action %]" />
|
||||
<input type="submit" name="action" id="action" value="[% action FILTER html %]" />
|
||||
</div>
|
||||
|
|
|
@ -111,7 +111,7 @@ Create regression test cases for each checked [% terms.bug %]?
|
|||
|
||||
</form>
|
||||
|
||||
<input type="HIDDEN" id="cc" value="[% bugs.size %]"/>
|
||||
<input type="HIDDEN" id="cc" value="[% bugs.size FILTER none %]"/>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче