r366: Change "padding: 2px" to use a stylevar instead
[bugdar.git] / templates / newattach.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
3 <head>
4 $headinclude
5 <title>New Attachment - $bug[summary]</title>
6 </head>
7
8 $header
9
10 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
11
12 <input name="do" type="hidden" value="insert" />
13 <input name="bugid" type="hidden" value="$bug[bugid]" />
14 <input name="MAX_FILE_SIZE" type="hidden" value="$MAXFILESIZE" />
15
16 <div class="tborder" style="padding: 1px">
17 <div class="thead" style="padding: $stylevar[padding]; margin-bottom: 1px">New Attachment for Bug #$bug[bugid] $bug[summary]</div>
18 <div class="tmiddle" style="padding: $stylevar[padding]; margin-bottom: 1px">
19 <div><input name="attachment" type="file" /></div>
20 <div><strong>Description:</strong> <input name="description" type="text" size="35" /></div>
21 </div>
22 <if condition="$show['obsoletes']">
23 <div class="tmiddle" style="padding: $stylevar[padding]; margin-bottom: 1px">
24 <div><strong>Mark the Following Attachments Obsolete:</strong>
25 $obsoletes
26 </div>
27 </div>
28 </if>
29 <if condition="$show['addcomment']">
30 <div class="tmiddle" style="padding: $stylevar[padding]; margin-bottom: 1px">
31 <div><strong>Add Comment:</strong>
32 <div>
33 <textarea name="comment" rows="10" cols="50" style="width: 100%"></textarea>
34 </div>
35 </div>
36 </div>
37 </if>
38 <div class="tfoot" style="padding: $stylevar[padding]">
39 <input name="submit" type="submit" value=" Submit " accesskey="s" />
40 <input name="reset" type="reset" value=" Reset " accesskey="r" />
41 </div>
42 </div>
43
44 </form>
45
46 $footer