r498: Changing <div>s drawn with t* classes to use the new box.css model
[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 $header
10
11 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
12
13 <input name="do" type="hidden" value="update" />
14 <input name="attachmentid" type="hidden" value="$attachment[attachmentid]" />
15
16 <div class="box">
17 <div class="box-head">
18 <lang 1="$attachment[attachmentid]" 2="$bug[bugid]" 3="$bug[summary]">{@"Attachment #%1$s for Bug #%2$s %3$s"}</lang>
19 </div>
20
21 <div class="box-mid + box-margmod-bottom">
22 <div><strong>{@"Attachment"}:</strong> <a href="viewattachment.php?attachmentid=$attachment[attachmentid]">{@"View"}</a> [$attachment[filename]]</div>
23 </div>
24
25 <div class="box-mid">
26 <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" value="$attachment[description]" /></div>
27 <div><strong>{@"Obsolete"}:</strong> <input name="obsolete" type="checkbox" value="1"<if condition="$attachment['obsolete']"> checked="checked"</if> /></div>
28 </div>
29 </div>
30
31 <br />
32
33 <div id="submitrow">
34 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
35 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
36 [<a href="attachment.php?do=delete&amp;attachmentid=$attachment[attachmentid]\">{@"Delete"}</a>]
37 </div>
38
39 </form>
40
41 $footer