/usr/share/qmtest/dtml/field.dtml is in qmtest 2.4.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <dtml-comment><!--
File: field.dtml
Author: Alex Samuel
Date: 2001-06-11
Contents:
Web page for editing a field.
Copyright (C) 2001 CodeSourcery LLC. This material may
be distributed only subject to the terms and conditions set forth in
the Open Publication License (see the file LICENSE.OPL).
--></dtml-comment>
<dtml-var expr="GenerateXMLHeader()">
<dtml-var expr="GenerateHtmlHeader(field.GetTitle())">
<dtml-var expr="GenerateStartBody()">
<h3>
Field
<span class="fieldname"><dtml-var expr="field.GetTitle()"></span>
</h3>
<form name="form"
method="post"
action="<dtml-var expr="submit_request.AsUrl()">"
enctype="multipart/form-data">
<table border="0"
cellpadding="6"
cellspacing="2"
width="100%">
<tr class="heading">
<td colspan="2">
<b>Field Type:</b>
<tt><dtml-var expr="GetFieldType(field)"></tt>
</td>
</tr>
<tr class="heading">
<td colspan="2">
<dtml-var expr="GetDocString(field)">
</td>
</tr>
<tr class="field" valign="top">
<td>
<b>Default Value</b>
<p>The default value for this field.</p>
</td>
<td>
<dtml-var expr="MakeDefaultValueControl(field)">
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr class="heading">
<td colspan="2">
<b>Field Properties</b>
</td>
</tr>
<dtml-in expr="field.property_declarations">
<dtml-let declaration=sequence-item>
<dtml-if expr="property_controls.get(declaration.name, _.None)">
<tr class="field" valign="top">
<td>
<b><dtml-var expr="declaration.name"></b>
<dtml-var expr="web.format_structured_text(declaration.description)">
</td>
<td>
<dtml-var expr="property_controls[declaration.name]">
</td>
</tr>
</dtml-if>
</dtml-let>
</dtml-in>
<tr><td colspan="2"> </td></tr>
<tr class="field" valign="top">
<td>
<b>Additional Properties</b>
<p>Properties provide hints about how this field should be used.
Some properties are used internally by the field or by other parts
of the system.</p>
</td>
<td>
<dtml-var expr="MakeExtraPropertyInputs()">
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr class="form-submit">
<td colspan="2">
<dtml-var expr="web.make_submit_button()">
<dtml-var expr="MakeButton('Cancel',
web.WebRequest('show-issue-class').AsUrl(),
'submit')">
</td>
</tr>
</table>
</form>
<dtml-var expr="GenerateEndBody()">
</html>
<dtml-comment><!--
Local Variables:
mode: xml
indent-tabs-mode: nil
fill-column:72
End:
--></dtml-comment>
|