r522: Adding <body> tags above $header
[bugdar.git] / templates / newattach.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
3 <head>
4 $headinclude
5 <link rel="stylesheet" href="templates/box.css" media="screen" />
6 <title>{@"New Attachment"} - $bug[summary]</title>
7 </head>
8
9 <body>
10
11 $header
12
13 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
14
15 <input name="do" type="hidden" value="insert" />
16 <input name="bugid" type="hidden" value="$bug[bugid]" />
17 <input name="MAX_FILE_SIZE" type="hidden" value="$MAXFILESIZE" />
18
19 <div class="box">
20 <div class="box-head"><lang 1="$bug[bugid]" 2="$bug[summary]">{@"New Attachment for Bug #%1$s %2$s"}</lang></div>
21
22 <div class="box-mid + box-margmod-bottom">
23 <div><input name="attachment" type="file" /></div>
24 <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" /></div>
25 </div>
26
27 <if condition="$show['obsoletes']">
28 <div class="box-mid + box-margmod-bottom">
29 <div><strong>{@"Mark the Following Attachments Obsolete"}:</strong>
30 $obsoletes
31 </div>
32 </div>
33 </if>
34
35 <if condition="$show['addcomment']">
36 <div class="box-mid">
37 <div><strong>{@"Add Comment"}:</strong>
38 <div>
39 <textarea name="comment" rows="10" cols="50" style="width: 100%"></textarea>
40 </div>
41 </div>
42 </div>
43 </if>
44 </div>
45
46 <br />
47
48 <div id="submitrow">
49 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
50 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
51 </div>
52
53 </form>
54
55 $footer