r522: Adding <body> tags above $header
[bugdar.git] / templates / editattach.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>$attachment[filename] - $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="update" />
16 <input name="attachmentid" type="hidden" value="$attachment[attachmentid]" />
17
18 <div class="box">
19 <div class="box-head">
20 <lang 1="$attachment[attachmentid]" 2="$bug[bugid]" 3="$bug[summary]">{@"Attachment #%1$s for Bug #%2$s %3$s"}</lang>
21 </div>
22
23 <div class="box-mid + box-margmod-bottom">
24 <div><strong>{@"Attachment"}:</strong> <a href="viewattachment.php?attachmentid=$attachment[attachmentid]">{@"View"}</a> [$attachment[filename]]</div>
25 </div>
26
27 <div class="box-mid">
28 <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" value="$attachment[description]" /></div>
29 <div><strong>{@"Obsolete"}:</strong> <input name="obsolete" type="checkbox" value="1"<if condition="$attachment['obsolete']"> checked="checked"</if> /></div>
30 </div>
31 </div>
32
33 <br />
34
35 <div id="submitrow">
36 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
37 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
38 </div>
39
40 </form>
41
42 $footer